@elliemae/ds-accordion 2.0.0-rc.7 → 2.0.0-rc.8

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-accordion",
3
- "version": "2.0.0-rc.7",
3
+ "version": "2.0.0-rc.8",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Accordion",
6
6
  "module": "./esm/index.js",
@@ -56,12 +56,12 @@
56
56
  "build": "node ../../scripts/build/build.js"
57
57
  },
58
58
  "dependencies": {
59
- "@elliemae/ds-button": "2.0.0-rc.7",
60
- "@elliemae/ds-classnames": "2.0.0-rc.7",
61
- "@elliemae/ds-icons": "2.0.0-rc.7",
62
- "@elliemae/ds-shared": "2.0.0-rc.7",
63
- "@elliemae/ds-system": "2.0.0-rc.7",
64
- "@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.7",
59
+ "@elliemae/ds-button": "2.0.0-rc.8",
60
+ "@elliemae/ds-classnames": "2.0.0-rc.8",
61
+ "@elliemae/ds-icons": "2.0.0-rc.8",
62
+ "@elliemae/ds-shared": "2.0.0-rc.8",
63
+ "@elliemae/ds-system": "2.0.0-rc.8",
64
+ "@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.8",
65
65
  "react-desc": "^4.1.3"
66
66
  },
67
67
  "peerDependencies": {
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const DSAccordion: {
3
4
  ({ containerProps, activeValue, children, allowMultipleOpen, contentExpandable, onChange, }: {
@@ -10,11 +11,21 @@ declare const DSAccordion: {
10
11
  }): JSX.Element;
11
12
  propTypes: {
12
13
  /** inject props to wrapper */
13
- containerProps: any;
14
+ containerProps: {
15
+ defaultValue<T = unknown>(arg: T): {
16
+ deprecated: import("react-desc").PropTypesDescValidator;
17
+ };
18
+ isRequired: import("react-desc").PropTypesDescValidator;
19
+ };
14
20
  /**
15
21
  * Selected default active value
16
22
  */
17
- activeValue: any;
23
+ activeValue: {
24
+ defaultValue<T = unknown>(arg: T): {
25
+ deprecated: import("react-desc").PropTypesDescValidator;
26
+ };
27
+ isRequired: import("react-desc").PropTypesDescValidator;
28
+ };
18
29
  /**
19
30
  * Accordion items to show
20
31
  */
@@ -22,17 +33,43 @@ declare const DSAccordion: {
22
33
  /**
23
34
  * Allows multiple accordion items to be open at the same time
24
35
  */
25
- allowMultipleOpen: any;
36
+ allowMultipleOpen: {
37
+ defaultValue<T = unknown>(arg: T): {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ isRequired: import("react-desc").PropTypesDescValidator;
41
+ };
26
42
  /**
27
43
  * Whether content is expandable or not
28
44
  */
29
- contentExpandable: any;
45
+ contentExpandable: {
46
+ defaultValue<T = unknown>(arg: T): {
47
+ deprecated: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ isRequired: import("react-desc").PropTypesDescValidator;
50
+ };
30
51
  /**
31
52
  * Allows a function that is triggered once the accordion changes
32
53
  */
33
- onChange: any;
54
+ onChange: {
55
+ defaultValue<T = unknown>(arg: T): {
56
+ deprecated: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ isRequired: import("react-desc").PropTypesDescValidator;
59
+ };
34
60
  };
35
61
  };
36
- declare const DSAccordionWithSchema: any;
62
+ declare const DSAccordionWithSchema: {
63
+ (props?: {
64
+ containerProps?: {} | undefined;
65
+ activeValue?: string | undefined;
66
+ children: any;
67
+ allowMultipleOpen?: boolean | undefined;
68
+ contentExpandable?: boolean | undefined;
69
+ onChange?: (() => void) | undefined;
70
+ } | undefined): JSX.Element;
71
+ propTypes: unknown;
72
+ toTypescript: () => import("react-desc").TypescriptSchema;
73
+ };
37
74
  export { DSAccordion, DSAccordionWithSchema };
38
75
  export default DSAccordion;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
1
2
  import { Component } from 'react';
2
3
  declare class DSAccordionItem extends Component {
3
4
  constructor(props: any);
@@ -6,6 +7,10 @@ declare class DSAccordionItem extends Component {
6
7
  setHeight: (element: any) => void;
7
8
  render(): JSX.Element;
8
9
  }
9
- declare const DSAccordionItemWithSchema: any;
10
+ declare const DSAccordionItemWithSchema: {
11
+ (props?: unknown): JSX.Element;
12
+ propTypes: unknown;
13
+ toTypescript: () => import("react-desc").TypescriptSchema;
14
+ };
10
15
  export { DSAccordionItem, DSAccordionItemWithSchema };
11
16
  export default DSAccordionItem;