@elliemae/ds-group-box 2.0.2 → 2.1.0-rc.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/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 styledSystem = require('styled-system');
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), styledSystem.margin);
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/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 { margin } from 'styled-system';
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), margin);
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-group-box",
3
- "version": "2.0.2",
3
+ "version": "2.1.0-rc.3",
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.2",
68
- "@elliemae/ds-system": "2.0.2",
69
- "@elliemae/ds-truncated-tooltip-text": "2.0.2",
67
+ "@elliemae/ds-classnames": "2.1.0-rc.3",
68
+ "@elliemae/ds-system": "2.1.0-rc.3",
69
+ "@elliemae/ds-truncated-tooltip-text": "2.1.0-rc.3",
70
+ "@xstyled/styled-components": "~3.1.1",
70
71
  "prop-types": "~15.7.2",
71
72
  "react-desc": "~4.1.3"
72
73
  },
@@ -21,28 +21,28 @@ declare const DSGroupBox: {
21
21
  propTypes: {
22
22
  /** props to inject to wrapper */
23
23
  containerProps: {
24
- defaultValue<T = unknown>(arg: T): {
24
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
25
25
  deprecated: import("react-desc").PropTypesDescValidator;
26
26
  };
27
- isRequired: import("react-desc").PropTypesDescValidator;
27
+ isRequired: import("react-desc").PropTypesDescValue;
28
28
  };
29
29
  /**
30
30
  * Label attributes to be rendered
31
31
  */
32
32
  labelProps: {
33
- defaultValue<T = unknown>(arg: T): {
33
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
34
34
  deprecated: import("react-desc").PropTypesDescValidator;
35
35
  };
36
- isRequired: import("react-desc").PropTypesDescValidator;
36
+ isRequired: import("react-desc").PropTypesDescValue;
37
37
  };
38
38
  /**
39
39
  * ['category-box', 'group-box']
40
40
  */
41
41
  type: {
42
- defaultValue<T = unknown>(arg: T): {
42
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
43
43
  deprecated: import("react-desc").PropTypesDescValidator;
44
44
  };
45
- isRequired: import("react-desc").PropTypesDescValidator;
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<T = unknown>(arg: T): {
55
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
56
56
  deprecated: import("react-desc").PropTypesDescValidator;
57
57
  };
58
- isRequired: import("react-desc").PropTypesDescValidator;
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<T = unknown>(arg: T): {
64
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
65
65
  deprecated: import("react-desc").PropTypesDescValidator;
66
66
  };
67
- isRequired: import("react-desc").PropTypesDescValidator;
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<T = unknown>(arg: T): {
73
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
74
74
  deprecated: import("react-desc").PropTypesDescValidator;
75
75
  };
76
- isRequired: import("react-desc").PropTypesDescValidator;
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<T = unknown>(arg: T): {
82
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
83
83
  deprecated: import("react-desc").PropTypesDescValidator;
84
84
  };
85
- isRequired: import("react-desc").PropTypesDescValidator;
85
+ isRequired: import("react-desc").PropTypesDescValue;
86
86
  };
87
87
  /**
88
88
  * Remove the wrapper border
89
89
  */
90
90
  noBorder: {
91
- defaultValue<T = unknown>(arg: T): {
91
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
92
92
  deprecated: import("react-desc").PropTypesDescValidator;
93
93
  };
94
- isRequired: import("react-desc").PropTypesDescValidator;
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<T = unknown>(arg: T): {
100
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
101
101
  deprecated: import("react-desc").PropTypesDescValidator;
102
102
  };
103
- isRequired: import("react-desc").PropTypesDescValidator;
103
+ isRequired: import("react-desc").PropTypesDescValue;
104
104
  };
105
105
  };
106
106
  };