@elliemae/ds-group-box 2.4.2-rc.9 → 2.4.3-rc.1

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.
@@ -10,13 +10,26 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
  var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
11
11
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
12
12
 
13
- const borderBase200 = props => "1px solid ".concat(props.theme.colors.neutral[200], ";");
13
+ const borderBase200 = props => `1px solid ${props.theme.colors.neutral[200]};`;
14
14
 
15
- const categoryBoxStyles = "\n width: 100%;\n height: 36px;\n padding:0 0;\n color: ".concat(props => props.theme.colors.neutral[800], ";\n display: flex;\n flex-direction: row;\n align-items: center;\n border-bottom: ").concat(borderBase200, "\n");
16
- const groupBoxStyles = "\n border: unset;\n font-size: ".concat(props => dsSystem.toMobile(props.theme.fontSizes.title[500]), ";\n padding: 12px 0;\n");
15
+ const categoryBoxStyles = `
16
+ width: 100%;
17
+ height: 36px;
18
+ padding:0 0;
19
+ color: ${props => props.theme.colors.neutral[800]};
20
+ display: flex;
21
+ flex-direction: row;
22
+ align-items: center;
23
+ border-bottom: ${borderBase200}
24
+ `;
25
+ const groupBoxStyles = `
26
+ border: unset;
27
+ font-size: ${props => dsSystem.toMobile(props.theme.fontSizes.title[500])};
28
+ padding: 12px 0;
29
+ `;
17
30
  const GroupBoxLabelNode = /*#__PURE__*/styled__default["default"].div.withConfig({
18
31
  componentId: "sc-141ikkh-0"
19
- })(["", " ", " ", " ", ""], props => props.nodeType === 'category-box' ? categoryBoxStyles : groupBoxStyles, props => props.noBorder ? 'border: none;' : '', props => props.borderBottom ? "border-bottom: ".concat(borderBase200(props)) : '', props => props.isMain ? "padding-right: ".concat(dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs), ";") : '');
32
+ })(["", " ", " ", " ", ""], props => props.nodeType === 'category-box' ? categoryBoxStyles : groupBoxStyles, props => props.noBorder ? 'border: none;' : '', props => props.borderBottom ? `border-bottom: ${borderBase200(props)}` : '', props => props.isMain ? `padding-right: ${dsSystem.__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs)};` : '');
20
33
 
21
34
  function GroupBoxLabel(_ref) {
22
35
  let {
@@ -3,13 +3,26 @@ import 'react';
3
3
  import styled from 'styled-components';
4
4
  import { __UNSAFE_SPACE_TO_DIMSUM, toMobile } from '@elliemae/ds-system';
5
5
 
6
- const borderBase200 = props => "1px solid ".concat(props.theme.colors.neutral[200], ";");
6
+ const borderBase200 = props => `1px solid ${props.theme.colors.neutral[200]};`;
7
7
 
8
- const categoryBoxStyles = "\n width: 100%;\n height: 36px;\n padding:0 0;\n color: ".concat(props => props.theme.colors.neutral[800], ";\n display: flex;\n flex-direction: row;\n align-items: center;\n border-bottom: ").concat(borderBase200, "\n");
9
- const groupBoxStyles = "\n border: unset;\n font-size: ".concat(props => toMobile(props.theme.fontSizes.title[500]), ";\n padding: 12px 0;\n");
8
+ const categoryBoxStyles = `
9
+ width: 100%;
10
+ height: 36px;
11
+ padding:0 0;
12
+ color: ${props => props.theme.colors.neutral[800]};
13
+ display: flex;
14
+ flex-direction: row;
15
+ align-items: center;
16
+ border-bottom: ${borderBase200}
17
+ `;
18
+ const groupBoxStyles = `
19
+ border: unset;
20
+ font-size: ${props => toMobile(props.theme.fontSizes.title[500])};
21
+ padding: 12px 0;
22
+ `;
10
23
  const GroupBoxLabelNode = /*#__PURE__*/styled.div.withConfig({
11
24
  componentId: "sc-141ikkh-0"
12
- })(["", " ", " ", " ", ""], props => props.nodeType === 'category-box' ? categoryBoxStyles : groupBoxStyles, props => props.noBorder ? 'border: none;' : '', props => props.borderBottom ? "border-bottom: ".concat(borderBase200(props)) : '', props => props.isMain ? "padding-right: ".concat(__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs), ";") : '');
25
+ })(["", " ", " ", " ", ""], props => props.nodeType === 'category-box' ? categoryBoxStyles : groupBoxStyles, props => props.noBorder ? 'border: none;' : '', props => props.borderBottom ? `border-bottom: ${borderBase200(props)}` : '', props => props.isMain ? `padding-right: ${__UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs)};` : '');
13
26
 
14
27
  function GroupBoxLabel(_ref) {
15
28
  let {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-group-box",
3
- "version": "2.4.2-rc.9",
3
+ "version": "2.4.3-rc.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Group Box",
6
6
  "module": "./esm/index.js",
@@ -64,9 +64,9 @@
64
64
  "build": "node ../../scripts/build/build.js"
65
65
  },
66
66
  "dependencies": {
67
- "@elliemae/ds-classnames": "2.4.2-rc.9",
68
- "@elliemae/ds-system": "2.4.2-rc.9",
69
- "@elliemae/ds-truncated-tooltip-text": "2.4.2-rc.9",
67
+ "@elliemae/ds-classnames": "2.4.3-rc.1",
68
+ "@elliemae/ds-system": "2.4.3-rc.1",
69
+ "@elliemae/ds-truncated-tooltip-text": "2.4.3-rc.1",
70
70
  "@xstyled/styled-components": "~3.1.1",
71
71
  "prop-types": "~15.7.2",
72
72
  "react-desc": "~4.1.3"