@oaknational/oak-components 3.8.0 → 3.9.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.
@@ -4631,34 +4631,34 @@ var StyledAccordionButton$2 = styled__default.default(InternalAccordionButton)(t
4631
4631
  * Internal accordion component that handles the accordion logic
4632
4632
  */
4633
4633
  var Accordion$2 = function (_a) {
4634
- var children = _a.children, id = _a.id, selectAllChecked = _a.selectAllChecked, downloadsText = _a.downloadsText, handleToggleSelectAll = _a.handleToggleSelectAll, styleProps = tslib.__rest(_a, ["children", "id", "selectAllChecked", "downloadsText", "handleToggleSelectAll"]);
4634
+ var children = _a.children, id = _a.id, selectAllChecked = _a.selectAllChecked, subheading = _a.subheading, handleToggleSelectAll = _a.handleToggleSelectAll, styleProps = tslib.__rest(_a, ["children", "id", "selectAllChecked", "subheading", "handleToggleSelectAll"]);
4635
4635
  var isOpen = useAccordionContext().isOpen;
4636
4636
  return (React__default.default.createElement(OakFlex, tslib.__assign({ "$bt": "border-solid-s", "$bb": isOpen ? "border-solid-none" : "border-solid-s", "$borderColor": "border-neutral-lighter", "$pv": "spacing-12", "$flexDirection": "column", "$width": "100%" }, styleProps),
4637
4637
  React__default.default.createElement(OakFlex, { "$alignItems": "center", "$width": "100%" },
4638
4638
  React__default.default.createElement(OakFlex, { "$alignItems": "center", "$width": "100%", "$gap": "spacing-16" },
4639
4639
  React__default.default.createElement(OakBox, { id: "select-all-wrapper", "$pa": "spacing-8", onClick: handleToggleSelectAll },
4640
- React__default.default.createElement(OakCheckBox, { onChange: function () { return undefined; }, checked: selectAllChecked, id: "select-all", name: "select-all", value: "", "aria-labelledby": "downloads-accordion-heading" })),
4640
+ React__default.default.createElement(OakCheckBox, { onChange: function () { return undefined; }, checked: selectAllChecked, id: "select-all", name: "select-all", value: "", "aria-labelledby": "resources-accordion-heading" })),
4641
4641
  React__default.default.createElement(StyledAccordionButton$2, { "$justifyContent": "space-between", "$flexGrow": 1, id: id, "$alignItems": "center", "$mr": "spacing-12" },
4642
4642
  React__default.default.createElement(OakFlex, { "$justifyContent": "center", "$alignItems": "center", "$gap": "spacing-12" },
4643
4643
  React__default.default.createElement(OakFlex, { "$flexDirection": "column", "$justifyContent": "center", "$alignItems": "start" },
4644
- React__default.default.createElement(OakHeading, { "$textAlign": "left", id: "downloads-accordion-heading", "$color": "text-primary", "$font": "heading-6", "$mr": "spacing-16", tag: "h2" }, selectAllChecked
4644
+ React__default.default.createElement(OakHeading, { "$textAlign": "left", id: "resources-accordion-heading", "$color": "text-primary", "$font": "heading-6", "$mr": "spacing-16", tag: "h2" }, selectAllChecked
4645
4645
  ? "All resources selected"
4646
4646
  : "Select all resources"),
4647
4647
  React__default.default.createElement(OakBox, { "$pr": "spacing-12" },
4648
- React__default.default.createElement(OakP, { "$textAlign": "left" }, downloadsText)))),
4648
+ React__default.default.createElement(OakP, { "$textAlign": "left" }, subheading)))),
4649
4649
  React__default.default.createElement(OakBox, { className: "focus-outline", "$borderRadius": "border-radius-s", "$pa": "spacing-8" },
4650
- React__default.default.createElement(OakIcon, { className: "chevron-icon", iconName: "chevron-down", "$width": "spacing-32", "$height": "spacing-32", alt: "An arrow to indicate whether the item is open or closed", style: {
4650
+ React__default.default.createElement(OakIcon, { className: "chevron-icon", iconName: "chevron-down", "$width": "spacing-32", "$height": "spacing-32", alt: isOpen ? "Hide all resources" : "Show all resources", style: {
4651
4651
  transform: isOpen ? "rotate(180deg)" : "none",
4652
4652
  transition: "all 0.3s ease 0s",
4653
4653
  } }))))),
4654
- React__default.default.createElement(OakBox, { "$position": "relative", "$overflow": "auto" },
4655
- React__default.default.createElement(InternalAccordionContent, { "$pt": "spacing-20", "aria-labelledby": id }, children))));
4654
+ React__default.default.createElement(OakBox, { "$position": "relative", "$overflow": "visible" },
4655
+ React__default.default.createElement(InternalAccordionContent, { "$pt": "spacing-20", "aria-label": "Resource list" }, children))));
4656
4656
  };
4657
4657
  /**
4658
- * OakDownloadsAccordion
4658
+ * OakResourcesAccordion renamed from OakDownloadsAccordion.
4659
4659
  *
4660
4660
  */
