@elliemae/ds-group-box 2.0.1 → 2.1.0-rc.2
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/cjs/Actions.js +2 -2
- package/cjs/DSGroupBox.js +2 -2
- package/esm/Actions.js +2 -2
- package/esm/DSGroupBox.js +2 -2
- package/package.json +5 -4
- package/types/DSGroupBox.d.ts +18 -18
package/cjs/Actions.js
CHANGED
|
@@ -7,7 +7,7 @@ require('core-js/modules/esnext.async-iterator.map.js');
|
|
|
7
7
|
require('core-js/modules/esnext.iterator.map.js');
|
|
8
8
|
require('react');
|
|
9
9
|
var styled = require('styled-components');
|
|
10
|
-
var
|
|
10
|
+
var styledComponents = require('@xstyled/styled-components');
|
|
11
11
|
var dsSystem = require('@elliemae/ds-system');
|
|
12
12
|
var ActionItem = require('./ActionItem.js');
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@ var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
|
18
18
|
|
|
19
19
|
const ActionsNode = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
20
20
|
componentId: "sc-1umfb8g-0"
|
|
21
|
-
})(["display:flex;flex-direction:row;padding-left:", ";overflow:hidden;", ""], props => dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m),
|
|
21
|
+
})(["display:flex;flex-direction:row;padding-left:", ";overflow:hidden;", ""], props => dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m), styledComponents.spacing);
|
|
22
22
|
|
|
23
23
|
function Actions(_ref) {
|
|
24
24
|
let {
|
package/cjs/DSGroupBox.js
CHANGED
|
@@ -24,9 +24,9 @@ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_definePropert
|
|
|
24
24
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
26
|
|
|
27
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
27
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
28
28
|
|
|
29
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
29
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
30
30
|
|
|
31
31
|
const DSGroupBox = _ref => {
|
|
32
32
|
let {
|
package/esm/Actions.js
CHANGED
|
@@ -3,13 +3,13 @@ import 'core-js/modules/esnext.async-iterator.map.js';
|
|
|
3
3
|
import 'core-js/modules/esnext.iterator.map.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import styled from 'styled-components';
|
|
6
|
-
import {
|
|
6
|
+
import { spacing } from '@xstyled/styled-components';
|
|
7
7
|
import { __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';
|
|
8
8
|
import ActionItem from './ActionItem.js';
|
|
9
9
|
|
|
10
10
|
const ActionsNode = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
componentId: "sc-1umfb8g-0"
|
|
12
|
-
})(["display:flex;flex-direction:row;padding-left:", ";overflow:hidden;", ""], props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m),
|
|
12
|
+
})(["display:flex;flex-direction:row;padding-left:", ";overflow:hidden;", ""], props => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m), spacing);
|
|
13
13
|
|
|
14
14
|
function Actions(_ref) {
|
|
15
15
|
let {
|
package/esm/DSGroupBox.js
CHANGED
|
@@ -14,9 +14,9 @@ import { DSGroupBoxHeader } from './components/GroupHeader.js';
|
|
|
14
14
|
import { BOX_TYPES_ARRAY, BOX_TYPES } from './constants.js';
|
|
15
15
|
import { jsxs } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
17
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
18
18
|
|
|
19
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
19
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20
20
|
|
|
21
21
|
const DSGroupBox = _ref => {
|
|
22
22
|
let {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-group-box",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Group Box",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -64,9 +64,10 @@
|
|
|
64
64
|
"build": "node ../../scripts/build/build.js"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@elliemae/ds-classnames": "2.0.
|
|
68
|
-
"@elliemae/ds-system": "2.0.
|
|
69
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.
|
|
67
|
+
"@elliemae/ds-classnames": "2.1.0-rc.2",
|
|
68
|
+
"@elliemae/ds-system": "2.1.0-rc.2",
|
|
69
|
+
"@elliemae/ds-truncated-tooltip-text": "2.1.0-rc.2",
|
|
70
|
+
"@xstyled/styled-components": "~3.1.1",
|
|
70
71
|
"prop-types": "~15.7.2",
|
|
71
72
|
"react-desc": "~4.1.3"
|
|
72
73
|
},
|
package/types/DSGroupBox.d.ts
CHANGED
|
@@ -21,28 +21,28 @@ declare const DSGroupBox: {
|
|
|
21
21
|
propTypes: {
|
|
22
22
|
/** props to inject to wrapper */
|
|
23
23
|
containerProps: {
|
|
24
|
-
defaultValue
|
|
24
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
25
25
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
26
|
};
|
|
27
|
-
isRequired: import("react-desc").
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Label attributes to be rendered
|
|
31
31
|
*/
|
|
32
32
|
labelProps: {
|
|
33
|
-
defaultValue
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
34
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
35
|
};
|
|
36
|
-
isRequired: import("react-desc").
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
* ['category-box', 'group-box']
|
|
40
40
|
*/
|
|
41
41
|
type: {
|
|
42
|
-
defaultValue
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
43
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
44
|
};
|
|
45
|
-
isRequired: import("react-desc").
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* Components to be rendered inside the box
|
|
@@ -52,55 +52,55 @@ declare const DSGroupBox: {
|
|
|
52
52
|
* Actions on the right side of the label
|
|
53
53
|
*/
|
|
54
54
|
rightActions: {
|
|
55
|
-
defaultValue
|
|
55
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
56
56
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
57
|
};
|
|
58
|
-
isRequired: import("react-desc").
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Actions on the next to the label
|
|
62
62
|
*/
|
|
63
63
|
centerActions: {
|
|
64
|
-
defaultValue
|
|
64
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
65
65
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
66
|
};
|
|
67
|
-
isRequired: import("react-desc").
|
|
67
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* Display the content of the group box with flex direction row
|
|
71
71
|
*/
|
|
72
72
|
asRow: {
|
|
73
|
-
defaultValue
|
|
73
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
74
74
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
75
|
};
|
|
76
|
-
isRequired: import("react-desc").
|
|
76
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* Show border only on the header
|
|
80
80
|
*/
|
|
81
81
|
onlyHeader: {
|
|
82
|
-
defaultValue
|
|
82
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
83
83
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
84
|
};
|
|
85
|
-
isRequired: import("react-desc").
|
|
85
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* Remove the wrapper border
|
|
89
89
|
*/
|
|
90
90
|
noBorder: {
|
|
91
|
-
defaultValue
|
|
91
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
92
92
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
93
93
|
};
|
|
94
|
-
isRequired: import("react-desc").
|
|
94
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
97
|
* Remove the top and bottom padding from the content
|
|
98
98
|
*/
|
|
99
99
|
noPadding: {
|
|
100
|
-
defaultValue
|
|
100
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
101
101
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
102
|
};
|
|
103
|
-
isRequired: import("react-desc").
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
};
|