@elliemae/ds-resizeable-container 2.3.1 → 3.0.0-alpha.3
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/dist/cjs/Resizable.js +348 -0
- package/dist/cjs/Resizable.js.map +7 -0
- package/dist/cjs/defaultProps.js +38 -0
- package/dist/cjs/defaultProps.js.map +7 -0
- package/dist/cjs/index.js +36 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/props.js +42 -0
- package/dist/cjs/props.js.map +7 -0
- package/dist/esm/Resizable.js +321 -0
- package/dist/esm/Resizable.js.map +7 -0
- package/dist/esm/defaultProps.js +9 -0
- package/dist/esm/defaultProps.js.map +7 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/props.js +13 -0
- package/dist/esm/props.js.map +7 -0
- package/package.json +33 -24
- package/cjs/Resizable.js +0 -323
- package/cjs/defaultProps.js +0 -10
- package/cjs/index.js +0 -11
- package/cjs/props.js +0 -24
- package/esm/Resizable.js +0 -309
- package/esm/defaultProps.js +0 -6
- package/esm/index.js +0 -1
- package/esm/props.js +0 -20
- package/types/Resizable.d.ts +0 -55
- package/types/defaultProps.d.ts +0 -4
- package/types/index.d.ts +0 -2
- package/types/props.d.ts +0 -38
- package/types/tests/DSResizableContainer.events.test.d.ts +0 -1
package/esm/props.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PropTypes } from 'react-desc';
|
|
2
|
-
|
|
3
|
-
const props = {
|
|
4
|
-
/** grid item content */
|
|
5
|
-
children: PropTypes.node.description('Grid item content'),
|
|
6
|
-
|
|
7
|
-
/** vertical resizing */
|
|
8
|
-
vertical: PropTypes.bool.description('vertical resizing'),
|
|
9
|
-
|
|
10
|
-
/** horizontal resizing */
|
|
11
|
-
horizontal: PropTypes.bool.description('horizontal resizing'),
|
|
12
|
-
|
|
13
|
-
/** Row layout cells */
|
|
14
|
-
rows: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])).description('Row layout cells'),
|
|
15
|
-
|
|
16
|
-
/** Column layout cells */
|
|
17
|
-
cols: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])).description('Column layout cells')
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { props };
|
package/types/Resizable.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare function ResizableContainer({ children, cols, rows, vertical, horizontal, ...rest }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
children: any;
|
|
6
|
-
cols: any;
|
|
7
|
-
rows: any;
|
|
8
|
-
vertical: any;
|
|
9
|
-
horizontal: any;
|
|
10
|
-
}): JSX.Element;
|
|
11
|
-
declare namespace ResizableContainer {
|
|
12
|
-
var propTypes: {
|
|
13
|
-
children: {
|
|
14
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
-
};
|
|
17
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
|
-
};
|
|
19
|
-
vertical: {
|
|
20
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
-
};
|
|
23
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
-
};
|
|
25
|
-
horizontal: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
rows: {
|
|
32
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
-
};
|
|
35
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
-
};
|
|
37
|
-
cols: {
|
|
38
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
-
};
|
|
41
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
var defaultProps: {
|
|
45
|
-
vertical: boolean;
|
|
46
|
-
horizontal: boolean;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
declare const DSResizableContainerWithSchema: {
|
|
50
|
-
(props?: unknown): JSX.Element;
|
|
51
|
-
propTypes: unknown;
|
|
52
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
53
|
-
};
|
|
54
|
-
export { ResizableContainer, DSResizableContainerWithSchema };
|
|
55
|
-
export default ResizableContainer;
|
package/types/defaultProps.d.ts
DELETED
package/types/index.d.ts
DELETED
package/types/props.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
export declare const props: {
|
|
3
|
-
/** grid item content */
|
|
4
|
-
children: {
|
|
5
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
-
};
|
|
8
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
|
-
};
|
|
10
|
-
/** vertical resizing */
|
|
11
|
-
vertical: {
|
|
12
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
-
};
|
|
15
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
-
};
|
|
17
|
-
/** horizontal resizing */
|
|
18
|
-
horizontal: {
|
|
19
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
-
};
|
|
22
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
-
};
|
|
24
|
-
/** Row layout cells */
|
|
25
|
-
rows: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
/** Column layout cells */
|
|
32
|
-
cols: {
|
|
33
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
-
};
|
|
36
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|