@primer/components 0.0.0-202194215716 → 0.0.0-20219423592

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.
@@ -1,9 +1,9 @@
1
1
  import React, { Key } from 'react';
2
2
  import type { AriaRole } from '../utils/types';
3
3
  import { Group, GroupProps } from './Group';
4
- import { Item, ItemProps } from './Item';
4
+ import { ItemProps } from './Item';
5
5
  declare type RenderItemFn = (props: ItemProps) => React.ReactElement;
6
- export declare type ItemInput = Parameters<typeof Item>[0] | ((Partial<Parameters<typeof Item>[0]> & {
6
+ export declare type ItemInput = (ItemProps & Omit<React.ComponentPropsWithoutRef<'div'>, keyof ItemProps>) | ((Partial<ItemProps> & {
7
7
  renderItem: RenderItemFn;
8
8
  }) & {
9
9
  key?: Key;
@@ -1,9 +1,9 @@
1
1
  import React, { Key } from 'react';
2
2
  import type { AriaRole } from '../utils/types';
3
3
  import { Group, GroupProps } from './Group';
4
- import { Item, ItemProps } from './Item';
4
+ import { ItemProps } from './Item';
5
5
  declare type RenderItemFn = (props: ItemProps) => React.ReactElement;
6
- export declare type ItemInput = Parameters<typeof Item>[0] | ((Partial<Parameters<typeof Item>[0]> & {
6
+ export declare type ItemInput = (ItemProps & Omit<React.ComponentPropsWithoutRef<'div'>, keyof ItemProps>) | ((Partial<ItemProps> & {
7
7
  renderItem: RenderItemFn;
8
8
  }) & {
9
9
  key?: Key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/components",
3
- "version": "0.0.0-202194215716",
3
+ "version": "0.0.0-20219423592",
4
4
  "description": "Primer react components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",