@elliemae/ds-breadcrumb 2.4.2-rc.1 → 2.4.2-rc.13

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.
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
6
  var _jsx = require('@babel/runtime/helpers/jsx');
7
7
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
8
- require('core-js/modules/web.dom-collections.iterator.js');
9
8
  require('core-js/modules/esnext.async-iterator.map.js');
10
9
  require('core-js/modules/esnext.iterator.map.js');
11
10
  require('core-js/modules/esnext.async-iterator.filter.js');
package/cjs/styles.js CHANGED
@@ -23,7 +23,17 @@ const StyledCrumbWrapper = /*#__PURE__*/styled__default["default"].li.withConfig
23
23
  isTitle,
24
24
  trailingSlash
25
25
  } = _ref;
26
- return isTitle || !trailingSlash ? "&:not(:last-child):after {\n display: inline-block;\n content: '/';\n color: ".concat(theme.colors.neutral[700], ";\n }\n ") : "&:after {\n display: inline-block;\n content: '/';\n color: ".concat(theme.colors.neutral[700], ";\n }\n ");
26
+ return isTitle || !trailingSlash ? `&:not(:last-child):after {
27
+ display: inline-block;
28
+ content: '/';
29
+ color: ${theme.colors.neutral[700]};
30
+ }
31
+ ` : `&:after {
32
+ display: inline-block;
33
+ content: '/';
34
+ color: ${theme.colors.neutral[700]};
35
+ }
36
+ `;
27
37
  });
28
38
  const StyledContainer = /*#__PURE__*/styled__default["default"].nav.withConfig({
29
39
  componentId: "sc-12gvmg4-2"
@@ -54,12 +64,12 @@ const StyledLink = /*#__PURE__*/styled__default["default"].a.withConfig({
54
64
  theme,
55
65
  color
56
66
  } = _ref5;
57
- return "-webkit-text-stroke: 0.4px ".concat(color ? color : theme.colors.brand[800]);
67
+ return `-webkit-text-stroke: 0.4px ${color ? color : theme.colors.brand[800]}`;
58
68
  }, _ref6 => {
59
69
  let {
60
70
  theme
61
71
  } = _ref6;
62
- return "border: 2px solid ".concat(theme.colors.brand[700], ";");
72
+ return `border: 2px solid ${theme.colors.brand[700]};`;
63
73
  });
64
74
 
65
75
  exports.StyledContainer = StyledContainer;
@@ -1,7 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
2
  import _jsx from '@babel/runtime/helpers/esm/jsx';
3
3
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
4
- import 'core-js/modules/web.dom-collections.iterator.js';
5
4
  import 'core-js/modules/esnext.async-iterator.map.js';
6
5
  import 'core-js/modules/esnext.iterator.map.js';
7
6
  import 'core-js/modules/esnext.async-iterator.filter.js';
package/esm/styles.js CHANGED
@@ -15,7 +15,17 @@ const StyledCrumbWrapper = /*#__PURE__*/styled.li.withConfig({
15
15
  isTitle,
16
16
  trailingSlash
17
17
  } = _ref;
18
- return isTitle || !trailingSlash ? "&:not(:last-child):after {\n display: inline-block;\n content: '/';\n color: ".concat(theme.colors.neutral[700], ";\n }\n ") : "&:after {\n display: inline-block;\n content: '/';\n color: ".concat(theme.colors.neutral[700], ";\n }\n ");
18
+ return isTitle || !trailingSlash ? `&:not(:last-child):after {
19
+ display: inline-block;
20
+ content: '/';
21
+ color: ${theme.colors.neutral[700]};
22
+ }
23
+ ` : `&:after {
24
+ display: inline-block;
25
+ content: '/';
26
+ color: ${theme.colors.neutral[700]};
27
+ }
28
+ `;
19
29
  });
20
30
  const StyledContainer = /*#__PURE__*/styled.nav.withConfig({
21
31
  componentId: "sc-12gvmg4-2"
@@ -46,12 +56,12 @@ const StyledLink = /*#__PURE__*/styled.a.withConfig({
46
56
  theme,
47
57
  color
48
58
  } = _ref5;
49
- return "-webkit-text-stroke: 0.4px ".concat(color ? color : theme.colors.brand[800]);
59
+ return `-webkit-text-stroke: 0.4px ${color ? color : theme.colors.brand[800]}`;
50
60
  }, _ref6 => {
51
61
  let {
52
62
  theme
53
63
  } = _ref6;
54
- return "border: 2px solid ".concat(theme.colors.brand[700], ";");
64
+ return `border: 2px solid ${theme.colors.brand[700]};`;
55
65
  });
56
66
 
57
67
  export { StyledContainer, StyledCrumbWrapper, StyledLink, StyledList };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-breadcrumb",
3
- "version": "2.4.2-rc.1",
3
+ "version": "2.4.2-rc.13",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Breadcrumb",
6
6
  "module": "./esm/index.js",
@@ -48,7 +48,7 @@
48
48
  "build": "node ../../scripts/build/build.js"
49
49
  },
50
50
  "dependencies": {
51
- "@elliemae/ds-system": "2.4.2-rc.1",
51
+ "@elliemae/ds-system": "2.4.2-rc.13",
52
52
  "react-desc": "~4.1.3"
53
53
  },
54
54
  "devDependencies": {