@guardian/stand 0.0.65 → 0.0.67

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.
Files changed (78) hide show
  1. package/dist/Badge.cjs +5 -0
  2. package/dist/Badge.d.cts +5 -0
  3. package/dist/Badge.d.ts +5 -0
  4. package/dist/Badge.js +3 -0
  5. package/dist/SidebarStepperNavigation.cjs +7 -0
  6. package/dist/SidebarStepperNavigation.d.cts +5 -0
  7. package/dist/SidebarStepperNavigation.d.ts +5 -0
  8. package/dist/SidebarStepperNavigation.js +4 -0
  9. package/dist/_virtual/_rolldown/runtime.cjs +1 -1
  10. package/dist/components/Avatar/Avatar.cjs +4 -2
  11. package/dist/components/Avatar/Avatar.js +4 -2
  12. package/dist/components/AvatarButton/AvatarButton.cjs +2 -1
  13. package/dist/components/AvatarButton/AvatarButton.js +2 -1
  14. package/dist/components/AvatarLink/AvatarLink.cjs +2 -1
  15. package/dist/components/AvatarLink/AvatarLink.js +2 -1
  16. package/dist/components/Badge/Badge.cjs +18 -0
  17. package/dist/components/Badge/Badge.d.cts +5 -0
  18. package/dist/components/Badge/Badge.d.ts +5 -0
  19. package/dist/components/Badge/Badge.js +18 -0
  20. package/dist/components/Badge/styles.cjs +26 -0
  21. package/dist/components/Badge/styles.d.cts +9 -0
  22. package/dist/components/Badge/styles.d.ts +9 -0
  23. package/dist/components/Badge/styles.js +25 -0
  24. package/dist/components/Badge/types.d.cts +23 -0
  25. package/dist/components/Badge/types.d.ts +23 -0
  26. package/dist/components/Byline/Byline.cjs +4 -2
  27. package/dist/components/Byline/Byline.js +4 -2
  28. package/dist/components/Byline/Preview.cjs +13 -11
  29. package/dist/components/Byline/Preview.js +13 -11
  30. package/dist/components/Grid/Grid.cjs +4 -2
  31. package/dist/components/Grid/Grid.js +4 -2
  32. package/dist/components/HtmlPreviewLoader/styles.cjs +4 -3
  33. package/dist/components/HtmlPreviewLoader/styles.js +4 -3
  34. package/dist/components/Layout/Layout.cjs +4 -2
  35. package/dist/components/Layout/Layout.js +4 -2
  36. package/dist/components/Menu/Menu.cjs +4 -2
  37. package/dist/components/Menu/Menu.js +4 -2
  38. package/dist/components/Modal/Modal.cjs +6 -3
  39. package/dist/components/Modal/Modal.js +6 -3
  40. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.cjs +161 -0
  41. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.d.cts +5 -0
  42. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.d.ts +5 -0
  43. package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.js +161 -0
  44. package/dist/components/SidebarStepperNavigation/styles.cjs +96 -0
  45. package/dist/components/SidebarStepperNavigation/styles.d.cts +8 -0
  46. package/dist/components/SidebarStepperNavigation/styles.d.ts +8 -0
  47. package/dist/components/SidebarStepperNavigation/styles.js +88 -0
  48. package/dist/components/SidebarStepperNavigation/types.cjs +9 -0
  49. package/dist/components/SidebarStepperNavigation/types.d.cts +26 -0
  50. package/dist/components/SidebarStepperNavigation/types.d.ts +26 -0
  51. package/dist/components/SidebarStepperNavigation/types.js +9 -0
  52. package/dist/components/Tabs/Tabs.cjs +2 -1
  53. package/dist/components/Tabs/Tabs.js +2 -1
  54. package/dist/components/TagPicker/styles.cjs +4 -2
  55. package/dist/components/TagPicker/styles.js +4 -2
  56. package/dist/components/TagTable/styles.cjs +2 -1
  57. package/dist/components/TagTable/styles.js +2 -1
  58. package/dist/components/TopBar/TopBarItem/TopBarItem.cjs +2 -1
  59. package/dist/components/TopBar/TopBarItem/TopBarItem.js +2 -1
  60. package/dist/components/Typography/Typography.cjs +2 -1
  61. package/dist/components/Typography/Typography.js +2 -1
  62. package/dist/index.cjs +4 -0
  63. package/dist/index.d.cts +3 -1
  64. package/dist/index.d.ts +3 -1
  65. package/dist/index.js +3 -1
  66. package/dist/styleD/build/css/component/badge.css +69 -0
  67. package/dist/styleD/build/css/component/sidebarStepperNavigation.css +51 -0
  68. package/dist/styleD/build/typescript/component/badge.cjs +137 -0
  69. package/dist/styleD/build/typescript/component/badge.d.cts +162 -0
  70. package/dist/styleD/build/typescript/component/badge.d.ts +162 -0
  71. package/dist/styleD/build/typescript/component/badge.js +137 -0
  72. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.cjs +68 -0
  73. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.d.cts +85 -0
  74. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.d.ts +85 -0
  75. package/dist/styleD/build/typescript/component/sidebarStepperNavigation.js +68 -0
  76. package/dist/util/useId.cjs +16 -0
  77. package/dist/util/useId.js +14 -0
  78. package/package.json +48 -19
