@oaknational/oak-components 3.14.3 → 3.14.4
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.
|
@@ -14,8 +14,21 @@ import '../../images-and-icons/OakImage/OakImage.js';
|
|
|
14
14
|
import '../../images-and-icons/OakSvg/OakSvg.js';
|
|
15
15
|
import '../../images-and-icons/OakHandDrawnHR/OakHandDrawnHR.js';
|
|
16
16
|
import { OakHeading } from '../../typography/OakHeading/OakHeading.js';
|
|
17
|
+
import '../../typography/OakLI/OakLI.js';
|
|
18
|
+
import '../../typography/OakOL/OakOL.js';
|
|
17
19
|
import { OakP } from '../../typography/OakP/OakP.js';
|
|
20
|
+
import '../../typography/OakSpan/OakSpan.js';
|
|
21
|
+
import '../../typography/OakTypography/OakTypography.js';
|
|
22
|
+
import '../../typography/OakUL/OakUL.js';
|
|
23
|
+
import '../../buttons/OakButtonWithDropdown/OakButtonWithDropdown.js';
|
|
24
|
+
import '../../buttons/OakButtonWithDropdown/OakButtonWithDropdownProvider.js';
|
|
25
|
+
import '../../internal-components/InternalShadowRoundButton/InternalShadowRoundButton.js';
|
|
26
|
+
import '../../internal-components/InternalShadowRectButton/InternalShadowRectButton.js';
|
|
18
27
|
import { OakSecondaryButton } from '../../buttons/OakSecondaryButton/OakSecondaryButton.js';
|
|
28
|
+
import '../../buttons/OakSecondaryButtonWithDropdown/OakSecondaryButtonWithDropdown.js';
|
|
29
|
+
import '../../buttons/OakSmallSecondaryButtonWithDropdown/OakSmallSecondaryButtonWithDropdown.js';
|
|
30
|
+
import '../../internal-components/InternalShadowIconButton/InternalShadowIconButton.js';
|
|
31
|
+
import '../../buttons/OakLeftAlignedButton/OakLeftAlignedButton.js';
|
|
19
32
|
|
|
20
33
|
var OakErrorBoundaryBorderColor = createContext("border-neutral-lighter");
|
|
21
34
|
/**
|
|
@@ -21,7 +21,19 @@ import '../../typography/OakP/OakP.js';
|
|
|
21
21
|
import { OakSpan } from '../../typography/OakSpan/OakSpan.js';
|
|
22
22
|
import '../../typography/OakTypography/OakTypography.js';
|
|
23
23
|
import { OakUL } from '../../typography/OakUL/OakUL.js';
|
|
24
|
+
import '../../messaging-and-feedback/OakScreenReader/OakScreenReader.js';
|
|
25
|
+
import '../../messaging-and-feedback/OakInformativeModal/OakInformativeModal.js';
|
|
26
|
+
import '../../messaging-and-feedback/OakLoadingSpinner/OakLoadingSpinner.js';
|
|
27
|
+
import '../../internal-components/InternalShadowRoundButton/InternalShadowRoundButton.js';
|
|
28
|
+
import '../../images-and-icons/OakImage/OakImage.js';
|
|
29
|
+
import '../../messaging-and-feedback/OakModalCenter/OakModalCenter.js';
|
|
30
|
+
import '../../messaging-and-feedback/OakToast/OakToast.js';
|
|
31
|
+
import 'react-dom';
|
|
32
|
+
import '../../internal-components/InternalTooltip/InternalTooltip.js';
|
|
33
|
+
import '../../messaging-and-feedback/OakFocusIndicator/OakFocusIndicator.js';
|
|
34
|
+
import '../../messaging-and-feedback/OakHandDrawnFocusUnderline/OakHandDrawnFocusUnderline.js';
|
|
24
35
|
import { OakPromoTag } from '../../messaging-and-feedback/OakPromoTag/OakPromoTag.js';
|
|
36
|
+
import '../../messaging-and-feedback/OakErrorBoundary/OakErrorBoundary.js';
|
|
25
37
|
|
|
26
38
|
var StyledFocusOutline = styled(OakFlex)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
|
|
27
39
|
var StyledTabButton = styled(InternalButton)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n border-radius: ", ";\n &:hover {\n color: ", ";\n background: ", ";\n }\n &:focus-visible:not(&:active) {\n box-shadow: ", ";\n ", " {\n box-shadow: ", ";\n }\n }\n"], ["\n width: 100%;\n height: 100%;\n border-radius: ", ";\n &:hover {\n color: ", ";\n background: ", ";\n }\n &:focus-visible:not(&:active) {\n box-shadow: ", ";\n ", " {\n box-shadow: ", ";\n }\n }\n"])), parseBorderRadius("border-radius-circle"), function (props) { return parseColor(props.$hoverColor); }, function (props) { return parseColor(props.$hoverBackground); }, parseDropShadow("drop-shadow-centered-grey"), StyledFocusOutline, parseDropShadow("drop-shadow-centered-lemon"));
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oaknational/oak-components",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.4",
|
|
4
4
|
"licence": "MIT",
|
|
5
5
|
"packageManager": "pnpm@11.2.0",
|
|
6
6
|
"description": "Shared components for Oak applications",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"types": "./dist/npm/es/types.d.ts",
|
|
11
|
+
"default": "./dist/npm/es/index.js"
|
|
12
12
|
},
|
|
13
13
|
"require": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"types": "./dist/npm/cjs/types.d.ts",
|
|
15
|
+
"default": "./dist/npm/cjs/index.js"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
},
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
"author": "",
|
|
47
47
|
"peerDependencies": {
|
|
48
|
+
"@portabletext/react": ">=4.0.1",
|
|
48
49
|
"next": ">=14.2.12",
|
|
49
50
|
"next-cloudinary": ">=6.16.0",
|
|
50
51
|
"react": ">=18.2.0",
|
|
51
52
|
"react-dom": ">=18.2.0",
|
|
52
|
-
"styled-components": ">=5.3.11"
|
|
53
|
-
"@portabletext/react": ">=4.0.1"
|
|
53
|
+
"styled-components": ">=5.3.11"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": "24",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"@tiptap/react": "^2.11.0",
|
|
64
64
|
"react-focus-on": "^3.10.2",
|
|
65
65
|
"react-transition-group": "^4.4.5",
|
|
66
|
+
"tslib": "^2.8.1",
|
|
66
67
|
"url": "^0.11.4"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|