@pingux/astro 2.146.0-alpha.0 → 2.146.0-alpha.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.
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ListLayout } from '@react-stately/layout';
3
3
  import { ListViewProps } from '../../types/listView';
4
+ import { ExampleItemProps } from './ListView.stories';
4
5
  export declare const collectionTypes: {
5
6
  ITEM: string;
6
7
  LOADER: string;
7
8
  PLACEHOLDER: string;
8
9
  };
9
10
  export declare function useListLayout(state: any): ListLayout<unknown>;
10
- declare const ListView: React.ForwardRefExoticComponent<ListViewProps & React.RefAttributes<unknown>>;
11
+ declare const ListView: React.ForwardRefExoticComponent<ListViewProps<ExampleItemProps> & React.RefAttributes<unknown>>;
11
12
  export default ListView;
@@ -5,7 +5,7 @@ import type { GridNode } from '@react-types/grid';
5
5
  import { ThemeUICSSObject } from 'theme-ui';
6
6
  import { ExampleItemProps } from '../components/ListView/ListView.stories';
7
7
  export type SelectionOptions = 'expansion' | 'single' | 'multiple' | 'none';
8
- export interface ListViewProps extends Omit<TreeProps<ExampleItemProps>, 'selectionMode'> {
8
+ export interface ListViewProps<T extends ExampleItemProps> extends Omit<TreeProps<T>, 'selectionMode'> {
9
9
  selectionStyle?: string;
10
10
  isHoverable?: boolean;
11
11
  loadingState?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.146.0-alpha.0",
3
+ "version": "2.146.0-alpha.1",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",