@oaknational/oak-components 2.12.2 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +6 -3
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -204,6 +204,9 @@ declare const oakBorderWidthTokens: {
|
|
|
204
204
|
"border-solid-m": number;
|
|
205
205
|
"border-solid-l": number;
|
|
206
206
|
"border-solid-xl": number;
|
|
207
|
+
"border-solid-xxl": number;
|
|
208
|
+
"border-solid-xxxl": number;
|
|
209
|
+
"border-solid-xxxxl": number;
|
|
207
210
|
};
|
|
208
211
|
declare const oakBorderRadiusTokens: {
|
|
209
212
|
"border-radius-square": number;
|
|
@@ -2350,7 +2353,7 @@ declare const OakRadioButton: React__default.ForwardRefExoticComponent<{
|
|
|
2350
2353
|
/**
|
|
2351
2354
|
* Allows the width of the radio button border to be customized.
|
|
2352
2355
|
*/
|
|
2353
|
-
radioBorderWidth?: "border-solid-none" | "border-solid-s" | "border-solid-m" | "border-solid-l" | "border-solid-xl" | undefined;
|
|
2356
|
+
radioBorderWidth?: "border-solid-none" | "border-solid-s" | "border-solid-m" | "border-solid-l" | "border-solid-xl" | "border-solid-xxl" | "border-solid-xxxl" | "border-solid-xxxxl" | undefined;
|
|
2354
2357
|
/**
|
|
2355
2358
|
* Allows the background color of the radio button to be customized.
|
|
2356
2359
|
*/
|
|
@@ -2358,7 +2361,7 @@ declare const OakRadioButton: React__default.ForwardRefExoticComponent<{
|
|
|
2358
2361
|
/**
|
|
2359
2362
|
* Allows the width of the radio button border to be customized when the radio button is checked.
|
|
2360
2363
|
*/
|
|
2361
|
-
checkedRadioBorderWidth?: "border-solid-none" | "border-solid-s" | "border-solid-m" | "border-solid-l" | "border-solid-xl" | undefined;
|
|
2364
|
+
checkedRadioBorderWidth?: "border-solid-none" | "border-solid-s" | "border-solid-m" | "border-solid-l" | "border-solid-xl" | "border-solid-xxl" | "border-solid-xxxl" | "border-solid-xxxxl" | undefined;
|
|
2362
2365
|
} & {
|
|
2363
2366
|
children?: React__default.ReactNode;
|
|
2364
2367
|
} & PositionStyleProps & SizeStyleProps & PaddingStyleProps & MarginStyleProps & ColorStyleProps & BorderStyleProps & DisplayStyleProps & DropShadowStyleProps & OpacityStyleProps & TransformStyleProps & TransitionStyleProps & TypographyStyleProps & ZIndexStyleProps & {
|
|
@@ -4429,7 +4432,7 @@ type OakQuizPrintableSubHeaderProps = {
|
|
|
4429
4432
|
title: string;
|
|
4430
4433
|
grade: number;
|
|
4431
4434
|
numQuestions: number;
|
|
4432
|
-
attempts
|
|
4435
|
+
attempts?: number;
|
|
4433
4436
|
} & FlexStyleProps;
|
|
4434
4437
|
/**
|
|
4435
4438
|
* This component is the header for quiz section in the printable view;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oaknational/oak-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.1",
|
|
4
4
|
"licence": "MIT",
|
|
5
5
|
"description": "Shared components for Oak applications",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"format": "prettier '**/*.{j,t}{s,sx}' --write",
|
|
19
19
|
"format:precommit": "prettier '**/*.{j,t}{s,sx}' --write",
|
|
20
20
|
"format:check": "prettier '**/*.{j,t}{s,sx}' --check",
|
|
21
|
-
"lint": "eslint src/**/*",
|
|
22
|
-
"lint:precommit": "eslint src/**/* --fix",
|
|
21
|
+
"lint": "eslint 'src/**/*'",
|
|
22
|
+
"lint:precommit": "eslint 'src/**/*' --fix",
|
|
23
23
|
"storybook": "storybook dev -p 6006",
|
|
24
24
|
"build-storybook": "storybook build",
|
|
25
25
|
"prepare": "husky install",
|