@atlaskit/primitives 1.6.4 → 1.6.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/primitives
2
2
 
3
+ ## 1.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41563](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41563) [`50de1ccacd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50de1ccacd7) - Additional documentation details for alignment props on Inline and Stack.
8
+
3
9
  ## 1.6.4
4
10
 
5
11
  ### Patch Changes
@@ -8,11 +8,11 @@ export type InlineProps<T extends ElementType = 'div'> = {
8
8
  */
9
9
  as?: 'div' | 'span' | 'ul' | 'ol' | 'li';
10
10
  /**
11
- * Used to align children along the main axis.
11
+ * Used to align children along the block axis (typically vertical).
12
12
  */
13
13
  alignBlock?: AlignBlock;
14
14
  /**
15
- * Used to align children along the cross axis.
15
+ * Used to align children along the inline axis (typically horizontal).
16
16
  */
17
17
  alignInline?: AlignInline;
18
18
  /**
@@ -69,11 +69,11 @@ declare const Inline: import("react").MemoExoticComponent<import("react").Forwar
69
69
  */
70
70
  as?: "div" | "li" | "ol" | "span" | "ul" | undefined;
71
71
  /**
72
- * Used to align children along the main axis.
72
+ * Used to align children along the block axis (typically vertical).
73
73
  */
74
74
  alignBlock?: AlignBlock | undefined;
75
75
  /**
76
- * Used to align children along the cross axis.
76
+ * Used to align children along the inline axis (typically horizontal).
77
77
  */
78
78
  alignInline?: AlignInline | undefined;
79
79
  /**
@@ -8,11 +8,11 @@ export type StackProps<T extends ElementType = 'div'> = {
8
8
  */
9
9
  as?: 'div' | 'span' | 'ul' | 'ol';
10
10
  /**
11
- * Used to align children along the main axis.
11
+ * Used to align children along the block axis (typically vertical).
12
12
  */
13
13
  alignBlock?: Exclude<AlignBlock, 'baseline'>;
14
14
  /**
15
- * Used to align children along the cross axis.
15
+ * Used to align children along the inline axis (typically horizontal).
16
16
  */
17
17
  alignInline?: AlignInline;
18
18
  /**
@@ -56,11 +56,11 @@ declare const Stack: import("react").MemoExoticComponent<import("react").Forward
56
56
  */
57
57
  as?: "div" | "ol" | "span" | "ul" | undefined;
58
58
  /**
59
- * Used to align children along the main axis.
59
+ * Used to align children along the block axis (typically vertical).
60
60
  */
61
61
  alignBlock?: "stretch" | "center" | "end" | "start" | undefined;
62
62
  /**
63
- * Used to align children along the cross axis.
63
+ * Used to align children along the inline axis (typically horizontal).
64
64
  */
65
65
  alignInline?: AlignInline | undefined;
66
66
  /**
@@ -8,11 +8,11 @@ export type InlineProps<T extends ElementType = 'div'> = {
8
8
  */
9
9
  as?: 'div' | 'span' | 'ul' | 'ol' | 'li';
10
10
  /**
11
- * Used to align children along the main axis.
11
+ * Used to align children along the block axis (typically vertical).
12
12
  */
13
13
  alignBlock?: AlignBlock;
14
14
  /**
15
- * Used to align children along the cross axis.
15
+ * Used to align children along the inline axis (typically horizontal).
16
16
  */
17
17
  alignInline?: AlignInline;
18
18
  /**
@@ -69,11 +69,11 @@ declare const Inline: import("react").MemoExoticComponent<import("react").Forwar
69
69
  */
70
70
  as?: "div" | "li" | "ol" | "span" | "ul" | undefined;
71
71
  /**
72
- * Used to align children along the main axis.
72
+ * Used to align children along the block axis (typically vertical).
73
73
  */
74
74
  alignBlock?: AlignBlock | undefined;
75
75
  /**
76
- * Used to align children along the cross axis.
76
+ * Used to align children along the inline axis (typically horizontal).
77
77
  */
78
78
  alignInline?: AlignInline | undefined;
79
79
  /**
@@ -8,11 +8,11 @@ export type StackProps<T extends ElementType = 'div'> = {
8
8
  */
9
9
  as?: 'div' | 'span' | 'ul' | 'ol';
10
10
  /**
11
- * Used to align children along the main axis.
11
+ * Used to align children along the block axis (typically vertical).
12
12
  */
13
13
  alignBlock?: Exclude<AlignBlock, 'baseline'>;
14
14
  /**
15
- * Used to align children along the cross axis.
15
+ * Used to align children along the inline axis (typically horizontal).
16
16
  */
17
17
  alignInline?: AlignInline;
18
18
  /**
@@ -56,11 +56,11 @@ declare const Stack: import("react").MemoExoticComponent<import("react").Forward
56
56
  */
57
57
  as?: "div" | "ol" | "span" | "ul" | undefined;
58
58
  /**
59
- * Used to align children along the main axis.
59
+ * Used to align children along the block axis (typically vertical).
60
60
  */
61
61
  alignBlock?: "stretch" | "center" | "end" | "start" | undefined;
62
62
  /**
63
- * Used to align children along the cross axis.
63
+ * Used to align children along the inline axis (typically horizontal).
64
64
  */
65
65
  alignInline?: AlignInline | undefined;
66
66
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"