@oaknational/oak-components 3.4.0 → 3.5.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.
@@ -934,6 +934,7 @@ var icons = {
934
934
  "class-grouping": "v1776785621/icons/class-grouping.svg",
935
935
  strand: "v1776850533/icons/strand.svg",
936
936
  plus: "v1781533362/icons/plus.svg",
937
+ hide: "v1785931149/icons/Icon_Hide_r1q6se.svg",
937
938
  // subject icons
938
939
  "subject-art": "v1706616347/subject-icons/art.svg",
939
940
  "subject-biology": "v1706616415/subject-icons/biology.svg",
@@ -7647,7 +7648,7 @@ var templateObject_1$3;
7647
7648
  * From https://piccalil.li/blog/a-modern-css-reset/
7648
7649
  * Do not edit this file. If you want to add global styles, use oak.styles.ts
7649
7650
  */
7650
- var resetGlobalCss = styled.css(templateObject_1$2 || (templateObject_1$2 = tslib.__makeTemplateObject(["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"], ["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"])));
7651
+ var resetGlobalCss = styled.css(templateObject_1$2 || (templateObject_1$2 = tslib.__makeTemplateObject(["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"], ["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"])));
7651
7652
  var templateObject_1$2;
7652
7653
 
7653
7654
  /**
@@ -756,6 +756,7 @@ declare const icons: {
756
756
  readonly "class-grouping": "v1776785621/icons/class-grouping.svg";
757
757
  readonly strand: "v1776850533/icons/strand.svg";
758
758
  readonly plus: "v1781533362/icons/plus.svg";
759
+ readonly hide: "v1785931149/icons/Icon_Hide_r1q6se.svg";
759
760
  readonly "subject-art": "v1706616347/subject-icons/art.svg";
760
761
  readonly "subject-biology": "v1706616415/subject-icons/biology.svg";
761
762
  readonly "subject-chemistry": "v1706616415/subject-icons/chemistry.svg";
@@ -86,6 +86,7 @@ var icons = {
86
86
  "class-grouping": "v1776785621/icons/class-grouping.svg",
87
87
  strand: "v1776850533/icons/strand.svg",
88
88
  plus: "v1781533362/icons/plus.svg",
89
+ hide: "v1785931149/icons/Icon_Hide_r1q6se.svg",
89
90
  // subject icons
90
91
  "subject-art": "v1706616347/subject-icons/art.svg",
91
92
  "subject-biology": "v1706616415/subject-icons/biology.svg",
@@ -5,7 +5,7 @@ import { css } from 'styled-components';
5
5
  * From https://piccalil.li/blog/a-modern-css-reset/
6
6
  * Do not edit this file. If you want to add global styles, use oak.styles.ts
7
7
  */
8
- var resetGlobalCss = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"], ["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"])));
8
+ var resetGlobalCss = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"], ["\n /* Box sizing rules */\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n /* Remove default margin */\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n figure,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */\n ul[role=\"list\"],\n ol[role=\"list\"] {\n list-style: none;\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Set core root defaults */\n html,\n html:focus-within {\n scroll-behavior: smooth;\n }\n\n /* Set core body defaults */\n body {\n min-height: 100vh;\n text-rendering: optimizespeed;\n line-height: 1.5;\n }\n\n /* A elements that don't have a class get default styles */\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n /* Make images easier to work with */\n img,\n picture {\n max-width: 100%;\n display: block;\n }\n\n /* Inherit fonts for inputs and buttons */\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n cite {\n font-style: inherit;\n }\n\n /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n @media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n"])));
9
9
  var templateObject_1;
10
10
 
11
11
  export { resetGlobalCss };
@@ -756,6 +756,7 @@ declare const icons: {
756
756
  readonly "class-grouping": "v1776785621/icons/class-grouping.svg";
757
757
  readonly strand: "v1776850533/icons/strand.svg";
758
758
  readonly plus: "v1781533362/icons/plus.svg";
759
+ readonly hide: "v1785931149/icons/Icon_Hide_r1q6se.svg";
759
760
  readonly "subject-art": "v1706616347/subject-icons/art.svg";
760
761
  readonly "subject-biology": "v1706616415/subject-icons/biology.svg";
761
762
  readonly "subject-chemistry": "v1706616415/subject-icons/chemistry.svg";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",