@@ -0,0 +1,162 @@
1
+ //#region src/styleD/build/typescript/component/badge.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentBadge: {
6
+ shared: {
7
+ display: string;
8
+ alignItems: string;
9
+ justifyContent: string;
10
+ };
11
+ size: {
12
+ md: {
13
+ padding: {
14
+ top: string;
15
+ right: string;
16
+ bottom: string;
17
+ left: string;
18
+ };
19
+ weight: {
20
+ strong: {
21
+ typography: {
22
+ font: string;
23
+ letterSpacing: string;
24
+ fontWidth: number;
25
+ };
26
+ };
27
+ light: {
28
+ typography: {
29
+ font: string;
30
+ letterSpacing: string;
31
+ fontWidth: number;
32
+ };
33
+ };
34
+ };
35
+ };
36
+ sm: {
37
+ padding: {
38
+ top: string;
39
+ right: string;
40
+ bottom: string;
41
+ left: string;
42
+ };
43
+ weight: {
44
+ strong: {
45
+ typography: {
46
+ font: string;
47
+ letterSpacing: string;
48
+ fontWidth: number;
49
+ };
50
+ };
51
+ light: {
52
+ typography: {
53
+ font: string;
54
+ letterSpacing: string;
55
+ fontWidth: number;
56
+ };
57
+ };
58
+ };
59
+ };
60
+ xs: {
61
+ padding: {
62
+ top: string;
63
+ right: string;
64
+ bottom: string;
65
+ left: string;
66
+ };
67
+ weight: {
68
+ strong: {
69
+ typography: {
70
+ font: string;
71
+ letterSpacing: string;
72
+ fontWidth: number;
73
+ };
74
+ };
75
+ light: {
76
+ typography: {
77
+ font: string;
78
+ letterSpacing: string;
79
+ fontWidth: number;
80
+ };
81
+ };
82
+ };
83
+ };
84
+ };
85
+ color: {
86
+ green: {
87
+ weight: {
88
+ strong: {
89
+ background: string;
90
+ color: string;
91
+ };
92
+ light: {
93
+ background: string;
94
+ color: string;
95
+ };
96
+ };
97
+ };
98
+ yellow: {
99
+ weight: {
100
+ strong: {
101
+ background: string;
102
+ color: string;
103
+ };
104
+ light: {
105
+ background: string;
106
+ color: string;
107
+ };
108
+ };
109
+ };
110
+ grey: {
111
+ weight: {
112
+ strong: {
113
+ background: string;
114
+ color: string;
115
+ };
116
+ light: {
117
+ background: string;
118
+ color: string;
119
+ };
120
+ };
121
+ };
122
+ orange: {
123
+ weight: {
124
+ strong: {
125
+ background: string;
126
+ color: string;
127
+ };
128
+ light: {
129
+ background: string;
130
+ color: string;
131
+ };
132
+ };
133
+ };
134
+ warmPurple: {
135
+ weight: {
136
+ strong: {
137
+ background: string;
138
+ color: string;
139
+ };
140
+ light: {
141
+ background: string;
142
+ color: string;
143
+ };
144
+ };
145
+ };
146
+ red: {
147
+ weight: {
148
+ strong: {
149
+ background: string;
150
+ color: string;
151
+ };
152
+ light: {
153
+ background: string;
154
+ color: string;
155
+ };
156
+ };
157
+ };
158
+ };
159
+ };
160
+ type ComponentBadge = typeof componentBadge;
161
+ //#endregion
162
+ export { ComponentBadge, componentBadge };
@@ -0,0 +1,162 @@
1
+ //#region src/styleD/build/typescript/component/badge.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentBadge: {
6
+ shared: {
7
+ display: string;
8
+ alignItems: string;
9
+ justifyContent: string;
10
+ };
11
+ size: {
12
+ md: {
13
+ padding: {
14
+ top: string;
15
+ right: string;
16
+ bottom: string;
17
+ left: string;
18
+ };
19
+ weight: {
20
+ strong: {
21
+ typography: {
22
+ font: string;
23
+ letterSpacing: string;
24
+ fontWidth: number;
25
+ };
26
+ };
27
+ light: {
28
+ typography: {
29
+ font: string;
30
+ letterSpacing: string;
31
+ fontWidth: number;
32
+ };
33
+ };
34
+ };
35
+ };
36
+ sm: {
37
+ padding: {
38
+ top: string;
39
+ right: string;
40
+ bottom: string;
41
+ left: string;
42
+ };
43
+ weight: {
44
+ strong: {
45
+ typography: {
46
+ font: string;
47
+ letterSpacing: string;
48
+ fontWidth: number;
49
+ };
50
+ };
51
+ light: {
52
+ typography: {
53
+ font: string;
54
+ letterSpacing: string;
55
+ fontWidth: number;
56
+ };
57
+ };
58
+ };
59
+ };
60
+ xs: {
61
+ padding: {
62
+ top: string;
63
+ right: string;
64
+ bottom: string;
65
+ left: string;
66
+ };
67
+ weight: {
68
+ strong: {
69
+ typography: {
70
+ font: string;
71
+ letterSpacing: string;
72
+ fontWidth: number;
73
+ };
74
+ };
75
+ light: {
76
+ typography: {
77
+ font: string;
78
+ letterSpacing: string;
79
+ fontWidth: number;
80
+ };
81
+ };
82
+ };
83
+ };
84
+ };
85
+ color: {
86
+ green: {
87
+ weight: {
88
+ strong: {
89
+ background: string;
90
+ color: string;
91
+ };
92
+ light: {
93
+ background: string;
94
+ color: string;
95
+ };
96
+ };
97
+ };
98
+ yellow: {
99
+ weight: {
100
+ strong: {
101
+ background: string;
102
+ color: string;
103
+ };
104
+ light: {
105
+ background: string;
106
+ color: string;
107
+ };
108
+ };
109
+ };
110
+ grey: {
111
+ weight: {
112
+ strong: {
113
+ background: string;
114
+ color: string;
115
+ };
116
+ light: {
117
+ background: string;
118
+ color: string;
119
+ };
120
+ };
121
+ };
122
+ orange: {
123
+ weight: {
124
+ strong: {
125
+ background: string;
126
+ color: string;
127
+ };
128
+ light: {
129
+ background: string;
130
+ color: string;
131
+ };
132
+ };
133
+ };
134
+ warmPurple: {
135
+ weight: {
136
+ strong: {
137
+ background: string;
138
+ color: string;
139
+ };
140
+ light: {
141
+ background: string;
142
+ color: string;
143
+ };
144
+ };
145
+ };
146
+ red: {
147
+ weight: {
148
+ strong: {
149
+ background: string;
150
+ color: string;
151
+ };
152
+ light: {
153
+ background: string;
154
+ color: string;
155
+ };
156
+ };
157
+ };
158
+ };
159
+ };
160
+ type ComponentBadge = typeof componentBadge;
161
+ //#endregion
162
+ export { ComponentBadge, componentBadge };
@@ -0,0 +1,137 @@
1
+ //#region src/styleD/build/typescript/component/badge.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ const componentBadge = {
6
+ shared: {
7
+ display: "inline-flex",
8
+ alignItems: "center",
9
+ justifyContent: "center"
10
+ },
11
+ size: {
12
+ md: {
13
+ padding: {
14
+ top: "4px",
15
+ right: "12px",
16
+ bottom: "4px",
17
+ left: "12px"
18
+ },
19
+ weight: {
20
+ strong: { typography: {
21
+ font: "normal 700 1rem/1.15 Open Sans",
22
+ letterSpacing: "-0.03125rem",
23
+ fontWidth: 95
24
+ } },
25
+ light: { typography: {
26
+ font: "normal 460 1rem/1.3 Open Sans",
27
+ letterSpacing: "0rem",
28
+ fontWidth: 95
29
+ } }
30
+ }
31
+ },
32
+ sm: {
33
+ padding: {
34
+ top: "4px",
35
+ right: "8px",
36
+ bottom: "4px",
37
+ left: "8px"
38
+ },
39
+ weight: {
40
+ strong: { typography: {
41
+ font: "normal 700 0.875rem/1.15 Open Sans",
42
+ letterSpacing: "-0.0125rem",
43
+ fontWidth: 95
44
+ } },
45
+ light: { typography: {
46
+ font: "normal 460 0.875rem/1.3 Open Sans",
47
+ letterSpacing: "0rem",
48
+ fontWidth: 95
49
+ } }
50
+ }
51
+ },
52
+ xs: {
53
+ padding: {
54
+ top: "1px",
55
+ right: "6px",
56
+ bottom: "3px",
57
+ left: "6px"
58
+ },
59
+ weight: {
60
+ strong: { typography: {
61
+ font: "normal 700 0.75rem/1.15 Open Sans",
62
+ letterSpacing: "0rem",
63
+ fontWidth: 95
64
+ } },
65
+ light: { typography: {
66
+ font: "normal 460 0.75rem/1.3 Open Sans",
67
+ letterSpacing: "0rem",
68
+ fontWidth: 95
69
+ } }
70
+ }
71
+ }
72
+ },
73
+ color: {
74
+ green: { weight: {
75
+ strong: {
76
+ background: "#aed2a6",
77
+ color: "#000000"
78
+ },
79
+ light: {
80
+ background: "#cde4c9",
81
+ color: "#24491d"
82
+ }
83
+ } },
84
+ yellow: { weight: {
85
+ strong: {
86
+ background: "#f1c21b",
87
+ color: "#000000"
88
+ },
89
+ light: {
90
+ background: "#ffedac",
91
+ color: "#5b4a0b"
92
+ }
93
+ } },
94
+ grey: { weight: {
95
+ strong: {
96
+ background: "#dcdcdc",
97
+ color: "#000000"
98
+ },
99
+ light: {
100
+ background: "#dcdcdc",
101
+ color: "#000000"
102
+ }
103
+ } },
104
+ orange: { weight: {
105
+ strong: {
106
+ background: "#fac7a1",
107
+ color: "#000000"
108
+ },
109
+ light: {
110
+ background: "#fcddc6",
111
+ color: "#693c16"
112
+ }
113
+ } },
114
+ warmPurple: { weight: {
115
+ strong: {
116
+ background: "#dac3e8",
117
+ color: "#000000"
118
+ },
119
+ light: {
120
+ background: "#dac3e8",
121
+ color: "#381350"
122
+ }
123
+ } },
124
+ red: { weight: {
125
+ strong: {
126
+ background: "#eea198",
127
+ color: "#000000"
128
+ },
129
+ light: {
130
+ background: "#f5c6c0",
131
+ color: "#65170e"
132
+ }
133
+ } }
134
+ }
135
+ };
136
+ //#endregion
137
+ export { componentBadge };
@@ -0,0 +1,68 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ const componentSidebarStepperNavigation = {
6
+ mobileToggle: { shared: {
7
+ border: "0.125rem solid #cccccc",
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "space-between",
11
+ height: "4.5rem",
12
+ paddingInline: "1rem",
13
+ width: "100%",
14
+ backgroundColor: "#f6f6f6",
15
+ hovered: { backgroundColor: "#ededed" },
16
+ pressed: { backgroundColor: "#e6e6e6" }
17
+ } },
18
+ navigation: { shared: {
19
+ border: "0.0625rem solid #8d8d8d",
20
+ flexDirection: "column",
21
+ height: "100%"
22
+ } },
23
+ statusRow: { shared: {
24
+ display: "flex",
25
+ gap: "0.375rem",
26
+ alignItems: "center",
27
+ text: {
28
+ color: "#545454",
29
+ disabledColor: "#999999"
30
+ },
31
+ icon: {
32
+ size: "1rem",
33
+ optionalColor: "#cde4c9",
34
+ completeColor: "#326528",
35
+ incompleteColor: "#8c2113"
36
+ }
37
+ } },
38
+ step: { shared: {
39
+ height: "4.5rem",
40
+ backgroundColor: "#ffffff",
41
+ currentBackgroundColor: "#f6f6f6",
42
+ cursor: "pointer",
43
+ disabledCursor: "default",
44
+ border: "0.0625rem solid #cccccc",
45
+ text: {
46
+ color: "#000000",
47
+ disabledColor: "#999999",
48
+ inverseColor: "#ffffff"
49
+ },
50
+ numberColumnWidth: "2rem"
51
+ } },
52
+ stepNumber: { shared: {
53
+ height: "100%",
54
+ backgroundColor: "#005d8b",
55
+ display: "flex",
56
+ alignItems: "center",
57
+ justifyContent: "center"
58
+ } },
59
+ stepContent: { shared: {
60
+ display: "flex",
61
+ flexDirection: "column",
62
+ justifyContent: "center",
63
+ gap: "0.25rem",
64
+ marginLeft: "0.75rem"
65
+ } }
66
+ };
67
+ //#endregion
68
+ exports.componentSidebarStepperNavigation = componentSidebarStepperNavigation;
@@ -0,0 +1,85 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentSidebarStepperNavigation: {
6
+ mobileToggle: {
7
+ shared: {
8
+ border: string;
9
+ display: string;
10
+ alignItems: string;
11
+ justifyContent: string;
12
+ height: string;
13
+ paddingInline: string;
14
+ width: string;
15
+ backgroundColor: string;
16
+ hovered: {
17
+ backgroundColor: string;
18
+ };
19
+ pressed: {
20
+ backgroundColor: string;
21
+ };
22
+ };
23
+ };
24
+ navigation: {
25
+ shared: {
26
+ border: string;
27
+ flexDirection: string;
28
+ height: string;
29
+ };
30
+ };
31
+ statusRow: {
32
+ shared: {
33
+ display: string;
34
+ gap: string;
35
+ alignItems: string;
36
+ text: {
37
+ color: string;
38
+ disabledColor: string;
39
+ };
40
+ icon: {
41
+ size: string;
42
+ optionalColor: string;
43
+ completeColor: string;
44
+ incompleteColor: string;
45
+ };
46
+ };
47
+ };
48
+ step: {
49
+ shared: {
50
+ height: string;
51
+ backgroundColor: string;
52
+ currentBackgroundColor: string;
53
+ cursor: string;
54
+ disabledCursor: string;
55
+ border: string;
56
+ text: {
57
+ color: string;
58
+ disabledColor: string;
59
+ inverseColor: string;
60
+ };
61
+ numberColumnWidth: string;
62
+ };
63
+ };
64
+ stepNumber: {
65
+ shared: {
66
+ height: string;
67
+ backgroundColor: string;
68
+ display: string;
69
+ alignItems: string;
70
+ justifyContent: string;
71
+ };
72
+ };
73
+ stepContent: {
74
+ shared: {
75
+ display: string;
76
+ flexDirection: string;
77
+ justifyContent: string;
78
+ gap: string;
79
+ marginLeft: string;
80
+ };
81
+ };
82
+ };
83
+ type ComponentSidebarStepperNavigation = typeof componentSidebarStepperNavigation;
84
+ //#endregion
85
+ export { ComponentSidebarStepperNavigation, componentSidebarStepperNavigation };
@@ -0,0 +1,85 @@
1
+ //#region src/styleD/build/typescript/component/sidebarStepperNavigation.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentSidebarStepperNavigation: {
6
+ mobileToggle: {
7
+ shared: {
8
+ border: string;
9
+ display: string;
10
+ alignItems: string;
11
+ justifyContent: string;
12
+ height: string;
13
+ paddingInline: string;
14
+ width: string;
15
+ backgroundColor: string;
16
+ hovered: {
17
+ backgroundColor: string;
18
+ };
19
+ pressed: {
20
+ backgroundColor: string;
21
+ };
22
+ };
23
+ };
24
+ navigation: {
25
+ shared: {
26
+ border: string;
27
+ flexDirection: string;
28
+ height: string;
29
+ };
30
+ };
31
+ statusRow: {
32
+ shared: {
33
+ display: string;
34
+ gap: string;
35
+ alignItems: string;
36
+ text: {
37
+ color: string;
38
+ disabledColor: string;
39
+ };
40
+ icon: {
41
+ size: string;
42
+ optionalColor: string;
43
+ completeColor: string;
44
+ incompleteColor: string;
45
+ };
46
+ };
47
+ };
48
+ step: {
49
+ shared: {
50
+ height: string;
51
+ backgroundColor: string;
52
+ currentBackgroundColor: string;
53
+ cursor: string;
54
+ disabledCursor: string;
55
+ border: string;
56
+ text: {
57
+ color: string;
58
+ disabledColor: string;
59
+ inverseColor: string;
60
+ };
61
+ numberColumnWidth: string;
62
+ };
63
+ };
64
+ stepNumber: {
65
+ shared: {
66
+ height: string;
67
+ backgroundColor: string;
68
+ display: string;
69
+ alignItems: string;
70
+ justifyContent: string;
71
+ };
72
+ };
73
+ stepContent: {
74
+ shared: {
75
+ display: string;
76
+ flexDirection: string;
77
+ justifyContent: string;
78
+ gap: string;
79
+ marginLeft: string;
80
+ };
81
+ };
82
+ };
83
+ type ComponentSidebarStepperNavigation = typeof componentSidebarStepperNavigation;
84
+ //#endregion
85
+ export { ComponentSidebarStepperNavigation, componentSidebarStepperNavigation };