@guardian/stand 0.0.41 → 0.0.43
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/components/IntendedAudienceSignifier/IntendedAudienceSignifier.cjs +20 -39
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +1 -1
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +1 -1
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.js +21 -40
- package/dist/components/IntendedAudienceSignifier/types.d.cts +3 -4
- package/dist/components/IntendedAudienceSignifier/types.d.ts +3 -4
- package/dist/components/Layout/Layout.cjs +6 -2
- package/dist/components/Layout/Layout.js +6 -2
- package/dist/components/Layout/styles.cjs +27 -1
- package/dist/components/Layout/styles.js +27 -1
- package/dist/components/Layout/types.d.cts +10 -0
- package/dist/components/Layout/types.d.ts +10 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/styleD/build/css/base/typography.css +2 -2
- package/dist/styleD/build/css/component/alertBanner.css +1 -1
- package/dist/styleD/build/css/component/autocomplete.css +1 -1
- package/dist/styleD/build/css/component/avatar.css +1 -1
- package/dist/styleD/build/css/component/button.css +3 -3
- package/dist/styleD/build/css/component/checkbox.css +2 -2
- package/dist/styleD/build/css/component/datePicker.css +1 -1
- package/dist/styleD/build/css/component/favicon.css +1 -1
- package/dist/styleD/build/css/component/form.css +1 -1
- package/dist/styleD/build/css/component/inlineMessage.css +1 -1
- package/dist/styleD/build/css/component/layout.css +6 -0
- package/dist/styleD/build/css/component/menu.css +3 -3
- package/dist/styleD/build/css/component/radioGroup.css +3 -3
- package/dist/styleD/build/css/component/select.css +2 -2
- package/dist/styleD/build/css/component/tagTable.css +1 -1
- package/dist/styleD/build/css/component/textArea.css +2 -2
- package/dist/styleD/build/css/component/textInput.css +2 -2
- package/dist/styleD/build/css/component/topBar.css +2 -2
- package/dist/styleD/build/css/component/userMenu.css +6 -6
- package/dist/styleD/build/css/semantic/breakpoints.css +1 -1
- package/dist/styleD/build/css/semantic/colors.css +1 -0
- package/dist/styleD/build/css/semantic/grid.css +6 -0
- package/dist/styleD/build/css/semantic/radius.css +9 -0
- package/dist/styleD/build/css/semantic/spacing.css +12 -0
- package/dist/styleD/build/css/semantic/typography.css +61 -61
- package/dist/styleD/build/typescript/component/layout.cjs +13 -1
- package/dist/styleD/build/typescript/component/layout.d.cts +18 -0
- package/dist/styleD/build/typescript/component/layout.d.ts +18 -0
- package/dist/styleD/build/typescript/component/layout.js +13 -1
- package/dist/styleD/build/typescript/semantic/colors.cjs +2 -1
- package/dist/styleD/build/typescript/semantic/colors.d.cts +1 -0
- package/dist/styleD/build/typescript/semantic/colors.d.ts +1 -0
- package/dist/styleD/build/typescript/semantic/colors.js +2 -1
- package/dist/styleD/build/typescript/semantic/grid.cjs +7 -1
- package/dist/styleD/build/typescript/semantic/grid.d.cts +6 -0
- package/dist/styleD/build/typescript/semantic/grid.d.ts +6 -0
- package/dist/styleD/build/typescript/semantic/grid.js +7 -1
- package/dist/styleD/build/typescript/semantic/radius.cjs +11 -0
- package/dist/styleD/build/typescript/semantic/radius.d.cts +12 -0
- package/dist/styleD/build/typescript/semantic/radius.d.ts +12 -0
- package/dist/styleD/build/typescript/semantic/radius.js +11 -0
- package/dist/styleD/build/typescript/semantic/spacing.cjs +14 -0
- package/dist/styleD/build/typescript/semantic/spacing.d.cts +15 -0
- package/dist/styleD/build/typescript/semantic/spacing.d.ts +15 -0
- package/dist/styleD/build/typescript/semantic/spacing.js +14 -0
- package/package.json +3 -1
|
@@ -11,7 +11,13 @@ const semanticGrid = {
|
|
|
11
11
|
margin: {
|
|
12
12
|
lgPx: "24px",
|
|
13
13
|
mdPx: "24px",
|
|
14
|
-
smPx: "16px"
|
|
14
|
+
smPx: "16px",
|
|
15
|
+
topLgPx: "48px",
|
|
16
|
+
topMdPx: "28px",
|
|
17
|
+
topSmPx: "24px",
|
|
18
|
+
bottomLgPx: "64px",
|
|
19
|
+
bottomMdPx: "64px",
|
|
20
|
+
bottomSmPx: "64px"
|
|
15
21
|
},
|
|
16
22
|
columns: {
|
|
17
23
|
lg: 12,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/radius.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const semanticRadius = {
|
|
6
|
+
cornerXs: "0.125rem",
|
|
7
|
+
cornerSm: "0.25rem",
|
|
8
|
+
cornerMd: "0.5rem"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
exports.semanticRadius = semanticRadius;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/radius.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const semanticRadius: {
|
|
6
|
+
cornerXs: string;
|
|
7
|
+
cornerSm: string;
|
|
8
|
+
cornerMd: string;
|
|
9
|
+
};
|
|
10
|
+
type SemanticRadius = typeof semanticRadius;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SemanticRadius, semanticRadius };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/radius.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const semanticRadius: {
|
|
6
|
+
cornerXs: string;
|
|
7
|
+
cornerSm: string;
|
|
8
|
+
cornerMd: string;
|
|
9
|
+
};
|
|
10
|
+
type SemanticRadius = typeof semanticRadius;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SemanticRadius, semanticRadius };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/radius.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const semanticRadius = {
|
|
6
|
+
cornerXs: "0.125rem",
|
|
7
|
+
cornerSm: "0.25rem",
|
|
8
|
+
cornerMd: "0.5rem"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { semanticRadius };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/spacing.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const semanticSpacing = {
|
|
6
|
+
stackXxs: "0.25rem",
|
|
7
|
+
stackXs: "0.5rem",
|
|
8
|
+
stackSm: "0.75rem",
|
|
9
|
+
stackMd: "1rem",
|
|
10
|
+
stackLg: "2rem",
|
|
11
|
+
stackXl: "2.5rem"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.semanticSpacing = semanticSpacing;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/spacing.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const semanticSpacing: {
|
|
6
|
+
stackXxs: string;
|
|
7
|
+
stackXs: string;
|
|
8
|
+
stackSm: string;
|
|
9
|
+
stackMd: string;
|
|
10
|
+
stackLg: string;
|
|
11
|
+
stackXl: string;
|
|
12
|
+
};
|
|
13
|
+
type SemanticSpacing = typeof semanticSpacing;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { SemanticSpacing, semanticSpacing };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/spacing.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const semanticSpacing: {
|
|
6
|
+
stackXxs: string;
|
|
7
|
+
stackXs: string;
|
|
8
|
+
stackSm: string;
|
|
9
|
+
stackMd: string;
|
|
10
|
+
stackLg: string;
|
|
11
|
+
stackXl: string;
|
|
12
|
+
};
|
|
13
|
+
type SemanticSpacing = typeof semanticSpacing;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { SemanticSpacing, semanticSpacing };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/semantic/spacing.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const semanticSpacing = {
|
|
6
|
+
stackXxs: "0.25rem",
|
|
7
|
+
stackXs: "0.5rem",
|
|
8
|
+
stackSm: "0.75rem",
|
|
9
|
+
stackMd: "1rem",
|
|
10
|
+
stackLg: "2rem",
|
|
11
|
+
stackXl: "2.5rem"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { semanticSpacing };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guardian/stand",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/guardian/stand"
|
|
6
6
|
},
|
|
@@ -323,6 +323,8 @@
|
|
|
323
323
|
"./semantic/typography.css": "./dist/styleD/build/css/semantic/typography.css",
|
|
324
324
|
"./semantic/sizing.css": "./dist/styleD/build/css/semantic/sizing.css",
|
|
325
325
|
"./semantic/shadow.css": "./dist/styleD/build/css/semantic/shadow.css",
|
|
326
|
+
"./semantic/spacing.css": "./dist/styleD/build/css/semantic/spacing.css",
|
|
327
|
+
"./semantic/radius.css": "./dist/styleD/build/css/semantic/radius.css",
|
|
326
328
|
"./component/byline.css": "./dist/styleD/build/css/component/byline.css",
|
|
327
329
|
"./component/autocomplete.css": "./dist/styleD/build/css/component/autocomplete.css",
|
|
328
330
|
"./component/tagTable.css": "./dist/styleD/build/css/component/tagTable.css",
|