shelving 1.253.3 → 1.253.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shelving",
3
- "version": "1.253.3",
3
+ "version": "1.253.4",
4
4
  "author": "Dave Houlbrooke <dave@shax.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @see https://dhoulb.github.io/shelving/ui/style/Space/SpaceValue
5
5
  */
6
- export type SpaceValue = "none" | "xxsmall" | "xsmall" | "small" | "normal" | "large" | "xlarge" | "xxlarge" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x";
6
+ export type SpaceValue = "section" | "paragraph" | "none" | "xxsmall" | "xsmall" | "small" | "normal" | "large" | "xlarge" | "xxlarge" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x";
7
7
  /**
8
8
  * Variants to control block spacing on components, e.g. `space="large"`.
9
9
  *
@@ -75,4 +75,11 @@
75
75
  .space-10x {
76
76
  margin-block: calc(var(--space-normal) * 10);
77
77
  }
78
+
79
+ .space-section {
80
+ margin-block: var(--space-section);
81
+ }
82
+ .space-paragraph {
83
+ margin-block: var(--space-paragraph);
84
+ }
78
85
  }
@@ -7,6 +7,8 @@ import SPACE_CSS from "./Space.module.css";
7
7
  * @see https://dhoulb.github.io/shelving/ui/style/Space/SpaceValue
8
8
  */
9
9
  export type SpaceValue =
10
+ | "section"
11
+ | "paragraph"
10
12
  | "none"
11
13
  | "xxsmall"
12
14
  | "xsmall"