@oaknational/oak-components 3.8.0 → 3.10.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;
@@ -8040,6 +8044,7 @@ exports.oakUiRoleTokens = oakUiRoleTokens;
8040
8044
  exports.oakZIndexTokens = oakZIndexTokens;
8041
8045
  exports.parseBorder = parseBorder;
8042
8046
  exports.parseBorderRadius = parseBorderRadius;
8047
+ exports.parseBorderWidth = parseBorderWidth;
8043
8048
  exports.parseColor = parseColor;
8044
8049
  exports.parseColorFilter = parseColorFilter;
8045
8050
  exports.parseDropShadow = parseDropShadow;
@@ -829,6 +829,10 @@ declare const oakDarkTheme: OakTheme;
829
829
 
830
830
  declare const parseBorder: (value?: OakBorderWidthToken | null) => string | undefined;
831
831
 
832
+ declare const parseBorderRadius: (value?: OakBorderRadiusToken | null) => string | undefined;
833
+
834
+ declare function parseBorderWidth(value: OakBorderWidthToken | null | undefined): string | undefined;
835
+
832
836
  /**
833
837
  * - takes OakColorToken, OakUiRoleToken, null or undefined
834
838
  * - if OakColorToken is passed, returns corresponding css value
@@ -851,8 +855,6 @@ declare const parseDropShadow: (variant?: OakDropShadowToken | null) => string |
851
855
 
852
856
  declare const parseOpacity: (variant?: OakOpacityToken | null) => number | undefined;
853
857
 
854
- declare const parseTransitions: (variant?: OakTransitionToken | null) => string | undefined;
855
-
856
858
  /**
857
859
  * - takes any of OakInnerPadding, OakSpaceBetween, OakAllSpacing, and other accepted values,
858
860
  * - derives and returns the corresponding css value
@@ -860,13 +862,13 @@ declare const parseTransitions: (variant?: OakTransitionToken | null) => string
860
862
  */
861
863
  declare function parseSpacing(value?: OakCombinedSpacingToken | null): string | 0 | undefined;
862
864
 
865
+ declare const parseTransitions: (variant?: OakTransitionToken | null) => string | undefined;
866
+
863
867
  declare const parseFontWeight: (font?: OakFontToken | null) => 300 | 400 | 500 | 600 | 700 | undefined;
864
868
  declare const parseFontSize: (font?: OakFontToken | null) => string | null | undefined;
865
869
  declare const parseLineHeight: (font?: OakFontToken | null) => string | null | undefined;
866
870
  declare const parseLetterSpacing: (font?: OakFontToken | null) => "0.0115rem" | "-0.005rem" | undefined;
867
871
 
868
- declare const parseBorderRadius: (value?: OakBorderRadiusToken | null) => string | undefined;
869
-
870
872
  declare const parseZIndex: (value?: OakZIndexToken | number) => number | undefined;
871
873
 
872
874
  type ColorFilterToken = ResponsiveValues<OakUiRoleToken | null>;