4661
- var OakDownloadsAccordion = function (_a) {
4661
+ var OakResourcesAccordion = function (_a) {
4662
4662
  var _b = _a.initialOpen, initialOpen = _b === void 0 ? false : _b, props = tslib.__rest(_a, ["initialOpen"]);
4663
4663
  return (React__default.default.createElement(InternalAccordionProvider, { isInitialOpen: initialOpen },
4664
4664
  React__default.default.createElement(Accordion$2, tslib.__assign({}, props))));
@@ -6811,21 +6811,23 @@ var MultipleIcons = function (_a) {
6811
6811
  return (React__default.default.createElement(OakFlex, { "$background": "bg-decorative5-main", "$pa": "spacing-12", "$alignItems": "center", "$flexDirection": "column", "$gap": "spacing-16", "$justifyContent": "center" }, iconName.map(function (name, index) { return (React__default.default.createElement(OakFlex, { key: "".concat(name, "-").concat(index), "$position": "relative", "$alignContent": "center", "$alignItems": "center", "$justifyContent": "center" },
6812
6812
  React__default.default.createElement(OakIcon, { iconName: name, "$width": "spacing-40", "$height": "spacing-40", "$mr": index < iconName.length - 1 ? "spacing-8" : "spacing-0" }))); })));
6813
6813
  };
6814
- var LabelContainer = styled__default.default("label")(templateObject_1$j || (templateObject_1$j = tslib.__makeTemplateObject(["\n flex: 1;\n cursor: pointer;\n display: flex;\n"], ["\n flex: 1;\n cursor: pointer;\n display: flex;\n"])));
6815
- var Container = styled__default.default(OakFlex)(templateObject_2$8 || (templateObject_2$8 = tslib.__makeTemplateObject(["\n cursor: pointer;\n\n &:has(input:focus-within) {\n &:focus-visible {\n box-shadow:\n 0px 0px 0px 2px ", ",\n 0px 0px 0px 5px ", ";\n }\n }\n @media (hover: hover) {\n &:hover:not(:disabled, :active) {\n background: ", ";\n }\n }\n"], ["\n cursor: pointer;\n\n &:has(input:focus-within) {\n &:focus-visible {\n box-shadow:\n 0px 0px 0px 2px ", ",\n 0px 0px 0px 5px ", ";\n }\n }\n @media (hover: hover) {\n &:hover:not(:disabled, :active) {\n background: ", ";\n }\n }\n"])), parseColor("bg-decorative5-main"), parseColor("bg-btn-primary-hover"), function (props) {
6814
+ var LabelContainer = styled__default.default("label")(templateObject_1$j || (templateObject_1$j = tslib.__makeTemplateObject(["\n flex: 1;\n cursor: pointer;\n display: flex;\n\n &:has(input:disabled) {\n cursor: default;\n #resource-card-title {\n text-decoration: none;\n }\n }\n"], ["\n flex: 1;\n cursor: pointer;\n display: flex;\n\n &:has(input:disabled) {\n cursor: default;\n #resource-card-title {\n text-decoration: none;\n }\n }\n"])));
6815
+ var Container = styled__default.default(OakFlex)(templateObject_2$8 || (templateObject_2$8 = tslib.__makeTemplateObject(["\n &:has(input:focus-visible) {\n box-shadow:\n ", ",\n ", ";\n }\n\n @media (hover: hover) {\n &:hover:not(:has(input:disabled), :active) {\n background: ", ";\n #resource-card-title {\n text-decoration: underline;\n }\n }\n\n &:active:not(:has(input:disabled)) {\n #resource-card-title {\n text-decoration: underline;\n }\n }\n }\n"], ["\n &:has(input:focus-visible) {\n box-shadow:\n ", ",\n ", ";\n }\n\n @media (hover: hover) {\n &:hover:not(:has(input:disabled), :active) {\n background: ", ";\n #resource-card-title {\n text-decoration: underline;\n }\n }\n\n &:active:not(:has(input:disabled)) {\n #resource-card-title {\n text-decoration: underline;\n }\n }\n }\n"])), parseDropShadow("drop-shadow-centered-lemon"), parseDropShadow("drop-shadow-centered-grey"), function (props) {
6816
6816
  return props.$hoverBackground ? parseColor(props.$hoverBackground) : null;
6817
6817
  });
6818
6818
  /**
6819
- * Download cards present a downloadable resource with metadata and a selectable control.
6819
+ * Resource cards present a downloadable/shareable resource with metadata and a selectable control.
6820
+ * This component has been renamed from OakDownloadCard.
6820
6821
  * ## Usage
6821
- * Use this component when users need to select one or more downloadable resources,
6822
+ * Use this component when users need to select one or more downloadable/shareable resources,
6822
6823
  * such as lesson plans, slide decks, or worksheets.
6823
- * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
6824
+ * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>\
6825
+ * Updated with new standards: <https://www.figma.com/design/xIIH1NUk2IHKxgh5BW5gOd/Test-Oak-Component-Standards?node-id=66-905&p=f&m=dev>
6824
6826
  */
6825
- var OakDownloadCard = function (props) {
6827
+ var OakResourceCard = function (props) {
6826
6828
  var _a;
6827
6829
  var radioContext = React.useContext(RadioContext);
6828
- var title = props.title, fileSize = props.fileSize, format = props.format, iconName = props.iconName, value = props.value, _b = props.disabled, disabled = _b === void 0 ? false : _b, defaultChecked = props.defaultChecked, checked = props.checked, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onHovered = props.onHovered, _c = props.isRadio, isRadio = _c === void 0 ? false : _c, dataTestId = props["data-testid"], rest = tslib.__rest(props, ["title", "fileSize", "format", "iconName", "value", "disabled", "defaultChecked", "checked", "onChange", "onFocus", "onBlur", "onHovered", "isRadio", "data-testid"]);
6830
+ var title = props.title, fileSize = props.fileSize, description = props.description, iconName = props.iconName, value = props.value, _b = props.disabled, disabled = _b === void 0 ? false : _b, defaultChecked = props.defaultChecked, checked = props.checked, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onHovered = props.onHovered, _c = props.isRadio, isRadio = _c === void 0 ? false : _c, dataTestId = props["data-testid"], _d = props.isEditable, isEditable = _d === void 0 ? false : _d, rest = tslib.__rest(props, ["title", "fileSize", "description", "iconName", "value", "disabled", "defaultChecked", "checked", "onChange", "onFocus", "onBlur", "onHovered", "isRadio", "data-testid", "isEditable"]);
6829
6831
  var checkboxSize = "spacing-24";
6830
6832
  var checkedBorderColor = "border-primary";
6831
6833
  var disabledColor = "text-disabled";
@@ -6849,9 +6851,11 @@ var OakDownloadCard = function (props) {
6849
6851
  React__default.default.createElement(OakFlex, { "$alignItems": "stretch", "$flexGrow": 1 },
6850
6852
  isMultipleIcon ? (React__default.default.createElement(MultipleIcons, { iconName: iconName })) : (React__default.default.createElement(SingleIcon, { iconName: iconName })),
6851
6853
  React__default.default.createElement(OakFlex, { "$flexGrow": 1, "$flexDirection": "column", "$justifyContent": "center", "$gap": "spacing-4", "$pv": "spacing-12", "$ph": "spacing-16" },
6852
- React__default.default.createElement(OakBox, { "$font": "body-2-bold" }, title),
6853
- fileSize && React__default.default.createElement(OakBox, { "$font": "body-3" }, fileSize),
6854
- React__default.default.createElement(OakBox, { "$font": "body-3" }, format))),
6854
+ React__default.default.createElement(OakBox, { id: "resource-card-title", "$font": "body-2-bold" }, title),
6855
+ fileSize && (React__default.default.createElement(OakBox, { "$font": "body-3", "$color": "text-subdued" }, fileSize)),
6856
+ React__default.default.createElement(OakFlex, { "$alignItems": "center", "$gap": "spacing-8" },
6857
+ React__default.default.createElement(OakBox, { "$font": "body-3", "$color": "text-subdued" }, Array.isArray(description) ? (React__default.default.createElement(OakUL, { "$pl": "spacing-20" }, description.map(function (item) { return (React__default.default.createElement(OakLI, { key: item }, item)); }))) : (description)),
6858
+ isEditable && (React__default.default.createElement(OakTagFunctional, { "$alignSelf": "flex-end", "$font": "heading-light-7", label: "Editable", "$background": "bg-decorative2-main" }))))),
6855
6859
  React__default.default.createElement(OakFlex, null,
6856
6860
  React__default.default.createElement(OakFlex, { "$alignItems": "center", "$pr": "spacing-16" },
6857
6861
  isRadio && (React__default.default.createElement(InternalRadioWrapper, { checked: isChecked, size: checkboxSize, disabled: anyDisabled, radioBorderColor: checkedBorderColor, internalRadio: React__default.default.createElement(InternalRadio, tslib.__assign({}, rest, { id: props.id, name: (_a = props.name) !== null && _a !== void 0 ? _a : radioContext.name, value: value, disabled: anyDisabled, onHovered: onHovered, onChange: handleRadioChange, onFocus: onFocus, onBlur: onBlur, defaultChecked: defaultChecked, checked: radioChecked })) })),
@@ -7851,8 +7855,6 @@ exports.OakCookieConsentContext = OakCookieConsentContext;
7851
7855
  exports.OakCookieConsentProvider = OakCookieConsentProvider;
7852
7856
  exports.OakCookieSettingsModal = OakCookieSettingsModal;
7853
7857
  exports.OakCopyLinkButton = OakCopyLinkButton;
7854
- exports.OakDownloadCard = OakDownloadCard;
7855
- exports.OakDownloadsAccordion = OakDownloadsAccordion;
7856
7858
  exports.OakDownloadsJourneyChildSubjectTierSelector = OakDownloadsJourneyChildSubjectTierSelector;
7857
7859
  exports.OakDragAndDropInstructions = OakDragAndDropInstructions;
7858
7860
  exports.OakDraggable = OakDraggable;
@@ -7955,6 +7957,8 @@ exports.OakRadioAsButton = OakRadioAsButton;
7955
7957
  exports.OakRadioButton = OakRadioButton;
7956
7958
  exports.OakRadioGroup = OakRadioGroup;
7957
7959
  exports.OakRadioTile = OakRadioTile;
7960
+ exports.OakResourceCard = OakResourceCard;
7961
+ exports.OakResourcesAccordion = OakResourcesAccordion;
7958
7962
  exports.OakRoundIcon = OakRoundIcon;
7959
7963
  exports.OakSaveCount = OakSaveCount;
7960
7964
  exports.OakScaleImageButton = OakScaleImageButton;
@@ -3547,11 +3547,11 @@ type OakBreadcrumbsProps = {
3547
3547
  */
3548
3548
  declare const OakBreadcrumbs: ({ breadcrumbs, }: Readonly<OakBreadcrumbsProps>) => React$1.JSX.Element;
3549
3549
 
3550
- type OakDownloadsAccordionProps = {
3550
+ type OakResourcesAccordionProps = {
3551
3551
  /**
3552
3552
  * Text to render in the subheading
3553
3553
  */
3554
- downloadsText: string;
3554
+ subheading: string;
3555
3555
  /**
3556
3556
  * Event handler for select all checkbox
3557
3557
  */
@@ -3574,10 +3574,10 @@ type OakDownloadsAccordionProps = {
3574
3574
  initialOpen?: boolean;
3575
3575
  } & FlexStyleProps & OakBoxProps & ColorStyleProps;
3576
3576
  /**
3577
- * OakDownloadsAccordion
3577
+ * OakResourcesAccordion renamed from OakDownloadsAccordion.
3578
3578
  *
3579
3579
  */
3580
- declare const OakDownloadsAccordion: ({ initialOpen, ...props }: OakDownloadsAccordionProps) => React$1.JSX.Element;
3580
+ declare const OakResourcesAccordion: ({ initialOpen, ...props }: OakResourcesAccordionProps) => React$1.JSX.Element;
3581
3581
 
3582
3582
  type OakInlineRegistrationBannerProps = {
3583
3583
  onSubmit: (email: string) => Promise<string | undefined>;
@@ -4387,21 +4387,21 @@ type OakCopyLinkButtonProps = {
4387
4387
  */
4388
4388
  declare const OakCopyLinkButton: ({ href }: OakCopyLinkButtonProps) => React$1.JSX.Element;
4389
4389
 
4390
- type OakDownloadCardProps = BaseCheckBoxProps & {
4390
+ type OakResourceCardProps = BaseCheckBoxProps & {
4391
4391
  /**
4392
- * The primary title content for the download.
4392
+ * The primary title content for the resource.
4393
4393
  */
4394
- title: React$1.ReactNode;
4394
+ title: string;
4395
4395
  /**
4396
4396
  * Optional file size content shown beneath the title.
4397
4397
  */
4398
- fileSize?: React$1.ReactNode;
4398
+ fileSize?: string;
4399
4399
  /**
4400
- * The file format or secondary metadata shown beneath the title.
4400
+ * The file format(s) or description shown beneath the title.
4401
4401
  */
4402
- format: React$1.ReactNode;
4402
+ description: string | string[];
4403
4403
  /**
4404
- * The icon used to represent the download type.
4404
+ * The icon used to represent the resource type.
4405
4405
  */
4406
4406
  iconName: IconName | IconName[];
4407
4407
  /**
@@ -4410,15 +4410,23 @@ type OakDownloadCardProps = BaseCheckBoxProps & {
4410
4410
  * @default false
4411
4411
  */
4412
4412
  isRadio?: boolean;
4413
+ /**
4414
+ * If true, adds an informational `Editable` tag to the resource card.
4415
+ *
4416
+ * @default false
4417
+ */
4418
+ isEditable?: boolean;
4413
4419
  };
4414
4420
  /**
4415
- * Download cards present a downloadable resource with metadata and a selectable control.
4421
+ * Resource cards present a downloadable/shareable resource with metadata and a selectable control.
4422
+ * This component has been renamed from OakDownloadCard.
4416
4423
  * ## Usage
4417
- * Use this component when users need to select one or more downloadable resources,
4424
+ * Use this component when users need to select one or more downloadable/shareable resources,
4418
4425
  * such as lesson plans, slide decks, or worksheets.
4419
- * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
4426
+ * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>\
4427
+ * Updated with new standards: <https://www.figma.com/design/xIIH1NUk2IHKxgh5BW5gOd/Test-Oak-Component-Standards?node-id=66-905&p=f&m=dev>
4420
4428
  */
4421
- declare const OakDownloadCard: (props: OakDownloadCardProps) => React$1.JSX.Element;
4429
+ declare const OakResourceCard: (props: OakResourceCardProps) => React$1.JSX.Element;
4422
4430
 
4423
4431
  /**
4424
4432
  * Displays instructions for drag and drop functionality
@@ -5320,5 +5328,5 @@ declare const useIsScrolled: () => {
5320
5328
 
5321
5329
  declare const useBreakpoint: () => Device;
5322
5330
 
5323
- export { DropdownContext, HeadingTagComponent, IconDown, IconUp, OakAccordion, OakAnchorTarget, OakAspectRatio, OakBackLink, OakBasicAccordion, OakBox, OakBreadcrumbs, OakBulletList, OakButtonAsRadioGroup, OakButtonWithDropdown, OakButtonWithDropdownProvider, OakCaptionCard, OakCaptionSearch, OakCard, OakCardHeader, OakCardWithHandDrawnBorder, OakCarousel, OakCheckBox, OakCloseButton, OakCloudinaryConfigProvider, OakCloudinaryImage, OakCodeRenderer, OakCollapsibleContent, OakCookieBanner, OakCookieConsent, OakCookieConsentContext, OakCookieConsentProvider, OakCookieSettingsModal, OakCopyLinkButton, OakDownloadCard, OakDownloadsAccordion, OakDownloadsJourneyChildSubjectTierSelector, OakDragAndDropInstructions, OakDraggable, OakDraggableFeedback, OakDroppable, OakFieldError, OakFieldset, OakFilterDrawer, OakFlex, OakFocusIndicator, OakForm, OakFormInput, OakFormInputWithLabels, OakGlobalStyle, OakGrid, OakGridArea, OakHandDrawnCard, OakHandDrawnCardWithIcon, OakHandDrawnFocusUnderline, OakHandDrawnHR, OakHeaderHero, OakHeading, OakHintButton, OakHomepageTabButton, OakHoverLink, OakIcon, OakImage, OakInfo, OakInfoButton, OakInformativeModal, OakInformativeModalBody, OakInformativeModalBorderColor, OakInformativeModalFooter, OakInlineBanner, OakInlineRegistrationBanner, OakJauntyAngleLabel, OakKbd, OakLI, OakLabel, OakLeftAlignedButton, OakLessonBottomNav, OakLessonInfoCard, OakLessonLayout, OakLessonNavItem, OakLessonReviewIntroVideo, OakLessonReviewItem, OakLessonReviewQuiz, OakLessonTopNav, OakLessonVideoTranscript, OakLink, OakLinkCard, OakListItem, OakLoadingSpinner, OakMaxWidth, OakMediaClip, OakMediaClipList, OakMediaClipListAccordion, OakMediaClipStackListItem, OakModalCenter, OakModalCenterBody, OakMultilineText, OakOL, OakOptGroup, OakOption, OakOutlineAccordion, OakP, OakPagination, OakPrimaryButton, OakPrimaryInvertedButton, OakPrimaryNav, OakPrimaryNavItem, OakPromoTag, OakPupilJourneyContentGuidance, OakPupilJourneyHeader, OakPupilJourneyLayout, OakPupilJourneyList, OakPupilJourneyListCounter, OakPupilJourneyListItem, OakPupilJourneyListItemSubheading, OakPupilJourneyOptionalityButton, OakPupilJourneyOptionalityItem, OakPupilJourneyProgrammeOptions, OakPupilJourneyUnitsFilter, OakPupilJourneyYearButton, OakQuizCheckBox, OakQuizCounter, OakQuizFeedback, OakQuizHint, OakQuizMatch, OakQuizMatchItemId, OakQuizOrder, OakQuizOrderitemId, OakQuizPrintableHeader, OakQuizPrintableSubHeader, OakQuizRadioButton, OakQuizResultItem, OakQuizTextInput, OakQuote, OakRadioAsButton, OakRadioButton, OakRadioGroup, OakRadioTile, OakRoundIcon, OakSaveCount, OakScaleImageButton, OakScreenReader, OakSearchFilterCheckBox, OakSecondaryButton, OakSecondaryButtonAsRadio, OakSecondaryButtonWithDropdown, OakSecondaryLink, OakSelect, OakSideMenuNav, OakSideMenuNavLink, OakSignLanguageButton, OakSmallPrimaryButton, OakSmallPrimaryInvertedButton, OakSmallSecondaryButton, OakSmallSecondaryButtonWithDropdown, OakSmallSecondaryToggleButton, OakSmallTertiaryInvertedButton, OakSpan, OakStaticMessageCard, OakSubjectIcon, OakSubjectIconButton, OakSvg, OakTabs, OakTagFunctional, OakTeacherNotesInline, OakTeacherNotesModal, OakTertiaryButton, OakTertiaryInvertedButton, OakTertiaryOLNav, OakTextArea, OakTextInput, OakThemeProvider, OakTimer, OakToast, OakTooltip, OakTypography, OakUL, OakUnitListItem, OakUnitListOptionalityItem, OakVideo, OakVideoTranscript, RadioContext, ReviewItemContainer, ReviewItemTitleSection, StyledMediaClipImage, UnstyledChevronAccordion, announcements, bannerTypes, bannerVariants, colorSchemes, formatTimeCode, generateOakIconURL, getBackgroundUrlForSection, getBreakpoint, getDefaultContextState, getMediaQuery, installMockIntersectionObserver, installMockResizeObserver, isTileItem, isValidIconName, lessonSectionNames, oakAllSpacingTokens, oakBorderRadiusTokens, oakBorderWidthTokens, oakBoxCss, oakColorTokens, oakDarkTheme, oakDefaultTheme, oakDropShadowTokens, oakFlexCss, oakFontSizeTokens, oakFontTokens, oakHeadingTags, oakIconNames, oakLIDefaults, oakOpacityTokens, oakPlaceholder, oakSpaceBetweenTokens, oakTransitionTokens, oakUiRoleTokens, oakZIndexTokens, parseBorder, parseBorderRadius, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
5324
- export type { BannerTypes, BreakpointName, Consent, Device, InternalQuizResultItemProps, LessonSectionName$1 as LessonSectionName, MenuItemProps, OakAccordionProps, OakAllSpacingToken, OakAnchorTargetProps, OakAspectRatioProps, OakBackLinkProps, OakBasicAccordionProps, OakBorderRadiusToken, OakBorderWidthToken, OakBoxProps, OakBreadcrumb, OakBreadcrumbWithoutHref, OakBreadcrumbsProps, OakBulletListProps, OakButtonWithDropdownProps, OakCaptionCardProps, OakCaptionSearchProps, OakCardHeaderprops, OakCardProps, OakCardWithHandDrawnBorderProps, OakCarouselProps, OakCheckBoxProps, OakCloseButtonProps, OakCloudinaryImageProps, OakCodeRendererProps, OakCollapsibleContentProps, OakColorFilterToken, OakColorToken, OakCombinedSpacingToken, OakCookieBannerProps, OakCookieConsentProps, OakCookieSettingsModalProps, OakDownloadCardProps, OakDownloadsAccordionProps, OakDownloadsJourneyChildSubjectTierSelectorProps, OakDropShadowToken, OakDroppableProps, OakFieldErrorProps, OakFieldsetProps, OakFlexProps, OakFocusIndicatorProps, OakFontSizeToken, OakFontToken, OakFormInputProps, OakFormInputWithLabelsProps, OakFormProps, OakGridAreaProps, OakGridProps, OakHandDrawnBoxWithIconProps, OakHandDrawnCardProps, OakHandDrawnFocusUnderlineProps, OakHandDrawnHRProps, OakHeaderHeroProps, OakHeadingProps, OakHeadingTag, OakHintButtonProps, OakHomepageTabButtonProps, OakHoverLinkProps, OakIconName, OakIconProps, OakImageProps, OakInfoButtonProps, OakInfoCardProps, OakInfoProps, OakInformativeModalBodyProps, OakInformativeModalCloseAction, OakInformativeModalFooterProps, OakInformativeModalProps, OakInlineBannerProps, OakInlineBannerTypes, OakInlineBannerVariantProps, OakInlineBannerVariants, OakInlineRegistrationBannerProps, OakJauntyAngleLabelProps, OakKbdProps, OakLIProps, OakLabelProps, OakLeftAlignedButtonProps, OakLessonBottomNavProps, OakLessonLayoutProps, OakLessonNavItemProps, OakLessonReviewIntroVideoProps, OakLessonReviewItemProps, OakLessonTopNavProps, OakLinkCardProps, OakLinkProps, OakListItemProps, OakLoadingSpinnerProps, OakMediaClipListProps, OakMediaClipProps, OakMediaClipStackListItemProps, OakModalCenterBodyProps, OakModalCenterProps, OakMultilineTextProps, OakOLProps, OakOpacityToken, OakOptGroupProps, OakOptionProps, OakOutlineAccordionProps, OakPProps, OakPaginationProps, OakPrimaryButtonProps, OakPrimaryInvertedButtonProps, OakPrimaryNavItemProps, OakPrimaryNavProps, OakPromoTagProps, OakPupilContentGuidance, OakPupilJourneyContentGuidanceProps, OakPupilJourneyHeaderProps, OakPupilJourneyLayoutProps, OakPupilJourneyListItemSubheadingProps, OakPupilJourneyListProps, OakPupilJourneyOptionalityItemProps, OakPupilJourneyProgrammeOptionsProps, OakPupilJourneyUnitsFilterProps, OakPupilJourneyYearButtonProps, OakQuizCheckBoxProps, OakQuizCounterProps, OakQuizFeedbackProps, OakQuizHintProps, OakQuizMatchProps, OakQuizOrderProps, OakQuizPrintableHeaderProps, OakQuizPrintableSubHeaderProps, OakQuizRadioButtonProps, OakQuoteProps, OakRadioAsButtonProps, OakRadioGroupProps, OakRadioTileProps, OakRoundIconProps, OakSaveCountProps, OakScaleImageButtonProps, OakSearchFilterCheckBoxProps, OakSecondaryButtonAsRadioProps, OakSecondaryButtonProps, OakSecondaryButtonWithDropdownProps, OakSecondaryLinkProps, OakSelectProps, OakSideMenuNavLinkProps, OakSideMenuNavProps, OakSmallPrimaryButtonProps, OakSmallPrimaryInvertedButtonProps, OakSmallSecondaryButtonProps, OakSmallSecondaryButtonWithDropdownProps, OakSmallSecondaryToggleButtonProps, OakSmallTertiaryInvertedButtonProps, OakSolidBorderAccordionProps, OakSpaceBetweenToken, OakSpanProps, OakSubjectIconButtonProps, OakSubjectIconProps, OakSvgNames, OakSvgProps, OakTabsProps, OakTagFunctionalProps, OakTeacherNotesInlineProps, OakTeacherNotesModalProps, OakTertiaryOLNavProps, OakTextAreaProps, OakTextInputProps, OakTheme, OakThemeProviderProps, OakTimerProps, OakToastProps, OakTooltipProps, OakTransitionToken, OakTypographyProps, OakULProps, OakUiRoleToken, OakUnitListItemProps, OakUnitListOptionalityItemProps, OakVideoProps, OakZIndexToken, Phase$1 as Phase, PolicyConsent, PupilJourneySectionName, Subject, Tier, TileItem, UnstyledChevronAccordionProps };
5331
+ export { DropdownContext, HeadingTagComponent, IconDown, IconUp, OakAccordion, OakAnchorTarget, OakAspectRatio, OakBackLink, OakBasicAccordion, OakBox, OakBreadcrumbs, OakBulletList, OakButtonAsRadioGroup, OakButtonWithDropdown, OakButtonWithDropdownProvider, OakCaptionCard, OakCaptionSearch, OakCard, OakCardHeader, OakCardWithHandDrawnBorder, OakCarousel, OakCheckBox, OakCloseButton, OakCloudinaryConfigProvider, OakCloudinaryImage, OakCodeRenderer, OakCollapsibleContent, OakCookieBanner, OakCookieConsent, OakCookieConsentContext, OakCookieConsentProvider, OakCookieSettingsModal, OakCopyLinkButton, OakDownloadsJourneyChildSubjectTierSelector, OakDragAndDropInstructions, OakDraggable, OakDraggableFeedback, OakDroppable, OakFieldError, OakFieldset, OakFilterDrawer, OakFlex, OakFocusIndicator, OakForm, OakFormInput, OakFormInputWithLabels, OakGlobalStyle, OakGrid, OakGridArea, OakHandDrawnCard, OakHandDrawnCardWithIcon, OakHandDrawnFocusUnderline, OakHandDrawnHR, OakHeaderHero, OakHeading, OakHintButton, OakHomepageTabButton, OakHoverLink, OakIcon, OakImage, OakInfo, OakInfoButton, OakInformativeModal, OakInformativeModalBody, OakInformativeModalBorderColor, OakInformativeModalFooter, OakInlineBanner, OakInlineRegistrationBanner, OakJauntyAngleLabel, OakKbd, OakLI, OakLabel, OakLeftAlignedButton, OakLessonBottomNav, OakLessonInfoCard, OakLessonLayout, OakLessonNavItem, OakLessonReviewIntroVideo, OakLessonReviewItem, OakLessonReviewQuiz, OakLessonTopNav, OakLessonVideoTranscript, OakLink, OakLinkCard, OakListItem, OakLoadingSpinner, OakMaxWidth, OakMediaClip, OakMediaClipList, OakMediaClipListAccordion, OakMediaClipStackListItem, OakModalCenter, OakModalCenterBody, OakMultilineText, OakOL, OakOptGroup, OakOption, OakOutlineAccordion, OakP, OakPagination, OakPrimaryButton, OakPrimaryInvertedButton, OakPrimaryNav, OakPrimaryNavItem, OakPromoTag, OakPupilJourneyContentGuidance, OakPupilJourneyHeader, OakPupilJourneyLayout, OakPupilJourneyList, OakPupilJourneyListCounter, OakPupilJourneyListItem, OakPupilJourneyListItemSubheading, OakPupilJourneyOptionalityButton, OakPupilJourneyOptionalityItem, OakPupilJourneyProgrammeOptions, OakPupilJourneyUnitsFilter, OakPupilJourneyYearButton, OakQuizCheckBox, OakQuizCounter, OakQuizFeedback, OakQuizHint, OakQuizMatch, OakQuizMatchItemId, OakQuizOrder, OakQuizOrderitemId, OakQuizPrintableHeader, OakQuizPrintableSubHeader, OakQuizRadioButton, OakQuizResultItem, OakQuizTextInput, OakQuote, OakRadioAsButton, OakRadioButton, OakRadioGroup, OakRadioTile, OakResourceCard, OakResourcesAccordion, OakRoundIcon, OakSaveCount, OakScaleImageButton, OakScreenReader, OakSearchFilterCheckBox, OakSecondaryButton, OakSecondaryButtonAsRadio, OakSecondaryButtonWithDropdown, OakSecondaryLink, OakSelect, OakSideMenuNav, OakSideMenuNavLink, OakSignLanguageButton, OakSmallPrimaryButton, OakSmallPrimaryInvertedButton, OakSmallSecondaryButton, OakSmallSecondaryButtonWithDropdown, OakSmallSecondaryToggleButton, OakSmallTertiaryInvertedButton, OakSpan, OakStaticMessageCard, OakSubjectIcon, OakSubjectIconButton, OakSvg, OakTabs, OakTagFunctional, OakTeacherNotesInline, OakTeacherNotesModal, OakTertiaryButton, OakTertiaryInvertedButton, OakTertiaryOLNav, OakTextArea, OakTextInput, OakThemeProvider, OakTimer, OakToast, OakTooltip, OakTypography, OakUL, OakUnitListItem, OakUnitListOptionalityItem, OakVideo, OakVideoTranscript, RadioContext, ReviewItemContainer, ReviewItemTitleSection, StyledMediaClipImage, UnstyledChevronAccordion, announcements, bannerTypes, bannerVariants, colorSchemes, formatTimeCode, generateOakIconURL, getBackgroundUrlForSection, getBreakpoint, getDefaultContextState, getMediaQuery, installMockIntersectionObserver, installMockResizeObserver, isTileItem, isValidIconName, lessonSectionNames, oakAllSpacingTokens, oakBorderRadiusTokens, oakBorderWidthTokens, oakBoxCss, oakColorTokens, oakDarkTheme, oakDefaultTheme, oakDropShadowTokens, oakFlexCss, oakFontSizeTokens, oakFontTokens, oakHeadingTags, oakIconNames, oakLIDefaults, oakOpacityTokens, oakPlaceholder, oakSpaceBetweenTokens, oakTransitionTokens, oakUiRoleTokens, oakZIndexTokens, parseBorder, parseBorderRadius, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
5332
+ export type { BannerTypes, BreakpointName, Consent, Device, InternalQuizResultItemProps, LessonSectionName$1 as LessonSectionName, MenuItemProps, OakAccordionProps, OakAllSpacingToken, OakAnchorTargetProps, OakAspectRatioProps, OakBackLinkProps, OakBasicAccordionProps, OakBorderRadiusToken, OakBorderWidthToken, OakBoxProps, OakBreadcrumb, OakBreadcrumbWithoutHref, OakBreadcrumbsProps, OakBulletListProps, OakButtonWithDropdownProps, OakCaptionCardProps, OakCaptionSearchProps, OakCardHeaderprops, OakCardProps, OakCardWithHandDrawnBorderProps, OakCarouselProps, OakCheckBoxProps, OakCloseButtonProps, OakCloudinaryImageProps, OakCodeRendererProps, OakCollapsibleContentProps, OakColorFilterToken, OakColorToken, OakCombinedSpacingToken, OakCookieBannerProps, OakCookieConsentProps, OakCookieSettingsModalProps, OakDownloadsJourneyChildSubjectTierSelectorProps, OakDropShadowToken, OakDroppableProps, OakFieldErrorProps, OakFieldsetProps, OakFlexProps, OakFocusIndicatorProps, OakFontSizeToken, OakFontToken, OakFormInputProps, OakFormInputWithLabelsProps, OakFormProps, OakGridAreaProps, OakGridProps, OakHandDrawnBoxWithIconProps, OakHandDrawnCardProps, OakHandDrawnFocusUnderlineProps, OakHandDrawnHRProps, OakHeaderHeroProps, OakHeadingProps, OakHeadingTag, OakHintButtonProps, OakHomepageTabButtonProps, OakHoverLinkProps, OakIconName, OakIconProps, OakImageProps, OakInfoButtonProps, OakInfoCardProps, OakInfoProps, OakInformativeModalBodyProps, OakInformativeModalCloseAction, OakInformativeModalFooterProps, OakInformativeModalProps, OakInlineBannerProps, OakInlineBannerTypes, OakInlineBannerVariantProps, OakInlineBannerVariants, OakInlineRegistrationBannerProps, OakJauntyAngleLabelProps, OakKbdProps, OakLIProps, OakLabelProps, OakLeftAlignedButtonProps, OakLessonBottomNavProps, OakLessonLayoutProps, OakLessonNavItemProps, OakLessonReviewIntroVideoProps, OakLessonReviewItemProps, OakLessonTopNavProps, OakLinkCardProps, OakLinkProps, OakListItemProps, OakLoadingSpinnerProps, OakMediaClipListProps, OakMediaClipProps, OakMediaClipStackListItemProps, OakModalCenterBodyProps, OakModalCenterProps, OakMultilineTextProps, OakOLProps, OakOpacityToken, OakOptGroupProps, OakOptionProps, OakOutlineAccordionProps, OakPProps, OakPaginationProps, OakPrimaryButtonProps, OakPrimaryInvertedButtonProps, OakPrimaryNavItemProps, OakPrimaryNavProps, OakPromoTagProps, OakPupilContentGuidance, OakPupilJourneyContentGuidanceProps, OakPupilJourneyHeaderProps, OakPupilJourneyLayoutProps, OakPupilJourneyListItemSubheadingProps, OakPupilJourneyListProps, OakPupilJourneyOptionalityItemProps, OakPupilJourneyProgrammeOptionsProps, OakPupilJourneyUnitsFilterProps, OakPupilJourneyYearButtonProps, OakQuizCheckBoxProps, OakQuizCounterProps, OakQuizFeedbackProps, OakQuizHintProps, OakQuizMatchProps, OakQuizOrderProps, OakQuizPrintableHeaderProps, OakQuizPrintableSubHeaderProps, OakQuizRadioButtonProps, OakQuoteProps, OakRadioAsButtonProps, OakRadioGroupProps, OakRadioTileProps, OakResourceCardProps, OakResourcesAccordionProps, OakRoundIconProps, OakSaveCountProps, OakScaleImageButtonProps, OakSearchFilterCheckBoxProps, OakSecondaryButtonAsRadioProps, OakSecondaryButtonProps, OakSecondaryButtonWithDropdownProps, OakSecondaryLinkProps, OakSelectProps, OakSideMenuNavLinkProps, OakSideMenuNavProps, OakSmallPrimaryButtonProps, OakSmallPrimaryInvertedButtonProps, OakSmallSecondaryButtonProps, OakSmallSecondaryButtonWithDropdownProps, OakSmallSecondaryToggleButtonProps, OakSmallTertiaryInvertedButtonProps, OakSolidBorderAccordionProps, OakSpaceBetweenToken, OakSpanProps, OakSubjectIconButtonProps, OakSubjectIconProps, OakSvgNames, OakSvgProps, OakTabsProps, OakTagFunctionalProps, OakTeacherNotesInlineProps, OakTeacherNotesModalProps, OakTertiaryOLNavProps, OakTextAreaProps, OakTextInputProps, OakTheme, OakThemeProviderProps, OakTimerProps, OakToastProps, OakTooltipProps, OakTransitionToken, OakTypographyProps, OakULProps, OakUiRoleToken, OakUnitListItemProps, OakUnitListOptionalityItemProps, OakVideoProps, OakZIndexToken, Phase$1 as Phase, PolicyConsent, PupilJourneySectionName, Subject, Tier, TileItem, UnstyledChevronAccordionProps };
@@ -9,7 +9,19 @@ import { InternalRadioWrapper } from '../../internal-components/InternalRadioWra
9
9
  import { OakIcon } from '../../images-and-icons/OakIcon/OakIcon.js';
10
10
  import { OakBox } from '../../layout-and-structure/OakBox/OakBox.js';
11
11
  import { OakFlex } from '../../layout-and-structure/OakFlex/OakFlex.js';
12
+ import '../../../styles/theme/color.js';
13
+ import '../../../styles/theme/typography.js';
12
14
  import { parseColor } from '../../../styles/helpers/parseColor.js';
15
+ import { parseDropShadow } from '../../../styles/helpers/parseDropShadow.js';
16
+ import '../../../styles/utils/responsiveStyle.js';
17
+ import { OakTagFunctional } from '../../messaging-and-feedback/OakTagFunctional/OakTagFunctional.js';
18
+ import '../../typography/OakHeading/OakHeading.js';
19
+ import { OakLI } from '../../typography/OakLI/OakLI.js';
20
+ import '../../typography/OakOL/OakOL.js';
21
+ import '../../typography/OakP/OakP.js';
22
+ import '../../typography/OakSpan/OakSpan.js';
23
+ import '../../typography/OakTypography/OakTypography.js';
24
+ import { OakUL } from '../../typography/OakUL/OakUL.js';
13
25
 
14
26
  var SingleIcon = function (_a) {
15
27
  var iconName = _a.iconName;
@@ -21,21 +33,23 @@ var MultipleIcons = function (_a) {
21
33
  return (React.createElement(OakFlex, { "$background": "bg-decorative5-main", "$pa": "spacing-12", "$alignItems": "center", "$flexDirection": "column", "$gap": "spacing-16", "$justifyContent": "center" }, iconName.map(function (name, index) { return (React.createElement(OakFlex, { key: "".concat(name, "-").concat(index), "$position": "relative", "$alignContent": "center", "$alignItems": "center", "$justifyContent": "center" },
22
34
  React.createElement(OakIcon, { iconName: name, "$width": "spacing-40", "$height": "spacing-40", "$mr": index < iconName.length - 1 ? "spacing-8" : "spacing-0" }))); })));
23
35
  };
24
- var LabelContainer = styled("label")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex: 1;\n cursor: pointer;\n display: flex;\n"], ["\n flex: 1;\n cursor: pointer;\n display: flex;\n"])));
25
- var Container = styled(OakFlex)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n\n &:has(input:focus-within) {\n &:focus-visible {\n box-shadow:\n 0px 0px 0px 2px ", ",\n 0px 0px 0px 5px ", ";\n }\n }\n @media (hover: hover) {\n &:hover:not(:disabled, :active) {\n background: ", ";\n }\n }\n"], ["\n cursor: pointer;\n\n &:has(input:focus-within) {\n &:focus-visible {\n box-shadow:\n 0px 0px 0px 2px ", ",\n 0px 0px 0px 5px ", ";\n }\n }\n @media (hover: hover) {\n &:hover:not(:disabled, :active) {\n background: ", ";\n }\n }\n"])), parseColor("bg-decorative5-main"), parseColor("bg-btn-primary-hover"), function (props) {
36
+ var LabelContainer = styled("label")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex: 1;\n cursor: pointer;\n display: flex;\n\n &:has(input:disabled) {\n cursor: default;\n #resource-card-title {\n text-decoration: none;\n }\n }\n"], ["\n flex: 1;\n cursor: pointer;\n display: flex;\n\n &:has(input:disabled) {\n cursor: default;\n #resource-card-title {\n text-decoration: none;\n }\n }\n"])));
37
+ var Container = styled(OakFlex)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n &:has(input:focus-visible) {\n box-shadow:\n ", ",\n ", ";\n }\n\n @media (hover: hover) {\n &:hover:not(:has(input:disabled), :active) {\n background: ", ";\n #resource-card-title {\n text-decoration: underline;\n }\n }\n\n &:active:not(:has(input:disabled)) {\n #resource-card-title {\n text-decoration: underline;\n }\n }\n }\n"], ["\n &:has(input:focus-visible) {\n box-shadow:\n ", ",\n ", ";\n }\n\n @media (hover: hover) {\n &:hover:not(:has(input:disabled), :active) {\n background: ", ";\n #resource-card-title {\n text-decoration: underline;\n }\n }\n\n &:active:not(:has(input:disabled)) {\n #resource-card-title {\n text-decoration: underline;\n }\n }\n }\n"])), parseDropShadow("drop-shadow-centered-lemon"), parseDropShadow("drop-shadow-centered-grey"), function (props) {
26
38
  return props.$hoverBackground ? parseColor(props.$hoverBackground) : null;
27
39
  });
28
40
  /**
29
- * Download cards present a downloadable resource with metadata and a selectable control.
41
+ * Resource cards present a downloadable/shareable resource with metadata and a selectable control.
42
+ * This component has been renamed from OakDownloadCard.
30
43
  * ## Usage
31
- * Use this component when users need to select one or more downloadable resources,
44
+ * Use this component when users need to select one or more downloadable/shareable resources,
32
45
  * such as lesson plans, slide decks, or worksheets.
33
- * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
46
+ * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>\
47
+ * Updated with new standards: <https://www.figma.com/design/xIIH1NUk2IHKxgh5BW5gOd/Test-Oak-Component-Standards?node-id=66-905&p=f&m=dev>
34
48
  */
35
- var OakDownloadCard = function (props) {
49
+ var OakResourceCard = function (props) {
36
50
  var _a;
37
51
  var radioContext = useContext(RadioContext);
38
- var title = props.title, fileSize = props.fileSize, format = props.format, iconName = props.iconName, value = props.value, _b = props.disabled, disabled = _b === void 0 ? false : _b, defaultChecked = props.defaultChecked, checked = props.checked, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onHovered = props.onHovered, _c = props.isRadio, isRadio = _c === void 0 ? false : _c, dataTestId = props["data-testid"], rest = __rest(props, ["title", "fileSize", "format", "iconName", "value", "disabled", "defaultChecked", "checked", "onChange", "onFocus", "onBlur", "onHovered", "isRadio", "data-testid"]);
52
+ var title = props.title, fileSize = props.fileSize, description = props.description, iconName = props.iconName, value = props.value, _b = props.disabled, disabled = _b === void 0 ? false : _b, defaultChecked = props.defaultChecked, checked = props.checked, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onHovered = props.onHovered, _c = props.isRadio, isRadio = _c === void 0 ? false : _c, dataTestId = props["data-testid"], _d = props.isEditable, isEditable = _d === void 0 ? false : _d, rest = __rest(props, ["title", "fileSize", "description", "iconName", "value", "disabled", "defaultChecked", "checked", "onChange", "onFocus", "onBlur", "onHovered", "isRadio", "data-testid", "isEditable"]);
39
53
  var checkboxSize = "spacing-24";
40
54
  var checkedBorderColor = "border-primary";
41
55
  var disabledColor = "text-disabled";
@@ -59,9 +73,11 @@ var OakDownloadCard = function (props) {
59
73
  React.createElement(OakFlex, { "$alignItems": "stretch", "$flexGrow": 1 },
60
74
  isMultipleIcon ? (React.createElement(MultipleIcons, { iconName: iconName })) : (React.createElement(SingleIcon, { iconName: iconName })),
61
75
  React.createElement(OakFlex, { "$flexGrow": 1, "$flexDirection": "column", "$justifyContent": "center", "$gap": "spacing-4", "$pv": "spacing-12", "$ph": "spacing-16" },
62
- React.createElement(OakBox, { "$font": "body-2-bold" }, title),
63
- fileSize && React.createElement(OakBox, { "$font": "body-3" }, fileSize),
64
- React.createElement(OakBox, { "$font": "body-3" }, format))),
76
+ React.createElement(OakBox, { id: "resource-card-title", "$font": "body-2-bold" }, title),
77
+ fileSize && (React.createElement(OakBox, { "$font": "body-3", "$color": "text-subdued" }, fileSize)),
78
+ React.createElement(OakFlex, { "$alignItems": "center", "$gap": "spacing-8" },
79
+ React.createElement(OakBox, { "$font": "body-3", "$color": "text-subdued" }, Array.isArray(description) ? (React.createElement(OakUL, { "$pl": "spacing-20" }, description.map(function (item) { return (React.createElement(OakLI, { key: item }, item)); }))) : (description)),
80
+ isEditable && (React.createElement(OakTagFunctional, { "$alignSelf": "flex-end", "$font": "heading-light-7", label: "Editable", "$background": "bg-decorative2-main" }))))),
65
81
  React.createElement(OakFlex, null,
66
82
  React.createElement(OakFlex, { "$alignItems": "center", "$pr": "spacing-16" },
67
83
  isRadio && (React.createElement(InternalRadioWrapper, { checked: isChecked, size: checkboxSize, disabled: anyDisabled, radioBorderColor: checkedBorderColor, internalRadio: React.createElement(InternalRadio, __assign({}, rest, { id: props.id, name: (_a = props.name) !== null && _a !== void 0 ? _a : radioContext.name, value: value, disabled: anyDisabled, onHovered: onHovered, onChange: handleRadioChange, onFocus: onFocus, onBlur: onBlur, defaultChecked: defaultChecked, checked: radioChecked })) })),
@@ -69,4 +85,4 @@ var OakDownloadCard = function (props) {
69
85
  };
70
86
  var templateObject_1, templateObject_2;
71
87
 
72
- export { OakDownloadCard };
88
+ export { OakResourceCard };
@@ -19,38 +19,38 @@ var StyledAccordionButton = styled(InternalAccordionButton)(templateObject_1 ||
19
19
  * Internal accordion component that handles the accordion logic
20
20
  */
21
21
  var Accordion = function (_a) {
22
- var children = _a.children, id = _a.id, selectAllChecked = _a.selectAllChecked, downloadsText = _a.downloadsText, handleToggleSelectAll = _a.handleToggleSelectAll, styleProps = __rest(_a, ["children", "id", "selectAllChecked", "downloadsText", "handleToggleSelectAll"]);
22
+ var children = _a.children, id = _a.id, selectAllChecked = _a.selectAllChecked, subheading = _a.subheading, handleToggleSelectAll = _a.handleToggleSelectAll, styleProps = __rest(_a, ["children", "id", "selectAllChecked", "subheading", "handleToggleSelectAll"]);
23
23
  var isOpen = useAccordionContext().isOpen;
24
24
  return (React.createElement(OakFlex, __assign({ "$bt": "border-solid-s", "$bb": isOpen ? "border-solid-none" : "border-solid-s", "$borderColor": "border-neutral-lighter", "$pv": "spacing-12", "$flexDirection": "column", "$width": "100%" }, styleProps),
25
25
  React.createElement(OakFlex, { "$alignItems": "center", "$width": "100%" },
26
26
  React.createElement(OakFlex, { "$alignItems": "center", "$width": "100%", "$gap": "spacing-16" },
27
27
  React.createElement(OakBox, { id: "select-all-wrapper", "$pa": "spacing-8", onClick: handleToggleSelectAll },
28
- React.createElement(OakCheckBox, { onChange: function () { return undefined; }, checked: selectAllChecked, id: "select-all", name: "select-all", value: "", "aria-labelledby": "downloads-accordion-heading" })),
28
+ React.createElement(OakCheckBox, { onChange: function () { return undefined; }, checked: selectAllChecked, id: "select-all", name: "select-all", value: "", "aria-labelledby": "resources-accordion-heading" })),
29
29
  React.createElement(StyledAccordionButton, { "$justifyContent": "space-between", "$flexGrow": 1, id: id, "$alignItems": "center", "$mr": "spacing-12" },
30
30
  React.createElement(OakFlex, { "$justifyContent": "center", "$alignItems": "center", "$gap": "spacing-12" },
31
31
  React.createElement(OakFlex, { "$flexDirection": "column", "$justifyContent": "center", "$alignItems": "start" },
32
- React.createElement(OakHeading, { "$textAlign": "left", id: "downloads-accordion-heading", "$color": "text-primary", "$font": "heading-6", "$mr": "spacing-16", tag: "h2" }, selectAllChecked
32
+ React.createElement(OakHeading, { "$textAlign": "left", id: "resources-accordion-heading", "$color": "text-primary", "$font": "heading-6", "$mr": "spacing-16", tag: "h2" }, selectAllChecked
33
33
  ? "All resources selected"
34
34
  : "Select all resources"),
35
35
  React.createElement(OakBox, { "$pr": "spacing-12" },
36
- React.createElement(OakP, { "$textAlign": "left" }, downloadsText)))),
36
+ React.createElement(OakP, { "$textAlign": "left" }, subheading)))),
37
37
  React.createElement(OakBox, { className: "focus-outline", "$borderRadius": "border-radius-s", "$pa": "spacing-8" },
38
- React.createElement(OakIcon, { className: "chevron-icon", iconName: "chevron-down", "$width": "spacing-32", "$height": "spacing-32", alt: "An arrow to indicate whether the item is open or closed", style: {
38
+ React.createElement(OakIcon, { className: "chevron-icon", iconName: "chevron-down", "$width": "spacing-32", "$height": "spacing-32", alt: isOpen ? "Hide all resources" : "Show all resources", style: {
39
39
  transform: isOpen ? "rotate(180deg)" : "none",
40
40
  transition: "all 0.3s ease 0s",
41
41
  } }))))),
42
- React.createElement(OakBox, { "$position": "relative", "$overflow": "auto" },
43
- React.createElement(InternalAccordionContent, { "$pt": "spacing-20", "aria-labelledby": id }, children))));
42
+ React.createElement(OakBox, { "$position": "relative", "$overflow": "visible" },
43
+ React.createElement(InternalAccordionContent, { "$pt": "spacing-20", "aria-label": "Resource list" }, children))));
44
44
  };
45
45
  /**
46
- * OakDownloadsAccordion
46
+ * OakResourcesAccordion renamed from OakDownloadsAccordion.
47
47
  *
48
48
  */
49
- var OakDownloadsAccordion = function (_a) {
49
+ var OakResourcesAccordion = function (_a) {
50
50
  var _b = _a.initialOpen, initialOpen = _b === void 0 ? false : _b, props = __rest(_a, ["initialOpen"]);
51
51
  return (React.createElement(InternalAccordionProvider, { isInitialOpen: initialOpen },
52
52
  React.createElement(Accordion, __assign({}, props))));
53
53
  };
54
54
  var templateObject_1;
55
55
 
56
- export { OakDownloadsAccordion };
56
+ export { OakResourcesAccordion };
@@ -79,7 +79,7 @@ export { OakSecondaryLink } from './components/navigation/OakSecondaryLink/OakSe
79
79
  export { OakTabs } from './components/navigation/OakTabs/OakTabs.js';
80
80
  export { OakCard } from './components/navigation/OakCard/OakCard.js';
81
81
  export { OakBreadcrumbs } from './components/navigation/OakBreadcrumbs/OakBreadcrumbs.js';
82
- export { OakDownloadsAccordion } from './components/owa/teacher/OakDownloadsAccordion/OakDownloadsAccordion.js';
82
+ export { OakResourcesAccordion } from './components/owa/teacher/OakResourcesAccordion/OakResourcesAccordion.js';
83
83
  export { OakInlineRegistrationBanner } from './components/owa/teacher/OakInlineRegistrationBanner/OakInlineRegistrationBanner.js';
84
84
  export { OakTeacherNotesInline } from './components/owa/teacher/OakTeacherNotesInline/OakTeacherNotesInline.js';
85
85
  export { OakTeacherNotesModal } from './components/owa/teacher/OakTeacherNotesModal/OakTeacherNotesModal.js';
@@ -122,7 +122,7 @@ export { OakBackLink } from './components/owa/OakBackLink/OakBackLink.js';
122
122
  export { OakBulletList } from './components/owa/OakBulletList/OakBulletList.js';
123
123
  export { OakCardWithHandDrawnBorder } from './components/owa/OakCardWithHandDrawnBorder/OakCardWithHandDrawnBorder.js';
124
124
  export { OakCopyLinkButton } from './components/owa/OakCopyLinkButton/OakCopyLinkButton.js';
125
- export { OakDownloadCard } from './components/owa/OakDownloadCard/OakDownloadCard.js';
125
+ export { OakResourceCard } from './components/owa/OakResourceCard/OakResourceCard.js';
126
126
  export { OakDragAndDropInstructions } from './components/owa/OakDragAndDropInstructions/OakDragAndDropInstructions.js';
127
127
  export { OakDraggable } from './components/owa/OakDraggable/OakDraggable.js';
128
128
  export { OakDraggableFeedback } from './components/owa/OakDraggableFeedback/OakDraggableFeedback.js';
@@ -3547,11 +3547,11 @@ type OakBreadcrumbsProps = {
3547
3547
  */
3548
3548
  declare const OakBreadcrumbs: ({ breadcrumbs, }: Readonly<OakBreadcrumbsProps>) => React$1.JSX.Element;
3549
3549
 
3550
- type OakDownloadsAccordionProps = {
3550
+ type OakResourcesAccordionProps = {
3551
3551
  /**
3552
3552
  * Text to render in the subheading
3553
3553
  */
3554
- downloadsText: string;
3554
+ subheading: string;
3555
3555
  /**
3556
3556
  * Event handler for select all checkbox
3557
3557
  */
@@ -3574,10 +3574,10 @@ type OakDownloadsAccordionProps = {
3574
3574
  initialOpen?: boolean;
3575
3575
  } & FlexStyleProps & OakBoxProps & ColorStyleProps;
3576
3576
  /**
3577
- * OakDownloadsAccordion
3577
+ * OakResourcesAccordion renamed from OakDownloadsAccordion.
3578
3578
  *
3579
3579
  */
3580
- declare const OakDownloadsAccordion: ({ initialOpen, ...props }: OakDownloadsAccordionProps) => React$1.JSX.Element;
3580
+ declare const OakResourcesAccordion: ({ initialOpen, ...props }: OakResourcesAccordionProps) => React$1.JSX.Element;
3581
3581
 
3582
3582
  type OakInlineRegistrationBannerProps = {
3583
3583
  onSubmit: (email: string) => Promise<string | undefined>;
@@ -4387,21 +4387,21 @@ type OakCopyLinkButtonProps = {
4387
4387
  */
4388
4388
  declare const OakCopyLinkButton: ({ href }: OakCopyLinkButtonProps) => React$1.JSX.Element;
4389
4389
 
4390
- type OakDownloadCardProps = BaseCheckBoxProps & {
4390
+ type OakResourceCardProps = BaseCheckBoxProps & {
4391
4391
  /**
4392
- * The primary title content for the download.
4392
+ * The primary title content for the resource.
4393
4393
  */
4394
- title: React$1.ReactNode;
4394
+ title: string;
4395
4395
  /**
4396
4396
  * Optional file size content shown beneath the title.
4397
4397
  */
4398
- fileSize?: React$1.ReactNode;
4398
+ fileSize?: string;
4399
4399
  /**
4400
- * The file format or secondary metadata shown beneath the title.
4400
+ * The file format(s) or description shown beneath the title.
4401
4401
  */
4402
- format: React$1.ReactNode;
4402
+ description: string | string[];
4403
4403
  /**
4404
- * The icon used to represent the download type.
4404
+ * The icon used to represent the resource type.
4405
4405
  */
4406
4406
  iconName: IconName | IconName[];
4407
4407
  /**
@@ -4410,15 +4410,23 @@ type OakDownloadCardProps = BaseCheckBoxProps & {
4410
4410
  * @default false
4411
4411
  */
4412
4412
  isRadio?: boolean;
4413
+ /**
4414
+ * If true, adds an informational `Editable` tag to the resource card.
4415
+ *
4416
+ * @default false
4417
+ */
4418
+ isEditable?: boolean;
4413
4419
  };
4414
4420
  /**
4415
- * Download cards present a downloadable resource with metadata and a selectable control.
4421
+ * Resource cards present a downloadable/shareable resource with metadata and a selectable control.
4422
+ * This component has been renamed from OakDownloadCard.
4416
4423
  * ## Usage
4417
- * Use this component when users need to select one or more downloadable resources,
4424
+ * Use this component when users need to select one or more downloadable/shareable resources,
4418
4425
  * such as lesson plans, slide decks, or worksheets.
4419
- * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
4426
+ * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>\
4427
+ * Updated with new standards: <https://www.figma.com/design/xIIH1NUk2IHKxgh5BW5gOd/Test-Oak-Component-Standards?node-id=66-905&p=f&m=dev>
4420
4428
  */
4421
- declare const OakDownloadCard: (props: OakDownloadCardProps) => React$1.JSX.Element;
4429
+ declare const OakResourceCard: (props: OakResourceCardProps) => React$1.JSX.Element;
4422
4430
 
4423
4431
  /**
4424
4432
  * Displays instructions for drag and drop functionality
@@ -5320,5 +5328,5 @@ declare const useIsScrolled: () => {
5320
5328
 
5321
5329
  declare const useBreakpoint: () => Device;
5322
5330
 
5323
- export { DropdownContext, HeadingTagComponent, IconDown, IconUp, OakAccordion, OakAnchorTarget, OakAspectRatio, OakBackLink, OakBasicAccordion, OakBox, OakBreadcrumbs, OakBulletList, OakButtonAsRadioGroup, OakButtonWithDropdown, OakButtonWithDropdownProvider, OakCaptionCard, OakCaptionSearch, OakCard, OakCardHeader, OakCardWithHandDrawnBorder, OakCarousel, OakCheckBox, OakCloseButton, OakCloudinaryConfigProvider, OakCloudinaryImage, OakCodeRenderer, OakCollapsibleContent, OakCookieBanner, OakCookieConsent, OakCookieConsentContext, OakCookieConsentProvider, OakCookieSettingsModal, OakCopyLinkButton, OakDownloadCard, OakDownloadsAccordion, OakDownloadsJourneyChildSubjectTierSelector, OakDragAndDropInstructions, OakDraggable, OakDraggableFeedback, OakDroppable, OakFieldError, OakFieldset, OakFilterDrawer, OakFlex, OakFocusIndicator, OakForm, OakFormInput, OakFormInputWithLabels, OakGlobalStyle, OakGrid, OakGridArea, OakHandDrawnCard, OakHandDrawnCardWithIcon, OakHandDrawnFocusUnderline, OakHandDrawnHR, OakHeaderHero, OakHeading, OakHintButton, OakHomepageTabButton, OakHoverLink, OakIcon, OakImage, OakInfo, OakInfoButton, OakInformativeModal, OakInformativeModalBody, OakInformativeModalBorderColor, OakInformativeModalFooter, OakInlineBanner, OakInlineRegistrationBanner, OakJauntyAngleLabel, OakKbd, OakLI, OakLabel, OakLeftAlignedButton, OakLessonBottomNav, OakLessonInfoCard, OakLessonLayout, OakLessonNavItem, OakLessonReviewIntroVideo, OakLessonReviewItem, OakLessonReviewQuiz, OakLessonTopNav, OakLessonVideoTranscript, OakLink, OakLinkCard, OakListItem, OakLoadingSpinner, OakMaxWidth, OakMediaClip, OakMediaClipList, OakMediaClipListAccordion, OakMediaClipStackListItem, OakModalCenter, OakModalCenterBody, OakMultilineText, OakOL, OakOptGroup, OakOption, OakOutlineAccordion, OakP, OakPagination, OakPrimaryButton, OakPrimaryInvertedButton, OakPrimaryNav, OakPrimaryNavItem, OakPromoTag, OakPupilJourneyContentGuidance, OakPupilJourneyHeader, OakPupilJourneyLayout, OakPupilJourneyList, OakPupilJourneyListCounter, OakPupilJourneyListItem, OakPupilJourneyListItemSubheading, OakPupilJourneyOptionalityButton, OakPupilJourneyOptionalityItem, OakPupilJourneyProgrammeOptions, OakPupilJourneyUnitsFilter, OakPupilJourneyYearButton, OakQuizCheckBox, OakQuizCounter, OakQuizFeedback, OakQuizHint, OakQuizMatch, OakQuizMatchItemId, OakQuizOrder, OakQuizOrderitemId, OakQuizPrintableHeader, OakQuizPrintableSubHeader, OakQuizRadioButton, OakQuizResultItem, OakQuizTextInput, OakQuote, OakRadioAsButton, OakRadioButton, OakRadioGroup, OakRadioTile, OakRoundIcon, OakSaveCount, OakScaleImageButton, OakScreenReader, OakSearchFilterCheckBox, OakSecondaryButton, OakSecondaryButtonAsRadio, OakSecondaryButtonWithDropdown, OakSecondaryLink, OakSelect, OakSideMenuNav, OakSideMenuNavLink, OakSignLanguageButton, OakSmallPrimaryButton, OakSmallPrimaryInvertedButton, OakSmallSecondaryButton, OakSmallSecondaryButtonWithDropdown, OakSmallSecondaryToggleButton, OakSmallTertiaryInvertedButton, OakSpan, OakStaticMessageCard, OakSubjectIcon, OakSubjectIconButton, OakSvg, OakTabs, OakTagFunctional, OakTeacherNotesInline, OakTeacherNotesModal, OakTertiaryButton, OakTertiaryInvertedButton, OakTertiaryOLNav, OakTextArea, OakTextInput, OakThemeProvider, OakTimer, OakToast, OakTooltip, OakTypography, OakUL, OakUnitListItem, OakUnitListOptionalityItem, OakVideo, OakVideoTranscript, RadioContext, ReviewItemContainer, ReviewItemTitleSection, StyledMediaClipImage, UnstyledChevronAccordion, announcements, bannerTypes, bannerVariants, colorSchemes, formatTimeCode, generateOakIconURL, getBackgroundUrlForSection, getBreakpoint, getDefaultContextState, getMediaQuery, installMockIntersectionObserver, installMockResizeObserver, isTileItem, isValidIconName, lessonSectionNames, oakAllSpacingTokens, oakBorderRadiusTokens, oakBorderWidthTokens, oakBoxCss, oakColorTokens, oakDarkTheme, oakDefaultTheme, oakDropShadowTokens, oakFlexCss, oakFontSizeTokens, oakFontTokens, oakHeadingTags, oakIconNames, oakLIDefaults, oakOpacityTokens, oakPlaceholder, oakSpaceBetweenTokens, oakTransitionTokens, oakUiRoleTokens, oakZIndexTokens, parseBorder, parseBorderRadius, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
5324
- export type { BannerTypes, BreakpointName, Consent, Device, InternalQuizResultItemProps, LessonSectionName$1 as LessonSectionName, MenuItemProps, OakAccordionProps, OakAllSpacingToken, OakAnchorTargetProps, OakAspectRatioProps, OakBackLinkProps, OakBasicAccordionProps, OakBorderRadiusToken, OakBorderWidthToken, OakBoxProps, OakBreadcrumb, OakBreadcrumbWithoutHref, OakBreadcrumbsProps, OakBulletListProps, OakButtonWithDropdownProps, OakCaptionCardProps, OakCaptionSearchProps, OakCardHeaderprops, OakCardProps, OakCardWithHandDrawnBorderProps, OakCarouselProps, OakCheckBoxProps, OakCloseButtonProps, OakCloudinaryImageProps, OakCodeRendererProps, OakCollapsibleContentProps, OakColorFilterToken, OakColorToken, OakCombinedSpacingToken, OakCookieBannerProps, OakCookieConsentProps, OakCookieSettingsModalProps, OakDownloadCardProps, OakDownloadsAccordionProps, OakDownloadsJourneyChildSubjectTierSelectorProps, OakDropShadowToken, OakDroppableProps, OakFieldErrorProps, OakFieldsetProps, OakFlexProps, OakFocusIndicatorProps, OakFontSizeToken, OakFontToken, OakFormInputProps, OakFormInputWithLabelsProps, OakFormProps, OakGridAreaProps, OakGridProps, OakHandDrawnBoxWithIconProps, OakHandDrawnCardProps, OakHandDrawnFocusUnderlineProps, OakHandDrawnHRProps, OakHeaderHeroProps, OakHeadingProps, OakHeadingTag, OakHintButtonProps, OakHomepageTabButtonProps, OakHoverLinkProps, OakIconName, OakIconProps, OakImageProps, OakInfoButtonProps, OakInfoCardProps, OakInfoProps, OakInformativeModalBodyProps, OakInformativeModalCloseAction, OakInformativeModalFooterProps, OakInformativeModalProps, OakInlineBannerProps, OakInlineBannerTypes, OakInlineBannerVariantProps, OakInlineBannerVariants, OakInlineRegistrationBannerProps, OakJauntyAngleLabelProps, OakKbdProps, OakLIProps, OakLabelProps, OakLeftAlignedButtonProps, OakLessonBottomNavProps, OakLessonLayoutProps, OakLessonNavItemProps, OakLessonReviewIntroVideoProps, OakLessonReviewItemProps, OakLessonTopNavProps, OakLinkCardProps, OakLinkProps, OakListItemProps, OakLoadingSpinnerProps, OakMediaClipListProps, OakMediaClipProps, OakMediaClipStackListItemProps, OakModalCenterBodyProps, OakModalCenterProps, OakMultilineTextProps, OakOLProps, OakOpacityToken, OakOptGroupProps, OakOptionProps, OakOutlineAccordionProps, OakPProps, OakPaginationProps, OakPrimaryButtonProps, OakPrimaryInvertedButtonProps, OakPrimaryNavItemProps, OakPrimaryNavProps, OakPromoTagProps, OakPupilContentGuidance, OakPupilJourneyContentGuidanceProps, OakPupilJourneyHeaderProps, OakPupilJourneyLayoutProps, OakPupilJourneyListItemSubheadingProps, OakPupilJourneyListProps, OakPupilJourneyOptionalityItemProps, OakPupilJourneyProgrammeOptionsProps, OakPupilJourneyUnitsFilterProps, OakPupilJourneyYearButtonProps, OakQuizCheckBoxProps, OakQuizCounterProps, OakQuizFeedbackProps, OakQuizHintProps, OakQuizMatchProps, OakQuizOrderProps, OakQuizPrintableHeaderProps, OakQuizPrintableSubHeaderProps, OakQuizRadioButtonProps, OakQuoteProps, OakRadioAsButtonProps, OakRadioGroupProps, OakRadioTileProps, OakRoundIconProps, OakSaveCountProps, OakScaleImageButtonProps, OakSearchFilterCheckBoxProps, OakSecondaryButtonAsRadioProps, OakSecondaryButtonProps, OakSecondaryButtonWithDropdownProps, OakSecondaryLinkProps, OakSelectProps, OakSideMenuNavLinkProps, OakSideMenuNavProps, OakSmallPrimaryButtonProps, OakSmallPrimaryInvertedButtonProps, OakSmallSecondaryButtonProps, OakSmallSecondaryButtonWithDropdownProps, OakSmallSecondaryToggleButtonProps, OakSmallTertiaryInvertedButtonProps, OakSolidBorderAccordionProps, OakSpaceBetweenToken, OakSpanProps, OakSubjectIconButtonProps, OakSubjectIconProps, OakSvgNames, OakSvgProps, OakTabsProps, OakTagFunctionalProps, OakTeacherNotesInlineProps, OakTeacherNotesModalProps, OakTertiaryOLNavProps, OakTextAreaProps, OakTextInputProps, OakTheme, OakThemeProviderProps, OakTimerProps, OakToastProps, OakTooltipProps, OakTransitionToken, OakTypographyProps, OakULProps, OakUiRoleToken, OakUnitListItemProps, OakUnitListOptionalityItemProps, OakVideoProps, OakZIndexToken, Phase$1 as Phase, PolicyConsent, PupilJourneySectionName, Subject, Tier, TileItem, UnstyledChevronAccordionProps };
5331
+ export { DropdownContext, HeadingTagComponent, IconDown, IconUp, OakAccordion, OakAnchorTarget, OakAspectRatio, OakBackLink, OakBasicAccordion, OakBox, OakBreadcrumbs, OakBulletList, OakButtonAsRadioGroup, OakButtonWithDropdown, OakButtonWithDropdownProvider, OakCaptionCard, OakCaptionSearch, OakCard, OakCardHeader, OakCardWithHandDrawnBorder, OakCarousel, OakCheckBox, OakCloseButton, OakCloudinaryConfigProvider, OakCloudinaryImage, OakCodeRenderer, OakCollapsibleContent, OakCookieBanner, OakCookieConsent, OakCookieConsentContext, OakCookieConsentProvider, OakCookieSettingsModal, OakCopyLinkButton, OakDownloadsJourneyChildSubjectTierSelector, OakDragAndDropInstructions, OakDraggable, OakDraggableFeedback, OakDroppable, OakFieldError, OakFieldset, OakFilterDrawer, OakFlex, OakFocusIndicator, OakForm, OakFormInput, OakFormInputWithLabels, OakGlobalStyle, OakGrid, OakGridArea, OakHandDrawnCard, OakHandDrawnCardWithIcon, OakHandDrawnFocusUnderline, OakHandDrawnHR, OakHeaderHero, OakHeading, OakHintButton, OakHomepageTabButton, OakHoverLink, OakIcon, OakImage, OakInfo, OakInfoButton, OakInformativeModal, OakInformativeModalBody, OakInformativeModalBorderColor, OakInformativeModalFooter, OakInlineBanner, OakInlineRegistrationBanner, OakJauntyAngleLabel, OakKbd, OakLI, OakLabel, OakLeftAlignedButton, OakLessonBottomNav, OakLessonInfoCard, OakLessonLayout, OakLessonNavItem, OakLessonReviewIntroVideo, OakLessonReviewItem, OakLessonReviewQuiz, OakLessonTopNav, OakLessonVideoTranscript, OakLink, OakLinkCard, OakListItem, OakLoadingSpinner, OakMaxWidth, OakMediaClip, OakMediaClipList, OakMediaClipListAccordion, OakMediaClipStackListItem, OakModalCenter, OakModalCenterBody, OakMultilineText, OakOL, OakOptGroup, OakOption, OakOutlineAccordion, OakP, OakPagination, OakPrimaryButton, OakPrimaryInvertedButton, OakPrimaryNav, OakPrimaryNavItem, OakPromoTag, OakPupilJourneyContentGuidance, OakPupilJourneyHeader, OakPupilJourneyLayout, OakPupilJourneyList, OakPupilJourneyListCounter, OakPupilJourneyListItem, OakPupilJourneyListItemSubheading, OakPupilJourneyOptionalityButton, OakPupilJourneyOptionalityItem, OakPupilJourneyProgrammeOptions, OakPupilJourneyUnitsFilter, OakPupilJourneyYearButton, OakQuizCheckBox, OakQuizCounter, OakQuizFeedback, OakQuizHint, OakQuizMatch, OakQuizMatchItemId, OakQuizOrder, OakQuizOrderitemId, OakQuizPrintableHeader, OakQuizPrintableSubHeader, OakQuizRadioButton, OakQuizResultItem, OakQuizTextInput, OakQuote, OakRadioAsButton, OakRadioButton, OakRadioGroup, OakRadioTile, OakResourceCard, OakResourcesAccordion, OakRoundIcon, OakSaveCount, OakScaleImageButton, OakScreenReader, OakSearchFilterCheckBox, OakSecondaryButton, OakSecondaryButtonAsRadio, OakSecondaryButtonWithDropdown, OakSecondaryLink, OakSelect, OakSideMenuNav, OakSideMenuNavLink, OakSignLanguageButton, OakSmallPrimaryButton, OakSmallPrimaryInvertedButton, OakSmallSecondaryButton, OakSmallSecondaryButtonWithDropdown, OakSmallSecondaryToggleButton, OakSmallTertiaryInvertedButton, OakSpan, OakStaticMessageCard, OakSubjectIcon, OakSubjectIconButton, OakSvg, OakTabs, OakTagFunctional, OakTeacherNotesInline, OakTeacherNotesModal, OakTertiaryButton, OakTertiaryInvertedButton, OakTertiaryOLNav, OakTextArea, OakTextInput, OakThemeProvider, OakTimer, OakToast, OakTooltip, OakTypography, OakUL, OakUnitListItem, OakUnitListOptionalityItem, OakVideo, OakVideoTranscript, RadioContext, ReviewItemContainer, ReviewItemTitleSection, StyledMediaClipImage, UnstyledChevronAccordion, announcements, bannerTypes, bannerVariants, colorSchemes, formatTimeCode, generateOakIconURL, getBackgroundUrlForSection, getBreakpoint, getDefaultContextState, getMediaQuery, installMockIntersectionObserver, installMockResizeObserver, isTileItem, isValidIconName, lessonSectionNames, oakAllSpacingTokens, oakBorderRadiusTokens, oakBorderWidthTokens, oakBoxCss, oakColorTokens, oakDarkTheme, oakDefaultTheme, oakDropShadowTokens, oakFlexCss, oakFontSizeTokens, oakFontTokens, oakHeadingTags, oakIconNames, oakLIDefaults, oakOpacityTokens, oakPlaceholder, oakSpaceBetweenTokens, oakTransitionTokens, oakUiRoleTokens, oakZIndexTokens, parseBorder, parseBorderRadius, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
5332
+ export type { BannerTypes, BreakpointName, Consent, Device, InternalQuizResultItemProps, LessonSectionName$1 as LessonSectionName, MenuItemProps, OakAccordionProps, OakAllSpacingToken, OakAnchorTargetProps, OakAspectRatioProps, OakBackLinkProps, OakBasicAccordionProps, OakBorderRadiusToken, OakBorderWidthToken, OakBoxProps, OakBreadcrumb, OakBreadcrumbWithoutHref, OakBreadcrumbsProps, OakBulletListProps, OakButtonWithDropdownProps, OakCaptionCardProps, OakCaptionSearchProps, OakCardHeaderprops, OakCardProps, OakCardWithHandDrawnBorderProps, OakCarouselProps, OakCheckBoxProps, OakCloseButtonProps, OakCloudinaryImageProps, OakCodeRendererProps, OakCollapsibleContentProps, OakColorFilterToken, OakColorToken, OakCombinedSpacingToken, OakCookieBannerProps, OakCookieConsentProps, OakCookieSettingsModalProps, OakDownloadsJourneyChildSubjectTierSelectorProps, OakDropShadowToken, OakDroppableProps, OakFieldErrorProps, OakFieldsetProps, OakFlexProps, OakFocusIndicatorProps, OakFontSizeToken, OakFontToken, OakFormInputProps, OakFormInputWithLabelsProps, OakFormProps, OakGridAreaProps, OakGridProps, OakHandDrawnBoxWithIconProps, OakHandDrawnCardProps, OakHandDrawnFocusUnderlineProps, OakHandDrawnHRProps, OakHeaderHeroProps, OakHeadingProps, OakHeadingTag, OakHintButtonProps, OakHomepageTabButtonProps, OakHoverLinkProps, OakIconName, OakIconProps, OakImageProps, OakInfoButtonProps, OakInfoCardProps, OakInfoProps, OakInformativeModalBodyProps, OakInformativeModalCloseAction, OakInformativeModalFooterProps, OakInformativeModalProps, OakInlineBannerProps, OakInlineBannerTypes, OakInlineBannerVariantProps, OakInlineBannerVariants, OakInlineRegistrationBannerProps, OakJauntyAngleLabelProps, OakKbdProps, OakLIProps, OakLabelProps, OakLeftAlignedButtonProps, OakLessonBottomNavProps, OakLessonLayoutProps, OakLessonNavItemProps, OakLessonReviewIntroVideoProps, OakLessonReviewItemProps, OakLessonTopNavProps, OakLinkCardProps, OakLinkProps, OakListItemProps, OakLoadingSpinnerProps, OakMediaClipListProps, OakMediaClipProps, OakMediaClipStackListItemProps, OakModalCenterBodyProps, OakModalCenterProps, OakMultilineTextProps, OakOLProps, OakOpacityToken, OakOptGroupProps, OakOptionProps, OakOutlineAccordionProps, OakPProps, OakPaginationProps, OakPrimaryButtonProps, OakPrimaryInvertedButtonProps, OakPrimaryNavItemProps, OakPrimaryNavProps, OakPromoTagProps, OakPupilContentGuidance, OakPupilJourneyContentGuidanceProps, OakPupilJourneyHeaderProps, OakPupilJourneyLayoutProps, OakPupilJourneyListItemSubheadingProps, OakPupilJourneyListProps, OakPupilJourneyOptionalityItemProps, OakPupilJourneyProgrammeOptionsProps, OakPupilJourneyUnitsFilterProps, OakPupilJourneyYearButtonProps, OakQuizCheckBoxProps, OakQuizCounterProps, OakQuizFeedbackProps, OakQuizHintProps, OakQuizMatchProps, OakQuizOrderProps, OakQuizPrintableHeaderProps, OakQuizPrintableSubHeaderProps, OakQuizRadioButtonProps, OakQuoteProps, OakRadioAsButtonProps, OakRadioGroupProps, OakRadioTileProps, OakResourceCardProps, OakResourcesAccordionProps, OakRoundIconProps, OakSaveCountProps, OakScaleImageButtonProps, OakSearchFilterCheckBoxProps, OakSecondaryButtonAsRadioProps, OakSecondaryButtonProps, OakSecondaryButtonWithDropdownProps, OakSecondaryLinkProps, OakSelectProps, OakSideMenuNavLinkProps, OakSideMenuNavProps, OakSmallPrimaryButtonProps, OakSmallPrimaryInvertedButtonProps, OakSmallSecondaryButtonProps, OakSmallSecondaryButtonWithDropdownProps, OakSmallSecondaryToggleButtonProps, OakSmallTertiaryInvertedButtonProps, OakSolidBorderAccordionProps, OakSpaceBetweenToken, OakSpanProps, OakSubjectIconButtonProps, OakSubjectIconProps, OakSvgNames, OakSvgProps, OakTabsProps, OakTagFunctionalProps, OakTeacherNotesInlineProps, OakTeacherNotesModalProps, OakTertiaryOLNavProps, OakTextAreaProps, OakTextInputProps, OakTheme, OakThemeProviderProps, OakTimerProps, OakToastProps, OakTooltipProps, OakTransitionToken, OakTypographyProps, OakULProps, OakUiRoleToken, OakUnitListItemProps, OakUnitListOptionalityItemProps, OakVideoProps, OakZIndexToken, Phase$1 as Phase, PolicyConsent, PupilJourneySectionName, Subject, Tier, TileItem, UnstyledChevronAccordionProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",