@atlaskit/primitives 0.12.0 → 0.12.1

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
+ ## 0.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3f273cdd54f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f273cdd54f) - Allow for an Inline list item.
8
+
3
9
  ## 0.12.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,7 @@ export interface InlineProps<T extends ElementType = 'div'> {
5
5
  /**
6
6
  * The DOM element to render as the Inline. Defaults to `div`.
7
7
  */
8
- as?: 'div' | 'span' | 'ul' | 'ol';
8
+ as?: 'div' | 'span' | 'ul' | 'ol' | 'li';
9
9
  /**
10
10
  * Used to align children along the main axis.
11
11
  */
@@ -5,7 +5,7 @@ export interface InlineProps<T extends ElementType = 'div'> {
5
5
  /**
6
6
  * The DOM element to render as the Inline. Defaults to `div`.
7
7
  */
8
- as?: 'div' | 'span' | 'ul' | 'ol';
8
+ as?: 'div' | 'span' | 'ul' | 'ol' | 'li';
9
9
  /**
10
10
  * Used to align children along the main axis.
11
11
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
package/report.api.md CHANGED
@@ -454,7 +454,7 @@ export const Inline: MemoExoticComponent<
454
454
  export interface InlineProps<T extends ElementType = 'div'> {
455
455
  alignBlock?: AlignBlock;
456
456
  alignInline?: AlignInline;
457
- as?: 'div' | 'ol' | 'span' | 'ul';
457
+ as?: 'div' | 'li' | 'ol' | 'span' | 'ul';
458
458
  children: ReactNode;
459
459
  grow?: Grow;
460
460
  ref?: React.ComponentPropsWithRef<T>['ref'];
@@ -398,7 +398,7 @@ export const Inline: MemoExoticComponent<ForwardRefExoticComponent<Pick<InlinePr
398
398
  export interface InlineProps<T extends ElementType = 'div'> {
399
399
  alignBlock?: AlignBlock;
400
400
  alignInline?: AlignInline;
401
- as?: 'div' | 'ol' | 'span' | 'ul';
401
+ as?: 'div' | 'li' | 'ol' | 'span' | 'ul';
402
402
  children: ReactNode;
403
403
  grow?: Grow;
404
404
  ref?: React.ComponentPropsWithRef<T>['ref'];