@@ -3547,11 +3549,11 @@ type OakBreadcrumbsProps = {
3547
3549
  */
3548
3550
  declare const OakBreadcrumbs: ({ breadcrumbs, }: Readonly<OakBreadcrumbsProps>) => React$1.JSX.Element;
3549
3551
 
3550
- type OakDownloadsAccordionProps = {
3552
+ type OakResourcesAccordionProps = {
3551
3553
  /**
3552
3554
  * Text to render in the subheading
3553
3555
  */
3554
- downloadsText: string;
3556
+ subheading: string;
3555
3557
  /**
3556
3558
  * Event handler for select all checkbox
3557
3559
  */
@@ -3574,10 +3576,10 @@ type OakDownloadsAccordionProps = {
3574
3576
  initialOpen?: boolean;
3575
3577
  } & FlexStyleProps & OakBoxProps & ColorStyleProps;
3576
3578
  /**
3577
- * OakDownloadsAccordion
3579
+ * OakResourcesAccordion renamed from OakDownloadsAccordion.
3578
3580
  *
3579
3581
  */
3580
- declare const OakDownloadsAccordion: ({ initialOpen, ...props }: OakDownloadsAccordionProps) => React$1.JSX.Element;
3582
+ declare const OakResourcesAccordion: ({ initialOpen, ...props }: OakResourcesAccordionProps) => React$1.JSX.Element;
3581
3583
 
3582
3584
  type OakInlineRegistrationBannerProps = {
3583
3585
  onSubmit: (email: string) => Promise<string | undefined>;
@@ -4387,21 +4389,21 @@ type OakCopyLinkButtonProps = {
4387
4389
  */
4388
4390
  declare const OakCopyLinkButton: ({ href }: OakCopyLinkButtonProps) => React$1.JSX.Element;
4389
4391
 
4390
- type OakDownloadCardProps = BaseCheckBoxProps & {
4392
+ type OakResourceCardProps = BaseCheckBoxProps & {
4391
4393
  /**
4392
- * The primary title content for the download.
4394
+ * The primary title content for the resource.
4393
4395
  */
4394
- title: React$1.ReactNode;
4396
+ title: string;
4395
4397
  /**
4396
4398
  * Optional file size content shown beneath the title.
4397
4399
  */
4398
- fileSize?: React$1.ReactNode;
4400
+ fileSize?: string;
4399
4401
  /**
4400
- * The file format or secondary metadata shown beneath the title.
4402
+ * The file format(s) or description shown beneath the title.
4401
4403
  */
4402
- format: React$1.ReactNode;
4404
+ description: string | string[];
4403
4405
  /**
4404
- * The icon used to represent the download type.
4406
+ * The icon used to represent the resource type.
4405
4407
  */
4406
4408
  iconName: IconName | IconName[];
4407
4409
  /**
@@ -4410,15 +4412,23 @@ type OakDownloadCardProps = BaseCheckBoxProps & {
4410
4412
  * @default false
4411
4413
  */
4412
4414
  isRadio?: boolean;
4415
+ /**
4416
+ * If true, adds an informational `Editable` tag to the resource card.
4417
+ *
4418
+ * @default false
4419
+ */
4420
+ isEditable?: boolean;
4413
4421
  };
4414
4422
  /**
4415
- * Download cards present a downloadable resource with metadata and a selectable control.
4423
+ * Resource cards present a downloadable/shareable resource with metadata and a selectable control.
4424
+ * This component has been renamed from OakDownloadCard.
4416
4425
  * ## Usage
4417
- * Use this component when users need to select one or more downloadable resources,
4426
+ * Use this component when users need to select one or more downloadable/shareable resources,
4418
4427
  * such as lesson plans, slide decks, or worksheets.
4419
- * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
4428
+ * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>\
4429
+ * Updated with new standards: <https://www.figma.com/design/xIIH1NUk2IHKxgh5BW5gOd/Test-Oak-Component-Standards?node-id=66-905&p=f&m=dev>
4420
4430
  */
4421
- declare const OakDownloadCard: (props: OakDownloadCardProps) => React$1.JSX.Element;
4431
+ declare const OakResourceCard: (props: OakResourceCardProps) => React$1.JSX.Element;
4422
4432
 
4423
4433
  /**
4424
4434
  * Displays instructions for drag and drop functionality
@@ -5320,5 +5330,5 @@ declare const useIsScrolled: () => {
5320
5330
 
5321
5331
  declare const useBreakpoint: () => Device;
5322
5332
 
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 };
5333
+ 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, parseBorderWidth, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
5334
+ 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 };
@@ -3,9 +3,9 @@ import styled from 'styled-components';
3
3
  import { OakBox } from '../../layout-and-structure/OakBox/OakBox.js';
4
4
  import '../../../styles/theme/color.js';
5
5
  import '../../../styles/theme/typography.js';
6
+ import { parseBorderRadius } from '../../../styles/helpers/parseBorderRadius.js';
6
7
  import { parseColor } from '../../../styles/helpers/parseColor.js';
7
8
  import { parseDropShadow } from '../../../styles/helpers/parseDropShadow.js';
8
- import { parseBorderRadius } from '../../../styles/helpers/parseBorderRadius.js';
9
9
  import { responsiveStyle } from '../../../styles/utils/responsiveStyle.js';
10
10
 
11
11
  function isJSDOM() {
@@ -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';
@@ -180,14 +180,15 @@ export { oakZIndexTokens } from './styles/theme/zIndex.js';
180
180
  export { oakDefaultTheme } from './styles/theme/default.theme.js';
181
181
  export { oakDarkTheme } from './styles/theme/dark.theme.js';
182
182
  export { parseBorder } from './styles/helpers/parseBorder.js';
183
+ export { parseBorderRadius } from './styles/helpers/parseBorderRadius.js';
184
+ export { parseBorderWidth } from './styles/helpers/parseBorderWidth.js';
183
185
  export { parseColor } from './styles/helpers/parseColor.js';
184
186
  export { parseColorFilter } from './styles/helpers/parseColorFilter.js';
185
187
  export { parseDropShadow } from './styles/helpers/parseDropShadow.js';
186
188
  export { parseOpacity } from './styles/helpers/parseOpacity.js';
187
- export { parseTransitions } from './styles/helpers/parseTransitions.js';
188
189
  export { parseSpacing } from './styles/helpers/parseSpacing.js';
190
+ export { parseTransitions } from './styles/helpers/parseTransitions.js';
189
191
  export { parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight } from './styles/helpers/parseTypography.js';
190
- export { parseBorderRadius } from './styles/helpers/parseBorderRadius.js';
191
192
  export { parseZIndex } from './styles/helpers/parseZIndex.js';
192
193
  export { getBreakpoint, getMediaQuery, responsiveStyle } from './styles/utils/responsiveStyle.js';
193
194
  export { installMockIntersectionObserver } from './test-helpers/mockIntersectionObserver.js';
@@ -1,8 +1,8 @@
1
1
  import { __makeTemplateObject } from 'tslib';
2
2
  import { css } from 'styled-components';
3
- import { parseColor } from '../helpers/parseColor.js';
4
3
  import '../theme/color.js';
5
4
  import '../theme/typography.js';
5
+ import { parseColor } from '../helpers/parseColor.js';
6
6
 
7
7
  /**
8
8
  * This is our global stylesheet. It's for resets in addition to reset.styles.ts
@@ -829,6 +829,10 @@ declare const oakDarkTheme: OakTheme;
829
829
 
830
830
  declare const parseBorder: (value?: OakBorderWidthToken | null) => string | undefined;
831
831
 
832
+ declare const parseBorderRadius: (value?: OakBorderRadiusToken | null) => string | undefined;
833
+
834
+ declare function parseBorderWidth(value: OakBorderWidthToken | null | undefined): string | undefined;
835
+
832
836
  /**
833
837
  * - takes OakColorToken, OakUiRoleToken, null or undefined
834
838
  * - if OakColorToken is passed, returns corresponding css value
@@ -851,8 +855,6 @@ declare const parseDropShadow: (variant?: OakDropShadowToken | null) => string |
851
855
 
852
856
  declare const parseOpacity: (variant?: OakOpacityToken | null) => number | undefined;
853
857
 
854
- declare const parseTransitions: (variant?: OakTransitionToken | null) => string | undefined;
855
-
856
858
  /**
857
859
  * - takes any of OakInnerPadding, OakSpaceBetween, OakAllSpacing, and other accepted values,
858
860
  * - derives and returns the corresponding css value
@@ -860,13 +862,13 @@ declare const parseTransitions: (variant?: OakTransitionToken | null) => string
860
862
  */
861
863
  declare function parseSpacing(value?: OakCombinedSpacingToken | null): string | 0 | undefined;
862
864
 
865
+ declare const parseTransitions: (variant?: OakTransitionToken | null) => string | undefined;
866
+
863
867
  declare const parseFontWeight: (font?: OakFontToken | null) => 300 | 400 | 500 | 600 | 700 | undefined;
864
868
  declare const parseFontSize: (font?: OakFontToken | null) => string | null | undefined;
865
869
  declare const parseLineHeight: (font?: OakFontToken | null) => string | null | undefined;
866
870
  declare const parseLetterSpacing: (font?: OakFontToken | null) => "0.0115rem" | "-0.005rem" | undefined;
867
871
 
868
- declare const parseBorderRadius: (value?: OakBorderRadiusToken | null) => string | undefined;
869
-
870
872
  declare const parseZIndex: (value?: OakZIndexToken | number) => number | undefined;
871
873
 
872
874
  type ColorFilterToken = ResponsiveValues<OakUiRoleToken | null>;
@@ -3547,11 +3549,11 @@ type OakBreadcrumbsProps = {
3547
3549
  */
3548
3550
  declare const OakBreadcrumbs: ({ breadcrumbs, }: Readonly<OakBreadcrumbsProps>) => React$1.JSX.Element;
3549
3551
 
3550
- type OakDownloadsAccordionProps = {
3552
+ type OakResourcesAccordionProps = {
3551
3553
  /**
3552
3554
  * Text to render in the subheading
3553
3555
  */
3554
- downloadsText: string;
3556
+ subheading: string;
3555
3557
  /**
3556
3558
  * Event handler for select all checkbox
3557
3559
  */
@@ -3574,10 +3576,10 @@ type OakDownloadsAccordionProps = {
3574
3576
  initialOpen?: boolean;
3575
3577
  } & FlexStyleProps & OakBoxProps & ColorStyleProps;
3576
3578
  /**
3577
- * OakDownloadsAccordion
3579
+ * OakResourcesAccordion renamed from OakDownloadsAccordion.
3578
3580
  *
3579
3581
  */
3580
- declare const OakDownloadsAccordion: ({ initialOpen, ...props }: OakDownloadsAccordionProps) => React$1.JSX.Element;
3582
+ declare const OakResourcesAccordion: ({ initialOpen, ...props }: OakResourcesAccordionProps) => React$1.JSX.Element;
3581
3583
 
3582
3584
  type OakInlineRegistrationBannerProps = {
3583
3585
  onSubmit: (email: string) => Promise<string | undefined>;
@@ -4387,21 +4389,21 @@ type OakCopyLinkButtonProps = {
4387
4389
  */
4388
4390
  declare const OakCopyLinkButton: ({ href }: OakCopyLinkButtonProps) => React$1.JSX.Element;
4389
4391
 
4390
- type OakDownloadCardProps = BaseCheckBoxProps & {
4392
+ type OakResourceCardProps = BaseCheckBoxProps & {
4391
4393
  /**
4392
- * The primary title content for the download.
4394
+ * The primary title content for the resource.
4393
4395
  */
4394
- title: React$1.ReactNode;
4396
+ title: string;
4395
4397
  /**
4396
4398
  * Optional file size content shown beneath the title.
4397
4399
  */
4398
- fileSize?: React$1.ReactNode;
4400
+ fileSize?: string;
4399
4401
  /**
4400
- * The file format or secondary metadata shown beneath the title.
4402
+ * The file format(s) or description shown beneath the title.
4401
4403
  */
4402
- format: React$1.ReactNode;
4404
+ description: string | string[];
4403
4405
  /**
4404
- * The icon used to represent the download type.
4406
+ * The icon used to represent the resource type.
4405
4407
  */
4406
4408
  iconName: IconName | IconName[];
4407
4409
  /**
@@ -4410,15 +4412,23 @@ type OakDownloadCardProps = BaseCheckBoxProps & {
4410
4412
  * @default false
4411
4413
  */
4412
4414
  isRadio?: boolean;
4415
+ /**
4416
+ * If true, adds an informational `Editable` tag to the resource card.
4417
+ *
4418
+ * @default false
4419
+ */
4420
+ isEditable?: boolean;
4413
4421
  };
4414
4422
  /**
4415
- * Download cards present a downloadable resource with metadata and a selectable control.
4423
+ * Resource cards present a downloadable/shareable resource with metadata and a selectable control.
4424
+ * This component has been renamed from OakDownloadCard.
4416
4425
  * ## Usage
4417
- * Use this component when users need to select one or more downloadable resources,
4426
+ * Use this component when users need to select one or more downloadable/shareable resources,
4418
4427
  * such as lesson plans, slide decks, or worksheets.
4419
- * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>
4428
+ * Design document: <https://www.figma.com/design/YcWQMMhHPVVmc47cHHEEAl/Oak-Design-Kit?node-id=14795-5603>\
4429
+ * Updated with new standards: <https://www.figma.com/design/xIIH1NUk2IHKxgh5BW5gOd/Test-Oak-Component-Standards?node-id=66-905&p=f&m=dev>
4420
4430
  */
4421
- declare const OakDownloadCard: (props: OakDownloadCardProps) => React$1.JSX.Element;
4431
+ declare const OakResourceCard: (props: OakResourceCardProps) => React$1.JSX.Element;
4422
4432
 
4423
4433
  /**
4424
4434
  * Displays instructions for drag and drop functionality
@@ -5320,5 +5330,5 @@ declare const useIsScrolled: () => {
5320
5330
 
5321
5331
  declare const useBreakpoint: () => Device;
5322
5332
 
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 };
5333
+ 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, parseBorderWidth, parseColor, parseColorFilter, parseDropShadow, parseFontSize, parseFontWeight, parseLetterSpacing, parseLineHeight, parseOpacity, parseSpacing, parseTransitions, parseZIndex, placeholderStyles, removedGuidanceDuplicates, responsiveStyle, rgbToHex, useBreakpoint, useCookieConsent, useDevice, useDropdownContext, useIsScrolled, useMediaQuery, useMounted };
5334
+ 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.10.0",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",