@cruk/cruk-react-components 6.1.2 → 6.2.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/lib/node_modules/react-intersection-observer/dist/index.js +1 -1
- package/lib/node_modules/react-intersection-observer/dist/index.js.map +1 -1
- package/lib/src/components/Checkbox/styles.js +1 -1
- package/lib/src/components/Checkbox/styles.js.map +1 -1
- package/lib/src/components/DateField/index.js +1 -1
- package/lib/src/components/DateField/index.js.map +1 -1
- package/lib/src/components/DateField/styles.d.ts +3 -0
- package/lib/src/components/DateField/styles.js +1 -1
- package/lib/src/components/DateField/styles.js.map +1 -1
- package/lib/src/components/GlobalStyle.js +1 -1
- package/lib/src/components/GlobalStyle.js.map +1 -1
- package/lib/src/components/LabelWrapper/index.js +1 -1
- package/lib/src/components/LabelWrapper/index.js.map +1 -1
- package/lib/src/components/LabelWrapper/styles.d.ts +3 -0
- package/lib/src/components/LabelWrapper/styles.js +1 -1
- package/lib/src/components/LabelWrapper/styles.js.map +1 -1
- package/lib/src/components/LegendWrapper/index.js +1 -1
- package/lib/src/components/LegendWrapper/index.js.map +1 -1
- package/lib/src/components/LegendWrapper/styles.d.ts +3 -0
- package/lib/src/components/LegendWrapper/styles.js +1 -1
- package/lib/src/components/LegendWrapper/styles.js.map +1 -1
- package/lib/src/components/Radio/styles.js +1 -1
- package/lib/src/components/Radio/styles.js.map +1 -1
- package/lib/src/components/RadioConsent/styles.js +1 -1
- package/lib/src/components/RadioConsent/styles.js.map +1 -1
- package/lib/src/components/Select/styles.js +1 -1
- package/lib/src/components/Select/styles.js.map +1 -1
- package/lib/src/components/Step/styles.js +1 -1
- package/lib/src/components/Step/styles.js.map +1 -1
- package/lib/src/components/TextAreaField/styles.js +1 -1
- package/lib/src/components/TextAreaField/styles.js.map +1 -1
- package/lib/src/components/TextField/styles.js +1 -1
- package/lib/src/components/TextField/styles.js.map +1 -1
- package/lib/src/themes/cruk.js +1 -1
- package/lib/src/themes/cruk.js.map +1 -1
- package/lib/src/themes/su2c.js +1 -1
- package/lib/src/themes/su2c.js.map +1 -1
- package/lib/src/types.d.ts +3 -1
- package/package.json +4 -4
package/lib/src/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type FontSizeType = "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl" | "xxxxl";
|
|
1
|
+
export type FontSizeType = "xs" | "s" | "m" | "ml" | "l" | "xl" | "xxl" | "xxxl" | "xxxxl";
|
|
2
2
|
export type FontSizesType = Record<FontSizeType, string>;
|
|
3
3
|
export type UtilitiesType = {
|
|
4
4
|
contentMaxWidth: string;
|
|
@@ -56,6 +56,7 @@ export type ColorsType = {
|
|
|
56
56
|
textError: string;
|
|
57
57
|
textDark: string;
|
|
58
58
|
textLight: string;
|
|
59
|
+
textMid: string;
|
|
59
60
|
linkColor: string;
|
|
60
61
|
linkColorHover: string;
|
|
61
62
|
linkColorSecondary: string;
|
|
@@ -122,6 +123,7 @@ export type ColorKeyType = keyof ColorsType;
|
|
|
122
123
|
export type SpaceType = "auto" | "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "none";
|
|
123
124
|
export type SpacingType = {
|
|
124
125
|
auto: string;
|
|
126
|
+
xxxs: string;
|
|
125
127
|
xxs: string;
|
|
126
128
|
xs: string;
|
|
127
129
|
s: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cruk/cruk-react-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "React components implementing CRUK, RFL, SU2C & Bowelbabe designs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@mdx-js/mdx": "^3",
|
|
50
50
|
"@mdx-js/react": "^3",
|
|
51
51
|
"@playwright/experimental-ct-react": "^1.51.0",
|
|
52
|
-
"@rollup/plugin-commonjs": "^
|
|
52
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
53
53
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
54
54
|
"@rollup/plugin-terser": "^0.4.4",
|
|
55
55
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@types/react-dom": "^19",
|
|
64
64
|
"@vitejs/plugin-legacy": "^7",
|
|
65
65
|
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
66
|
-
"chromatic": "^
|
|
66
|
+
"chromatic": "^13.3.4",
|
|
67
67
|
"eslint": "^9",
|
|
68
68
|
"eslint-plugin-react": "^7.37.4",
|
|
69
69
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@fortawesome/free-solid-svg-icons": "^7",
|
|
94
94
|
"@swc/plugin-styled-components": "^10",
|
|
95
95
|
"react-focus-lock": "^2.13.6",
|
|
96
|
-
"react-intersection-observer": "^
|
|
96
|
+
"react-intersection-observer": "^10.0.0",
|
|
97
97
|
"react-is": "^19",
|
|
98
98
|
"styled-components": "^6.1.11",
|
|
99
99
|
"vite": "^7",
|