@elliemae/ds-group-box 3.16.4-rc.2 → 3.16.4-rc.4

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.
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const ActionItem: {
4
+ ({ children }: {
5
+ children: any;
6
+ }): JSX.Element;
7
+ propTypes: {
8
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
9
+ };
10
+ };
11
+ export default ActionItem;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const Actions: {
4
+ ({ actions, centerActions, rightActions }: {
5
+ actions?: never[] | undefined;
6
+ centerActions: any;
7
+ rightActions: any;
8
+ }): JSX.Element | null;
9
+ propTypes: {
10
+ actions: PropTypes.Requireable<any[]>;
11
+ centerActions: PropTypes.Requireable<boolean>;
12
+ rightActions: PropTypes.Requireable<boolean>;
13
+ };
14
+ };
15
+ export { Actions };
16
+ export default Actions;
@@ -0,0 +1,80 @@
1
+ /// <reference types="react" />
2
+ declare const DSGroupBox: {
3
+ ({ containerProps, labelProps, rightActions, centerActions, type, asRow, onlyHeader, noBorder, noPadding, children: components, isMain, }: {
4
+ containerProps?: {} | undefined;
5
+ labelProps?: {
6
+ labelText: string;
7
+ borderBottom: boolean;
8
+ id: string;
9
+ } | undefined;
10
+ rightActions?: never[] | undefined;
11
+ centerActions?: never[] | undefined;
12
+ type?: string | undefined;
13
+ asRow?: boolean | undefined;
14
+ onlyHeader?: boolean | undefined;
15
+ noBorder?: boolean | undefined;
16
+ noPadding?: boolean | undefined;
17
+ children?: never[] | undefined;
18
+ isMain?: boolean | undefined;
19
+ }): JSX.Element;
20
+ propTypes: {
21
+ /** props to inject to wrapper */
22
+ containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
23
+ /**
24
+ * Label attributes to be rendered
25
+ */
26
+ labelProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
27
+ /**
28
+ * ['category-box', 'group-box']
29
+ */
30
+ type: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
31
+ /**
32
+ * Components to be rendered inside the box
33
+ */
34
+ children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
35
+ /**
36
+ * Actions on the right side of the label
37
+ */
38
+ rightActions: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
39
+ /**
40
+ * Actions on the next to the label
41
+ */
42
+ centerActions: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
43
+ /**
44
+ * Display the content of the group box with flex direction row
45
+ */
46
+ asRow: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
47
+ /**
48
+ * Show border only on the header
49
+ */
50
+ onlyHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
51
+ /**
52
+ * Remove the wrapper border
53
+ */
54
+ noBorder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
55
+ /**
56
+ * Remove the top and bottom padding from the content
57
+ */
58
+ noPadding: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
59
+ };
60
+ displayName: string;
61
+ };
62
+ declare const DSGroupBoxWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
63
+ containerProps?: {} | undefined;
64
+ labelProps?: {
65
+ labelText: string;
66
+ borderBottom: boolean;
67
+ id: string;
68
+ } | undefined;
69
+ rightActions?: never[] | undefined;
70
+ centerActions?: never[] | undefined;
71
+ type?: string | undefined;
72
+ asRow?: boolean | undefined;
73
+ onlyHeader?: boolean | undefined;
74
+ noBorder?: boolean | undefined;
75
+ noPadding?: boolean | undefined;
76
+ children?: never[] | undefined;
77
+ isMain?: boolean | undefined;
78
+ }>;
79
+ export { DSGroupBox, DSGroupBoxWithSchema };
80
+ export default DSGroupBox;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const GroupBoxLabel: {
4
+ ({ borderBottom, children, noBorder, isMain, type, id }: {
5
+ borderBottom: any;
6
+ children: any;
7
+ noBorder: any;
8
+ isMain: any;
9
+ type: any;
10
+ id: any;
11
+ }): JSX.Element;
12
+ propTypes: {
13
+ children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
14
+ type: PropTypes.Requireable<string>;
15
+ borderBottom: PropTypes.Requireable<boolean>;
16
+ isMain: PropTypes.Validator<boolean>;
17
+ noBorder: PropTypes.Requireable<boolean>;
18
+ id: PropTypes.Requireable<string>;
19
+ };
20
+ };
21
+ export default GroupBoxLabel;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const LabelElement: {
4
+ ({ children }: {
5
+ children: any;
6
+ }): JSX.Element;
7
+ propTypes: {
8
+ children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
9
+ };
10
+ };
11
+ export default LabelElement;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export declare const DSGroupBoxHeader: ({ labelProps, rightActions, centerActions, type, noBorder, isMain, }: {
3
+ labelProps?: {
4
+ labelText: string;
5
+ borderBottom: boolean;
6
+ id: string;
7
+ } | undefined;
8
+ rightActions?: never[] | undefined;
9
+ centerActions?: never[] | undefined;
10
+ type?: string | undefined;
11
+ noBorder: any;
12
+ isMain: any;
13
+ }) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const GroupBoxWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
3
+ export declare const GroupBoxContent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
4
+ export declare const Label: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
@@ -0,0 +1,5 @@
1
+ export declare const BOX_TYPES: {
2
+ CATEGORY: string;
3
+ GROUP: string;
4
+ };
5
+ export declare const BOX_TYPES_ARRAY: string[];
@@ -0,0 +1,3 @@
1
+ export * from './DSGroupBox.js';
2
+ export * from './constants.js';
3
+ export { default } from './DSGroupBox.js';
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-group-box",
3
- "version": "3.16.4-rc.2",
3
+ "version": "3.16.4-rc.4",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Group Box",
6
6
  "files": [
@@ -68,11 +68,11 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "prop-types": "~15.8.1",
71
- "@elliemae/ds-classnames": "3.16.4-rc.2",
72
- "@elliemae/ds-props-helpers": "3.16.4-rc.2",
73
- "@elliemae/ds-system": "3.16.4-rc.2",
74
- "@elliemae/ds-truncated-tooltip-text": "3.16.4-rc.2",
75
- "@elliemae/ds-utilities": "3.16.4-rc.2"
71
+ "@elliemae/ds-classnames": "3.16.4-rc.4",
72
+ "@elliemae/ds-props-helpers": "3.16.4-rc.4",
73
+ "@elliemae/ds-system": "3.16.4-rc.4",
74
+ "@elliemae/ds-truncated-tooltip-text": "3.16.4-rc.4",
75
+ "@elliemae/ds-utilities": "3.16.4-rc.4"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@testing-library/jest-dom": "~5.16.5",