@toptal/picasso-lab 24.0.0 → 26.0.0

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.
@@ -3,7 +3,7 @@ import { BaseProps } from '@toptal/picasso-shared';
3
3
  import { DayProps } from './types';
4
4
  export declare type DateOrDateRangeType = Date | DateRangeType;
5
5
  export declare type DateRangeType = [Date, Date];
6
- export { DayProps };
6
+ export type { DayProps };
7
7
  export interface Props extends BaseProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur'> {
8
8
  onChange: (value: DateOrDateRangeType) => void;
9
9
  onBlur?: (event: React.FocusEvent<HTMLDivElement>) => void;
@@ -1,17 +1,16 @@
1
- import React, { ReactElement } from 'react';
1
+ import React from 'react';
2
2
  import { BaseProps } from '@toptal/picasso-shared';
3
- import { TimelineRowProps } from '../TimelineRow';
4
3
  export declare type Props = BaseProps & {
5
4
  /** Timeline rows */
6
- children: ReactElement<TimelineRowProps> | ReactElement<TimelineRowProps>[];
5
+ children: React.ReactNode;
7
6
  };
8
7
  export declare const Timeline: React.ForwardRefExoticComponent<BaseProps & {
9
8
  /** Timeline rows */
10
- children: ReactElement<TimelineRowProps> | ReactElement<TimelineRowProps>[];
9
+ children: React.ReactNode;
11
10
  } & React.RefAttributes<HTMLDivElement>>;
12
11
  declare const _default: React.ForwardRefExoticComponent<BaseProps & {
13
12
  /** Timeline rows */
14
- children: React.ReactElement<TimelineRowProps, string | React.JSXElementConstructor<any>> | React.ReactElement<TimelineRowProps, string | React.JSXElementConstructor<any>>[];
13
+ children: React.ReactNode;
15
14
  } & React.RefAttributes<HTMLDivElement>> & {
16
15
  Row: {
17
16
  ({ className, children, icon, date, hasConnector, "data-testid": dataTestId, testIds }: import("../TimelineRow/TimelineRow").Props): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.js","sourceRoot":"","sources":["../../src/Timeline/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EA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 @@
1
1
  {
2
2
  "name": "@toptal/picasso-lab",
3
- "version": "24.0.0",
3
+ "version": "26.0.0",
4
4
  "description": "Lab components of Picasso",
5
5
  "author": "Toptal",
6
6
  "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso-lab#readme",
@@ -24,14 +24,14 @@
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@material-ui/core": "4.11.0",
27
- "@toptal/picasso": "^17.1.0",
28
- "@toptal/picasso-shared": "^7.1.1",
27
+ "@toptal/picasso": "^17.3.0",
28
+ "@toptal/picasso-shared": "^7.2.0",
29
29
  "popper.js": "^1.16.1",
30
30
  "react": "^16.12.0",
31
31
  "react-dom": "^16.12.0"
32
32
  },
33
33
  "dependencies": {
34
- "@toptal/picasso-provider": "0.5.0",
34
+ "@toptal/picasso-provider": "^0.4.0",
35
35
  "ap-style-title-case": "^1.1.2",
36
36
  "classnames": "^2.3.1",
37
37
  "date-fns": "^2.9.0",