@elliemae/ds-mini-toolbar 2.0.0-rc.6 → 2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-mini-toolbar",
3
- "version": "2.0.0-rc.6",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - MiniToolbar",
6
6
  "module": "./esm/index.js",
@@ -72,14 +72,17 @@
72
72
  "build": "node ../../scripts/build/build.js"
73
73
  },
74
74
  "dependencies": {
75
- "@elliemae/ds-basic": "2.0.0-rc.6",
76
- "@elliemae/ds-dropdownmenu": "2.0.0-rc.6",
77
- "@elliemae/ds-icons": "2.0.0-rc.6",
78
- "@elliemae/ds-system": "2.0.0-rc.6",
75
+ "@elliemae/ds-button": "2.0.0",
76
+ "@elliemae/ds-dropdownmenu": "2.0.0",
77
+ "@elliemae/ds-form": "2.0.0",
78
+ "@elliemae/ds-icons": "2.0.0",
79
+ "@elliemae/ds-system": "2.0.0",
79
80
  "react-desc": "~4.1.3",
80
81
  "uid": "~2.0.0"
81
82
  },
82
83
  "devDependencies": {
84
+ "@testing-library/react": "~12.1.2",
85
+ "@testing-library/user-event": "~13.5.0",
83
86
  "styled-components": "~5.3.3"
84
87
  },
85
88
  "peerDependencies": {
@@ -1,11 +1,21 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  import React from 'react';
2
3
  import { MiniToolbarPropsT } from '../index.d';
3
4
  declare const MiniToolbar: {
4
5
  ({ items, overflowButtonProps }: MiniToolbarPropsT): React.ReactElement;
5
6
  propTypes: {
6
- items: any;
7
- overflowButtonProps: any;
7
+ items: import("react-desc").PropTypesDescValidator;
8
+ overflowButtonProps: {
9
+ defaultValue<T = unknown>(arg: T): {
10
+ deprecated: import("react-desc").PropTypesDescValidator;
11
+ };
12
+ isRequired: import("react-desc").PropTypesDescValidator;
13
+ };
8
14
  };
9
15
  };
10
- declare const MiniToolbarWithSchema: any;
16
+ declare const MiniToolbarWithSchema: {
17
+ (props?: MiniToolbarPropsT | undefined): JSX.Element;
18
+ propTypes: unknown;
19
+ toTypescript: () => import("react-desc").TypescriptSchema;
20
+ };
11
21
  export { MiniToolbar, MiniToolbarWithSchema };
@@ -1,6 +1,17 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
+ /// <reference types="react" />
1
3
  declare const miniToolbarProps: {
2
- items: any;
3
- overflowButtonProps: any;
4
+ items: import("react-desc").PropTypesDescValidator;
5
+ overflowButtonProps: {
6
+ defaultValue<T = unknown>(arg: T): {
7
+ deprecated: import("react-desc").PropTypesDescValidator;
8
+ };
9
+ isRequired: import("react-desc").PropTypesDescValidator;
10
+ };
11
+ };
12
+ declare const ToolbarItemWithSchema: {
13
+ (props?: unknown): JSX.Element;
14
+ propTypes: unknown;
15
+ toTypescript: () => import("react-desc").TypescriptSchema;
4
16
  };
5
- declare const ToolbarItemWithSchema: any;
6
17
  export { ToolbarItemWithSchema, miniToolbarProps };
package/types/styles.d.ts CHANGED
@@ -1,64 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const Container: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
3
2
  declare const Separator: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
4
3
  declare const Item: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
5
- declare const StyledButton: import("styled-components").StyledComponent<{
6
- ({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
7
- [x: string]: any;
8
- innerRef: any;
9
- disabled: any;
10
- buttonType: any;
11
- fluidWidth: any;
12
- size: any;
13
- labelText: any;
14
- icon: any;
15
- onBlur: any;
16
- onClick: any;
17
- onKeyPress: any;
18
- leftIcon: any;
19
- tabIndex: any;
20
- variant: any;
21
- intent: any;
22
- containerProps: any;
23
- className: any;
24
- as: any;
25
- type: any;
26
- }): JSX.Element;
27
- defaultProps: {
28
- disabled: boolean;
29
- fluidWidth: boolean;
30
- labelText: string;
31
- icon: null;
32
- onBlur: () => null;
33
- onClick: () => null;
34
- onKeyPress: () => null;
35
- leftIcon: null;
36
- tabIndex: number;
37
- variant: string;
38
- containerProps: {};
39
- as: string;
40
- type: string;
41
- };
42
- propTypes: {
43
- tabIndex: any;
44
- className: any;
45
- 'aria-disabled': any;
46
- as: any;
47
- disabled: any;
48
- fluidWidth: any;
49
- labelText: any;
50
- icon: any;
51
- leftIcon: any;
52
- buttonType: any;
53
- size: any;
54
- type: any;
55
- variant: any;
56
- innerRef: any;
57
- onBlur: any;
58
- intent: any;
59
- containerProps: any;
60
- onClick: any;
61
- onKeyPress: any;
62
- };
63
- }, import("styled-components").DefaultTheme, {}, never>;
4
+ declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
64
5
  export { Container, Separator, Item, StyledButton };