@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.
Files changed (62) hide show
  1. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.cjs +20 -39
  2. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +1 -1
  3. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +1 -1
  4. package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.js +21 -40
  5. package/dist/components/IntendedAudienceSignifier/types.d.cts +3 -4
  6. package/dist/components/IntendedAudienceSignifier/types.d.ts +3 -4
  7. package/dist/components/Layout/Layout.cjs +6 -2
  8. package/dist/components/Layout/Layout.js +6 -2
  9. package/dist/components/Layout/styles.cjs +27 -1
  10. package/dist/components/Layout/styles.js +27 -1
  11. package/dist/components/Layout/types.d.cts +10 -0
  12. package/dist/components/Layout/types.d.ts +10 -0
  13. package/dist/index.cjs +4 -0
  14. package/dist/index.d.cts +3 -1
  15. package/dist/index.d.ts +3 -1
  16. package/dist/index.js +3 -1
  17. package/dist/styleD/build/css/base/typography.css +2 -2
  18. package/dist/styleD/build/css/component/alertBanner.css +1 -1
  19. package/dist/styleD/build/css/component/autocomplete.css +1 -1
  20. package/dist/styleD/build/css/component/avatar.css +1 -1
  21. package/dist/styleD/build/css/component/button.css +3 -3
  22. package/dist/styleD/build/css/component/checkbox.css +2 -2
  23. package/dist/styleD/build/css/component/datePicker.css +1 -1
  24. package/dist/styleD/build/css/component/favicon.css +1 -1
  25. package/dist/styleD/build/css/component/form.css +1 -1
  26. package/dist/styleD/build/css/component/inlineMessage.css +1 -1
  27. package/dist/styleD/build/css/component/layout.css +6 -0
  28. package/dist/styleD/build/css/component/menu.css +3 -3
  29. package/dist/styleD/build/css/component/radioGroup.css +3 -3
  30. package/dist/styleD/build/css/component/select.css +2 -2
  31. package/dist/styleD/build/css/component/tagTable.css +1 -1
  32. package/dist/styleD/build/css/component/textArea.css +2 -2
  33. package/dist/styleD/build/css/component/textInput.css +2 -2
  34. package/dist/styleD/build/css/component/topBar.css +2 -2
  35. package/dist/styleD/build/css/component/userMenu.css +6 -6
  36. package/dist/styleD/build/css/semantic/breakpoints.css +1 -1
  37. package/dist/styleD/build/css/semantic/colors.css +1 -0
  38. package/dist/styleD/build/css/semantic/grid.css +6 -0
  39. package/dist/styleD/build/css/semantic/radius.css +9 -0
  40. package/dist/styleD/build/css/semantic/spacing.css +12 -0
  41. package/dist/styleD/build/css/semantic/typography.css +61 -61
  42. package/dist/styleD/build/typescript/component/layout.cjs +13 -1
  43. package/dist/styleD/build/typescript/component/layout.d.cts +18 -0
  44. package/dist/styleD/build/typescript/component/layout.d.ts +18 -0
  45. package/dist/styleD/build/typescript/component/layout.js +13 -1
  46. package/dist/styleD/build/typescript/semantic/colors.cjs +2 -1
  47. package/dist/styleD/build/typescript/semantic/colors.d.cts +1 -0
  48. package/dist/styleD/build/typescript/semantic/colors.d.ts +1 -0
  49. package/dist/styleD/build/typescript/semantic/colors.js +2 -1
  50. package/dist/styleD/build/typescript/semantic/grid.cjs +7 -1
  51. package/dist/styleD/build/typescript/semantic/grid.d.cts +6 -0
  52. package/dist/styleD/build/typescript/semantic/grid.d.ts +6 -0
  53. package/dist/styleD/build/typescript/semantic/grid.js +7 -1
  54. package/dist/styleD/build/typescript/semantic/radius.cjs +11 -0
  55. package/dist/styleD/build/typescript/semantic/radius.d.cts +12 -0
  56. package/dist/styleD/build/typescript/semantic/radius.d.ts +12 -0
  57. package/dist/styleD/build/typescript/semantic/radius.js +11 -0
  58. package/dist/styleD/build/typescript/semantic/spacing.cjs +14 -0
  59. package/dist/styleD/build/typescript/semantic/spacing.d.cts +15 -0
  60. package/dist/styleD/build/typescript/semantic/spacing.d.ts +15 -0
  61. package/dist/styleD/build/typescript/semantic/spacing.js +14 -0
  62. package/package.json +3 -1
@@ -12,6 +12,12 @@ declare const semanticGrid: {
12
12
  lgPx: string;
13
13
  mdPx: string;
14
14
  smPx: string;
15
+ topLgPx: string;
16
+ topMdPx: string;
17
+ topSmPx: string;
18
+ bottomLgPx: string;
19
+ bottomMdPx: string;
20
+ bottomSmPx: string;
15
21
  };
16
22
  columns: {
17
23
  lg: number;
@@ -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.41",
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",