@oaknational/oak-components 2.13.1 → 2.14.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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/package.json +6 -5
package/dist/types.d.ts
CHANGED
|
@@ -946,6 +946,12 @@ type PositionStyleProps = {
|
|
|
946
946
|
* Accepts an `object-fit` value or a responsive array of `object-fit` values.
|
|
947
947
|
*/
|
|
948
948
|
$objectFit?: ResponsiveValues<CSSProperties$1["objectFit"]>;
|
|
949
|
+
/**
|
|
950
|
+
* Sets the `object-position` CSS property of the element.
|
|
951
|
+
*
|
|
952
|
+
* Accepts an `object-position` value or a responsive array of `object-position` values.
|
|
953
|
+
*/
|
|
954
|
+
$objectPosition?: ResponsiveValues<CSSProperties$1["objectPosition"]>;
|
|
949
955
|
/**
|
|
950
956
|
* Sets the `pointer-events` CSS property of the element.
|
|
951
957
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oaknational/oak-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"licence": "MIT",
|
|
5
5
|
"description": "Shared components for Oak applications",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@commitlint/config-conventional": "^18.4.4",
|
|
40
40
|
"@dnd-kit/core": "^6.1.0",
|
|
41
41
|
"@dnd-kit/sortable": "^10.0.0",
|
|
42
|
-
"@rollup/plugin-commonjs": "^
|
|
42
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
43
43
|
"@rollup/plugin-json": "^6.1.0",
|
|
44
44
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
45
45
|
"@rollup/plugin-terser": "^0.4.4",
|
|
@@ -58,13 +58,14 @@
|
|
|
58
58
|
"@storybook/react": "8.6.14",
|
|
59
59
|
"@storybook/test": "^8.6.14",
|
|
60
60
|
"@testing-library/jest-dom": "^6.9.1",
|
|
61
|
-
"@testing-library/react": "^
|
|
61
|
+
"@testing-library/react": "^16.3.2",
|
|
62
62
|
"@testing-library/user-event": "^14.5.2",
|
|
63
63
|
"@tiptap/react": "^2.11.0",
|
|
64
64
|
"@tiptap/starter-kit": "^2.11.0",
|
|
65
65
|
"@types/jest": "^30.0.0",
|
|
66
66
|
"@types/jscodeshift": "^17.3.0",
|
|
67
67
|
"@types/react": "^18.2.47",
|
|
68
|
+
"@types/react-dom": "^18.3.7",
|
|
68
69
|
"@types/react-test-renderer": "^18.0.7",
|
|
69
70
|
"@types/react-transition-group": "^4.4.10",
|
|
70
71
|
"@types/styled-components": "^5.1.34",
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
"jest": "^30.2.0",
|
|
85
86
|
"jest-environment-jsdom": "^30.2.0",
|
|
86
87
|
"jest-styled-components": "^7.2.0",
|
|
88
|
+
"jest-util": "^30.2.0",
|
|
87
89
|
"jscodeshift": "^17.3.0",
|
|
88
90
|
"prettier": "^3.1.1",
|
|
89
91
|
"react": "^18.2.0",
|
|
@@ -99,8 +101,7 @@
|
|
|
99
101
|
"storybook-react-context": "^0.6.0",
|
|
100
102
|
"ts-jest": "^29.4.5",
|
|
101
103
|
"tsx": "^4.20.5",
|
|
102
|
-
"typescript": "^5.3.3"
|
|
103
|
-
"jest-util": "^30.2.0"
|
|
104
|
+
"typescript": "^5.3.3"
|
|
104
105
|
},
|
|
105
106
|
"directories": {
|
|
106
107
|
"example": "examples"
|