@elliemae/ds-group-box 3.17.0-next.2 → 3.17.0-next.20

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