@elliemae/ds-breadcrumb 2.0.0-next.0 → 2.0.0-next.5

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,6 +5,7 @@ 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');
8
9
  var React = require('react');
9
10
  var reactDesc = require('react-desc');
10
11
  var DSBreadcrumbItem = require('./DSBreadcrumbItem.js');
package/cjs/styles.js CHANGED
@@ -21,17 +21,7 @@ const StyledCrumbWrapper = /*#__PURE__*/styled__default["default"].li.withConfig
21
21
  theme,
22
22
  isTitle,
23
23
  trailingSlash
24
- }) => isTitle || !trailingSlash ? `&:not(:last-child):after {
25
- display: inline-block;
26
- content: '/';
27
- color: ${theme.colors.neutral[700]};
28
- }
29
- ` : `&:after {
30
- display: inline-block;
31
- content: '/';
32
- color: ${theme.colors.neutral[700]};
33
- }
34
- `);
24
+ }) => 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 "));
35
25
  const StyledContainer = /*#__PURE__*/styled__default["default"].nav.withConfig({
36
26
  componentId: "sc-12gvmg4-2"
37
27
  })(["display:flex;align-items:center;padding:0;"]);
@@ -50,9 +40,9 @@ const StyledLink = /*#__PURE__*/styled__default["default"].a.withConfig({
50
40
  }) => color ? color : theme.colors.brand[800], ({
51
41
  theme,
52
42
  color
53
- }) => `-webkit-text-stroke: 0.4px ${color ? color : theme.colors.brand[800]}`, ({
43
+ }) => "-webkit-text-stroke: 0.4px ".concat(color ? color : theme.colors.brand[800]), ({
54
44
  theme
55
- }) => `border: 2px solid ${theme.colors.brand[700]};`);
45
+ }) => "border: 2px solid ".concat(theme.colors.brand[700], ";"));
56
46
 
57
47
  exports.StyledContainer = StyledContainer;
58
48
  exports.StyledCrumbWrapper = StyledCrumbWrapper;
@@ -1,6 +1,7 @@
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';
4
5
  import React, { useMemo, cloneElement } from 'react';
5
6
  import { PropTypes, describe } from 'react-desc';
6
7
  import { DSBreadcrumbItem } from './DSBreadcrumbItem.js';
package/esm/styles.js CHANGED
@@ -13,17 +13,7 @@ const StyledCrumbWrapper = /*#__PURE__*/styled.li.withConfig({
13
13
  theme,
14
14
  isTitle,
15
15
  trailingSlash
16
- }) => isTitle || !trailingSlash ? `&:not(:last-child):after {
17
- display: inline-block;
18
- content: '/';
19
- color: ${theme.colors.neutral[700]};
20
- }
21
- ` : `&:after {
22
- display: inline-block;
23
- content: '/';
24
- color: ${theme.colors.neutral[700]};
25
- }
26
- `);
16
+ }) => 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 "));
27
17
  const StyledContainer = /*#__PURE__*/styled.nav.withConfig({
28
18
  componentId: "sc-12gvmg4-2"
29
19
  })(["display:flex;align-items:center;padding:0;"]);
@@ -42,8 +32,8 @@ const StyledLink = /*#__PURE__*/styled.a.withConfig({
42
32
  }) => color ? color : theme.colors.brand[800], ({
43
33
  theme,
44
34
  color
45
- }) => `-webkit-text-stroke: 0.4px ${color ? color : theme.colors.brand[800]}`, ({
35
+ }) => "-webkit-text-stroke: 0.4px ".concat(color ? color : theme.colors.brand[800]), ({
46
36
  theme
47
- }) => `border: 2px solid ${theme.colors.brand[700]};`);
37
+ }) => "border: 2px solid ".concat(theme.colors.brand[700], ";"));
48
38
 
49
39
  export { StyledContainer, StyledCrumbWrapper, StyledLink, StyledList };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-breadcrumb",
3
- "version": "2.0.0-next.0",
3
+ "version": "2.0.0-next.5",
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-classnames": "2.0.0-next.0",
51
+ "@elliemae/ds-classnames": "2.0.0-next.5",
52
52
  "react-desc": "^4.1.3"
53
53
  },
54
54
  "peerDependencies": {
package/cjs/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "type": "commonjs",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ]
7
- }
package/esm/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "type": "module",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ]
7
- }