@guardian/stand 0.0.11 → 0.0.13
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/README.md +116 -1759
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/button/Button.cjs +1 -4
- package/dist/components/button/Button.js +1 -4
- package/dist/components/button/styles.cjs +1 -3
- package/dist/components/byline/Byline.cjs +4 -18
- package/dist/components/byline/Byline.js +1 -1
- package/dist/components/byline/Preview.cjs +1 -8
- package/dist/components/byline/plugins.cjs +3 -13
- package/dist/components/favicon/Favicon.cjs +47 -0
- package/dist/components/favicon/Favicon.js +30 -0
- package/dist/components/favicon/styles.cjs +34 -0
- package/dist/components/favicon/styles.js +29 -0
- package/dist/components/icon/Icon.cjs +1 -4
- package/dist/components/icon/Icon.js +1 -4
- package/dist/components/icon-link-button/IconLinkButton.cjs +1 -6
- package/dist/components/tag-picker/TagAutocomplete.js +1 -1
- package/dist/components/tag-picker/TagTable.js +1 -1
- package/dist/components/user-menu/UserMenu.cjs +1 -8
- package/dist/components/user-menu/UserMenu.js +1 -1
- package/dist/favicon.cjs +9 -0
- package/dist/favicon.js +2 -0
- package/dist/fonts/OpenSans.css +64 -68
- package/dist/index.cjs +6 -4
- package/dist/index.js +1 -0
- package/dist/styleD/build/css/component/button.css +15 -16
- package/dist/styleD/build/css/component/favicon.css +17 -0
- package/dist/styleD/build/css/semantic/typography.css +5 -10
- package/dist/styleD/build/typescript/component/favicon.cjs +20 -0
- package/dist/styleD/build/typescript/component/favicon.js +18 -0
- package/dist/types/components/favicon/Favicon.d.ts +2 -0
- package/dist/types/components/favicon/styles.d.ts +8 -0
- package/dist/types/components/favicon/types.d.ts +38 -0
- package/dist/types/favicon.d.ts +19 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/styleD/build/typescript/component/favicon.d.ts +20 -0
- package/package.json +27 -17
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export { componentAvatar } from './styleD/build/typescript/component/avatar.js';
|
|
|
6
6
|
export { componentButton } from './styleD/build/typescript/component/button.js';
|
|
7
7
|
export { componentTypography } from './styleD/build/typescript/component/typography.js';
|
|
8
8
|
export { componentIcon } from './styleD/build/typescript/component/icon.js';
|
|
9
|
+
export { componentFavicon } from './styleD/build/typescript/component/favicon.js';
|
|
9
10
|
export { baseColors } from './styleD/build/typescript/base/colors.js';
|
|
10
11
|
export { baseTypography } from './styleD/build/typescript/base/typography.js';
|
|
11
12
|
export { baseSpacing } from './styleD/build/typescript/base/spacing.js';
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
#061d3c;
|
|
27
27
|
--component-button-emphasised-primary-shared-disabled-color: #999999;
|
|
28
28
|
--component-button-emphasised-primary-shared-disabled-background-color: #dcdcdc;
|
|
29
|
-
--component-button-emphasised-primary-shared-disabled-border: 0.0625rem
|
|
30
|
-
|
|
29
|
+
--component-button-emphasised-primary-shared-disabled-border: 0.0625rem solid
|
|
30
|
+
#dcdcdc;
|
|
31
31
|
--component-button-emphasised-primary-xs-height: 1.5rem;
|
|
32
32
|
--component-button-emphasised-primary-xs-padding-top: 0.25rem;
|
|
33
33
|
--component-button-emphasised-primary-xs-padding-right: 0.5rem;
|
|
34
34
|
--component-button-emphasised-primary-xs-padding-bottom: 0.25rem;
|
|
35
35
|
--component-button-emphasised-primary-xs-padding-left: 0.5rem;
|
|
36
36
|
--component-button-emphasised-primary-xs-padding-with-icon-icon-left-left: 0.25rem;
|
|
37
|
-
--component-button-emphasised-primary-xs-typography-font: normal 700
|
|
38
|
-
|
|
37
|
+
--component-button-emphasised-primary-xs-typography-font: normal 700 0.75rem/1
|
|
38
|
+
'Open Sans';
|
|
39
39
|
--component-button-emphasised-primary-xs-typography-letter-spacing: 0rem;
|
|
40
40
|
--component-button-emphasised-primary-xs-typography-font-width: 95;
|
|
41
41
|
--component-button-emphasised-primary-xs-icon-size: 1.125rem;
|
|
@@ -83,14 +83,13 @@
|
|
|
83
83
|
--component-button-emphasised-secondary-shared-color: #000000;
|
|
84
84
|
--component-button-emphasised-secondary-shared-background-color: none;
|
|
85
85
|
--component-button-emphasised-secondary-shared-border-radius: 0.25rem;
|
|
86
|
-
--component-button-emphasised-secondary-shared-border: 0.0625rem solid
|
|
87
|
-
#0d4289;
|
|
86
|
+
--component-button-emphasised-secondary-shared-border: 0.0625rem solid #0d4289;
|
|
88
87
|
--component-button-emphasised-secondary-shared-hover-background-color: #e8f0fb;
|
|
89
88
|
--component-button-emphasised-secondary-shared-hover-border: 0.0625rem solid
|
|
90
89
|
#0d4289;
|
|
91
90
|
--component-button-emphasised-secondary-shared-active-background-color: #c5d9f4;
|
|
92
|
-
--component-button-emphasised-secondary-shared-active-border: 0.0625rem
|
|
93
|
-
|
|
91
|
+
--component-button-emphasised-secondary-shared-active-border: 0.0625rem solid
|
|
92
|
+
#0d4289;
|
|
94
93
|
--component-button-emphasised-secondary-shared-disabled-color: #999999;
|
|
95
94
|
--component-button-emphasised-secondary-shared-disabled-background-color: none;
|
|
96
95
|
--component-button-emphasised-secondary-shared-disabled-border: 0.0625rem
|
|
@@ -140,8 +139,8 @@
|
|
|
140
139
|
--component-button-emphasised-secondary-lg-padding-bottom: 0.25rem;
|
|
141
140
|
--component-button-emphasised-secondary-lg-padding-left: 1rem;
|
|
142
141
|
--component-button-emphasised-secondary-lg-padding-with-icon-icon-left-left: 0.75rem;
|
|
143
|
-
--component-button-emphasised-secondary-lg-typography-font: normal 700
|
|
144
|
-
|
|
142
|
+
--component-button-emphasised-secondary-lg-typography-font: normal 700 1rem/1
|
|
143
|
+
'Open Sans';
|
|
145
144
|
--component-button-emphasised-secondary-lg-typography-letter-spacing: -0.0125rem;
|
|
146
145
|
--component-button-emphasised-secondary-lg-typography-font-width: 95;
|
|
147
146
|
--component-button-emphasised-secondary-lg-icon-size: 1.5rem;
|
|
@@ -233,8 +232,8 @@
|
|
|
233
232
|
--component-button-neutral-secondary-xs-padding-bottom: 0.25rem;
|
|
234
233
|
--component-button-neutral-secondary-xs-padding-left: 0.5rem;
|
|
235
234
|
--component-button-neutral-secondary-xs-padding-with-icon-icon-left-left: 0.25rem;
|
|
236
|
-
--component-button-neutral-secondary-xs-typography-font: normal 700
|
|
237
|
-
|
|
235
|
+
--component-button-neutral-secondary-xs-typography-font: normal 700 0.75rem/1
|
|
236
|
+
'Open Sans';
|
|
238
237
|
--component-button-neutral-secondary-xs-typography-letter-spacing: 0rem;
|
|
239
238
|
--component-button-neutral-secondary-xs-typography-font-width: 95;
|
|
240
239
|
--component-button-neutral-secondary-xs-icon-size: 1.125rem;
|
|
@@ -246,8 +245,8 @@
|
|
|
246
245
|
--component-button-neutral-secondary-sm-padding-bottom: 0.25rem;
|
|
247
246
|
--component-button-neutral-secondary-sm-padding-left: 0.625rem;
|
|
248
247
|
--component-button-neutral-secondary-sm-padding-with-icon-icon-left-left: 0.5rem;
|
|
249
|
-
--component-button-neutral-secondary-sm-typography-font: normal 700
|
|
250
|
-
|
|
248
|
+
--component-button-neutral-secondary-sm-typography-font: normal 700 0.875rem/1
|
|
249
|
+
'Open Sans';
|
|
251
250
|
--component-button-neutral-secondary-sm-typography-letter-spacing: -0.0125rem;
|
|
252
251
|
--component-button-neutral-secondary-sm-typography-font-width: 95;
|
|
253
252
|
--component-button-neutral-secondary-sm-icon-size: 1.125rem;
|
|
@@ -259,8 +258,8 @@
|
|
|
259
258
|
--component-button-neutral-secondary-md-padding-bottom: 0.25rem;
|
|
260
259
|
--component-button-neutral-secondary-md-padding-left: 0.75rem;
|
|
261
260
|
--component-button-neutral-secondary-md-padding-with-icon-icon-left-left: 0.5rem;
|
|
262
|
-
--component-button-neutral-secondary-md-typography-font: normal 700
|
|
263
|
-
|
|
261
|
+
--component-button-neutral-secondary-md-typography-font: normal 700 0.875rem/1
|
|
262
|
+
'Open Sans';
|
|
264
263
|
--component-button-neutral-secondary-md-typography-letter-spacing: -0.0125rem;
|
|
265
264
|
--component-button-neutral-secondary-md-typography-font-width: 95;
|
|
266
265
|
--component-button-neutral-secondary-md-icon-size: 1.25rem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-favicon-color-background: #00496c;
|
|
7
|
+
--component-favicon-color-text: #ffffff;
|
|
8
|
+
--component-favicon-size: 2rem;
|
|
9
|
+
--component-favicon-display: inline-flex;
|
|
10
|
+
--component-favicon-align-items: center;
|
|
11
|
+
--component-favicon-justify-content: center;
|
|
12
|
+
--component-favicon-user-select: none;
|
|
13
|
+
--component-favicon-typography-font: normal 700 1.25rem/1.15
|
|
14
|
+
'GH Guardian Headline';
|
|
15
|
+
--component-favicon-typography-letter-spacing: 0rem;
|
|
16
|
+
--component-favicon-typography-font-width: 100;
|
|
17
|
+
}
|
|
@@ -73,19 +73,16 @@
|
|
|
73
73
|
--semantic-typography-body-xl-font: normal 460 1.25rem/1.3 'Open Sans';
|
|
74
74
|
--semantic-typography-body-xl-letter-spacing: 0rem;
|
|
75
75
|
--semantic-typography-body-xl-font-width: 95;
|
|
76
|
-
--semantic-typography-body-italic-sm-font: italic 460 0.875rem/1.3
|
|
77
|
-
'Open Sans';
|
|
76
|
+
--semantic-typography-body-italic-sm-font: italic 460 0.875rem/1.3 'Open Sans';
|
|
78
77
|
--semantic-typography-body-italic-sm-letter-spacing: 0rem;
|
|
79
78
|
--semantic-typography-body-italic-sm-font-width: 95;
|
|
80
79
|
--semantic-typography-body-italic-md-font: italic 460 1rem/1.3 'Open Sans';
|
|
81
80
|
--semantic-typography-body-italic-md-letter-spacing: 0rem;
|
|
82
81
|
--semantic-typography-body-italic-md-font-width: 95;
|
|
83
|
-
--semantic-typography-body-italic-lg-font: italic 460 1.125rem/1.3
|
|
84
|
-
'Open Sans';
|
|
82
|
+
--semantic-typography-body-italic-lg-font: italic 460 1.125rem/1.3 'Open Sans';
|
|
85
83
|
--semantic-typography-body-italic-lg-letter-spacing: 0rem;
|
|
86
84
|
--semantic-typography-body-italic-lg-font-width: 95;
|
|
87
|
-
--semantic-typography-body-italic-xl-font: italic 460 1.25rem/1.3
|
|
88
|
-
'Open Sans';
|
|
85
|
+
--semantic-typography-body-italic-xl-font: italic 460 1.25rem/1.3 'Open Sans';
|
|
89
86
|
--semantic-typography-body-italic-xl-letter-spacing: 0rem;
|
|
90
87
|
--semantic-typography-body-italic-xl-font-width: 95;
|
|
91
88
|
--semantic-typography-body-compact-sm-font: normal 460 0.875rem/1.3
|
|
@@ -99,8 +96,7 @@
|
|
|
99
96
|
'Open Sans';
|
|
100
97
|
--semantic-typography-body-compact-lg-letter-spacing: 0rem;
|
|
101
98
|
--semantic-typography-body-compact-lg-font-width: 88;
|
|
102
|
-
--semantic-typography-body-compact-xl-font: normal 460 1.25rem/1.3
|
|
103
|
-
'Open Sans';
|
|
99
|
+
--semantic-typography-body-compact-xl-font: normal 460 1.25rem/1.3 'Open Sans';
|
|
104
100
|
--semantic-typography-body-compact-xl-letter-spacing: 0rem;
|
|
105
101
|
--semantic-typography-body-compact-xl-font-width: 88;
|
|
106
102
|
--semantic-typography-body-compact-italic-sm-font: italic 460 0.875rem/1.3
|
|
@@ -122,8 +118,7 @@
|
|
|
122
118
|
--semantic-typography-meta-md-font: normal 460 0.75rem/1.3 'Open Sans';
|
|
123
119
|
--semantic-typography-meta-md-letter-spacing: 0rem;
|
|
124
120
|
--semantic-typography-meta-md-font-width: 95;
|
|
125
|
-
--semantic-typography-meta-compact-md-font: normal 460 0.75rem/1.3
|
|
126
|
-
'Open Sans';
|
|
121
|
+
--semantic-typography-meta-compact-md-font: normal 460 0.75rem/1.3 'Open Sans';
|
|
127
122
|
--semantic-typography-meta-compact-md-letter-spacing: 0rem;
|
|
128
123
|
--semantic-typography-meta-compact-md-font-width: 88;
|
|
129
124
|
--semantic-typography-article-body-md-font: normal 400 1rem/1.4
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const componentFavicon = {
|
|
4
|
+
color: {
|
|
5
|
+
background: "#00496c",
|
|
6
|
+
text: "#ffffff"
|
|
7
|
+
},
|
|
8
|
+
size: "2rem",
|
|
9
|
+
display: "inline-flex",
|
|
10
|
+
"align-items": "center",
|
|
11
|
+
"justify-content": "center",
|
|
12
|
+
"user-select": "none",
|
|
13
|
+
typography: {
|
|
14
|
+
font: "normal 700 1.25rem/1.15 GH Guardian Headline",
|
|
15
|
+
letterSpacing: "0rem",
|
|
16
|
+
fontWidth: 100
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.componentFavicon = componentFavicon;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const componentFavicon = {
|
|
2
|
+
color: {
|
|
3
|
+
background: "#00496c",
|
|
4
|
+
text: "#ffffff"
|
|
5
|
+
},
|
|
6
|
+
size: "2rem",
|
|
7
|
+
display: "inline-flex",
|
|
8
|
+
"align-items": "center",
|
|
9
|
+
"justify-content": "center",
|
|
10
|
+
"user-select": "none",
|
|
11
|
+
typography: {
|
|
12
|
+
font: "normal 700 1.25rem/1.15 GH Guardian Headline",
|
|
13
|
+
letterSpacing: "0rem",
|
|
14
|
+
fontWidth: 100
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { componentFavicon };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { type ComponentFavicon } from '../../styleD/build/typescript/component/favicon';
|
|
3
|
+
import type { Prettify } from '../../util/types';
|
|
4
|
+
export type FaviconTheme = Prettify<ComponentFavicon>;
|
|
5
|
+
export declare const defaultFaviconTheme: FaviconTheme;
|
|
6
|
+
export declare const faviconStyles: (theme: FaviconTheme) => SerializedStyles;
|
|
7
|
+
export declare const faviconTypographyStyles: (theme: FaviconTheme) => SerializedStyles;
|
|
8
|
+
export declare const faviconImageStyles: SerializedStyles;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { DefaultProps } from '../../util/types';
|
|
2
|
+
import type { IconProps } from '../icon/types';
|
|
3
|
+
import type { FaviconTheme } from './styles';
|
|
4
|
+
interface FaviconWithLetter extends DefaultProps<FaviconTheme> {
|
|
5
|
+
/**
|
|
6
|
+
* Letter to render in the favicon
|
|
7
|
+
*/
|
|
8
|
+
letter: string;
|
|
9
|
+
icon?: never;
|
|
10
|
+
src?: never;
|
|
11
|
+
alt?: never;
|
|
12
|
+
}
|
|
13
|
+
interface FaviconWithIcon extends DefaultProps<FaviconTheme> {
|
|
14
|
+
/**
|
|
15
|
+
* Icon to display in the favicon
|
|
16
|
+
*/
|
|
17
|
+
icon: IconProps['symbol'] | Exclude<IconProps['children'], string>;
|
|
18
|
+
letter?: never;
|
|
19
|
+
src?: never;
|
|
20
|
+
alt?: never;
|
|
21
|
+
}
|
|
22
|
+
interface FaviconWithImage extends DefaultProps<FaviconTheme> {
|
|
23
|
+
/**
|
|
24
|
+
* Image URL for the favicon
|
|
25
|
+
*/
|
|
26
|
+
src: string;
|
|
27
|
+
/**
|
|
28
|
+
* Alternative text for the image (required when src is provided)
|
|
29
|
+
*/
|
|
30
|
+
alt: string;
|
|
31
|
+
/**
|
|
32
|
+
* Letter to display when image fails to load (optional)
|
|
33
|
+
*/
|
|
34
|
+
letter?: string;
|
|
35
|
+
icon?: never;
|
|
36
|
+
}
|
|
37
|
+
export type FaviconProps = FaviconWithLetter | FaviconWithIcon | FaviconWithImage;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Favicon component entry point
|
|
3
|
+
*
|
|
4
|
+
* Peer dependencies required to use these components:
|
|
5
|
+
* - `@emotion/react`
|
|
6
|
+
* - `react`
|
|
7
|
+
* - `react-dom`
|
|
8
|
+
* - `typescript`
|
|
9
|
+
*
|
|
10
|
+
* See the `peerDependencies` section of package.json for compatible versions.
|
|
11
|
+
*
|
|
12
|
+
* If you only need the built CSS (./component/favicon.css),
|
|
13
|
+
* you don't need to install these.
|
|
14
|
+
*/
|
|
15
|
+
export { Favicon } from './components/favicon/Favicon';
|
|
16
|
+
export type { FaviconProps } from './components/favicon/types';
|
|
17
|
+
export type { FaviconTheme } from './components/favicon/styles';
|
|
18
|
+
export { componentFavicon } from './styleD/build/typescript/component/favicon';
|
|
19
|
+
export type { ComponentFavicon } from './styleD/build/typescript/component/favicon';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export { componentTypography } from './styleD/build/typescript/component/typogra
|
|
|
24
24
|
export type { ComponentTypography } from './styleD/build/typescript/component/typography';
|
|
25
25
|
export { componentIcon } from './styleD/build/typescript/component/icon';
|
|
26
26
|
export type { ComponentIcon } from './styleD/build/typescript/component/icon';
|
|
27
|
+
export { componentFavicon } from './styleD/build/typescript/component/favicon';
|
|
28
|
+
export type { ComponentFavicon } from './styleD/build/typescript/component/favicon';
|
|
27
29
|
/**
|
|
28
30
|
* style dictionary exports - base
|
|
29
31
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export declare const componentFavicon: {
|
|
5
|
+
color: {
|
|
6
|
+
background: string;
|
|
7
|
+
text: string;
|
|
8
|
+
};
|
|
9
|
+
size: string;
|
|
10
|
+
display: string;
|
|
11
|
+
'align-items': string;
|
|
12
|
+
'justify-content': string;
|
|
13
|
+
'user-select': string;
|
|
14
|
+
typography: {
|
|
15
|
+
font: string;
|
|
16
|
+
letterSpacing: string;
|
|
17
|
+
fontWidth: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type ComponentFavicon = typeof componentFavicon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guardian/stand",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"//exports": "Each component has its own entry point for optimal tree-shaking. Main entry point only includes design tokens and utilities. New components/foundations should follow the same pattern.",
|
|
6
6
|
"exports": {
|
|
@@ -44,6 +44,11 @@
|
|
|
44
44
|
"import": "./dist/icon.js",
|
|
45
45
|
"require": "./dist/icon.cjs"
|
|
46
46
|
},
|
|
47
|
+
"./favicon": {
|
|
48
|
+
"types": "./dist/types/favicon.d.ts",
|
|
49
|
+
"import": "./dist/favicon.js",
|
|
50
|
+
"require": "./dist/favicon.cjs"
|
|
51
|
+
},
|
|
47
52
|
"./byline": {
|
|
48
53
|
"types": "./dist/types/byline.d.ts",
|
|
49
54
|
"import": "./dist/byline.js",
|
|
@@ -84,7 +89,8 @@
|
|
|
84
89
|
"./component/avatar.css": "./dist/styleD/build/css/component/avatar.css",
|
|
85
90
|
"./component/button.css": "./dist/styleD/build/css/component/button.css",
|
|
86
91
|
"./component/typography.css": "./dist/styleD/build/css/component/typography.css",
|
|
87
|
-
"./component/icon.css": "./dist/styleD/build/css/component/icon.css"
|
|
92
|
+
"./component/icon.css": "./dist/styleD/build/css/component/icon.css",
|
|
93
|
+
"./component/favicon.css": "./dist/styleD/build/css/component/favicon.css"
|
|
88
94
|
},
|
|
89
95
|
"//typesVersions": "Provides backward compatibility for TypeScript moduleResolution: node - maps subpath imports to correct type definition files. When adding new components with their own entry points, ensure to add them here.",
|
|
90
96
|
"typesVersions": {
|
|
@@ -110,6 +116,9 @@
|
|
|
110
116
|
"icon": [
|
|
111
117
|
"./dist/types/icon.d.ts"
|
|
112
118
|
],
|
|
119
|
+
"favicon": [
|
|
120
|
+
"./dist/types/favicon.d.ts"
|
|
121
|
+
],
|
|
113
122
|
"byline": [
|
|
114
123
|
"./dist/types/byline.d.ts"
|
|
115
124
|
],
|
|
@@ -128,8 +137,7 @@
|
|
|
128
137
|
"dist"
|
|
129
138
|
],
|
|
130
139
|
"repository": {
|
|
131
|
-
"url": "https://github.com/guardian/
|
|
132
|
-
"directory": "stand-component-library"
|
|
140
|
+
"url": "https://github.com/guardian/stand"
|
|
133
141
|
},
|
|
134
142
|
"main": "./dist/index.cjs",
|
|
135
143
|
"module": "./dist/index.js",
|
|
@@ -138,19 +146,19 @@
|
|
|
138
146
|
"devDependencies": {
|
|
139
147
|
"@changesets/cli": "^2.29.8",
|
|
140
148
|
"@emotion/react": "11.11.4",
|
|
141
|
-
"@figma/rest-api-spec": "^0.
|
|
142
|
-
"@guardian/eslint-config": "13.0.
|
|
149
|
+
"@figma/rest-api-spec": "^0.36.0",
|
|
150
|
+
"@guardian/eslint-config": "13.0.6",
|
|
143
151
|
"@guardian/prettier": "10.0.0",
|
|
144
152
|
"@guardian/prosemirror-invisibles": "3.1.1",
|
|
145
153
|
"@guardian/tsconfig": "1.0.1",
|
|
146
154
|
"@material-design-icons/svg": "^0.14.15",
|
|
147
|
-
"@playwright/experimental-ct-react17": "^1.
|
|
155
|
+
"@playwright/experimental-ct-react17": "^1.58.2",
|
|
148
156
|
"@rollup/plugin-commonjs": "29.0.0",
|
|
149
157
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
150
158
|
"@rollup/plugin-typescript": "12.3.0",
|
|
151
|
-
"@storybook/addon-docs": "^10.
|
|
152
|
-
"@storybook/addon-themes": "^10.
|
|
153
|
-
"@storybook/react-vite": "^10.
|
|
159
|
+
"@storybook/addon-docs": "^10.2.11",
|
|
160
|
+
"@storybook/addon-themes": "^10.2.11",
|
|
161
|
+
"@storybook/react-vite": "^10.2.11",
|
|
154
162
|
"@terrazzo/cli": "^0.10.5",
|
|
155
163
|
"@testing-library/jest-dom": "^6.9.1",
|
|
156
164
|
"@types/jest": "30.0.0",
|
|
@@ -158,11 +166,12 @@
|
|
|
158
166
|
"@types/react": "17.0.76",
|
|
159
167
|
"@types/react-dom": "17.0.25",
|
|
160
168
|
"change-case": "^5.4.4",
|
|
161
|
-
"eslint": "9.39.
|
|
162
|
-
"eslint-plugin-storybook": "^10.
|
|
169
|
+
"eslint": "9.39.3",
|
|
170
|
+
"eslint-plugin-storybook": "^10.2.11",
|
|
171
|
+
"husky": "^9.1.7",
|
|
163
172
|
"jest": "30.2.0",
|
|
164
173
|
"jest-environment-jsdom": "^30.1.2",
|
|
165
|
-
"prettier": "3.8.
|
|
174
|
+
"prettier": "3.8.1",
|
|
166
175
|
"prosemirror-dropcursor": "1.8.2",
|
|
167
176
|
"prosemirror-history": "1.4.1",
|
|
168
177
|
"prosemirror-keymap": "1.2.2",
|
|
@@ -173,14 +182,14 @@
|
|
|
173
182
|
"react-aria-components": "1.13.0",
|
|
174
183
|
"react-dom": "17.0.2",
|
|
175
184
|
"remark-gfm": "^4.0.1",
|
|
176
|
-
"rimraf": "6.1.
|
|
177
|
-
"rollup": "4.
|
|
185
|
+
"rimraf": "6.1.3",
|
|
186
|
+
"rollup": "4.59.0",
|
|
178
187
|
"rollup-plugin-copy": "^3.5.0",
|
|
179
188
|
"rollup-plugin-esbuild": "6.2.1",
|
|
180
189
|
"rollup-plugin-import-css": "^4.2.0",
|
|
181
190
|
"rollup-plugin-node-externals": "8.1.2",
|
|
182
|
-
"storybook": "^10.
|
|
183
|
-
"style-dictionary": "^5.
|
|
191
|
+
"storybook": "^10.2.11",
|
|
192
|
+
"style-dictionary": "^5.3.2",
|
|
184
193
|
"ts-jest": "29.4.6",
|
|
185
194
|
"tslib": "2.8.1",
|
|
186
195
|
"typescript": "5.1.3",
|
|
@@ -251,6 +260,7 @@
|
|
|
251
260
|
"format:fix": "prettier --write .",
|
|
252
261
|
"tsc": "tsc",
|
|
253
262
|
"test": "jest",
|
|
263
|
+
"test:setup-e2e": "playwright install --with-deps",
|
|
254
264
|
"test:e2e": "playwright test -c playwright-ct.config.ts",
|
|
255
265
|
"test:react-matrix": "./scripts/test-react-matrix.sh"
|
|
256
266
|
}
|