@zendeskgarden/react-breadcrumbs 9.0.0-next.3 → 9.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.
- package/dist/index.cjs.js +4 -4
- package/dist/index.esm.js +5 -5
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -39,7 +39,7 @@ var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
|
39
39
|
const COMPONENT_ID$1 = 'breadcrumbs.list';
|
|
40
40
|
const StyledBreadcrumb = styled__default.default.ol.attrs({
|
|
41
41
|
'data-garden-id': COMPONENT_ID$1,
|
|
42
|
-
'data-garden-version': '9.0.0-next.
|
|
42
|
+
'data-garden-version': '9.0.0-next.5'
|
|
43
43
|
}).withConfig({
|
|
44
44
|
displayName: "StyledBreadcrumb",
|
|
45
45
|
componentId: "sc-11jrinn-0"
|
|
@@ -77,7 +77,7 @@ const StyledChevronIcon = styled__default.default(ValidChevronIcon).attrs({
|
|
|
77
77
|
}).withConfig({
|
|
78
78
|
displayName: "StyledChevronIcon",
|
|
79
79
|
componentId: "sc-9r9qrm-0"
|
|
80
|
-
})(["transform:", ";margin:0 ", ";color:", ";"], props => props.theme.rtl && `rotate(180deg);`, props => polished.em(props.theme.space.base, props.theme.fontSizes.md), props => reactTheming.
|
|
80
|
+
})(["transform:", ";margin:0 ", ";color:", ";"], props => props.theme.rtl && `rotate(180deg);`, props => polished.em(props.theme.space.base, props.theme.fontSizes.md), props => reactTheming.getColorV8('neutralHue', 600, props.theme));
|
|
81
81
|
StyledChevronIcon.defaultProps = {
|
|
82
82
|
theme: reactTheming.DEFAULT_THEME
|
|
83
83
|
};
|
|
@@ -100,11 +100,11 @@ const linkStyles = _ref => {
|
|
|
100
100
|
};
|
|
101
101
|
const StyledBreadcrumbItem = styled__default.default.li.attrs({
|
|
102
102
|
'data-garden-id': COMPONENT_ID,
|
|
103
|
-
'data-garden-version': '9.0.0-next.
|
|
103
|
+
'data-garden-version': '9.0.0-next.5'
|
|
104
104
|
}).withConfig({
|
|
105
105
|
displayName: "StyledBreadcrumbItem",
|
|
106
106
|
componentId: "sc-r0suq7-0"
|
|
107
|
-
})(["line-height:", ";white-space:nowrap;color:", ";font-size:inherit;", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.isCurrent ? reactTheming.
|
|
107
|
+
})(["line-height:", ";white-space:nowrap;color:", ";font-size:inherit;", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.isCurrent ? reactTheming.getColorV8(props.theme.colors.neutralHue, 600) : 'inherit', linkStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID, props));
|
|
108
108
|
StyledBreadcrumbItem.defaultProps = {
|
|
109
109
|
theme: reactTheming.DEFAULT_THEME
|
|
110
110
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import React__default, { forwardRef, Children, cloneElement } from 'react';
|
|
10
10
|
import { useBreadcrumb } from '@zendeskgarden/container-breadcrumb';
|
|
11
|
-
import { retrieveComponentStyles, DEFAULT_THEME,
|
|
11
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColorV8, getLineHeight, useText } from '@zendeskgarden/react-theming';
|
|
12
12
|
import styled, { css } from 'styled-components';
|
|
13
13
|
import { em } from 'polished';
|
|
14
14
|
|
|
15
15
|
const COMPONENT_ID$1 = 'breadcrumbs.list';
|
|
16
16
|
const StyledBreadcrumb = styled.ol.attrs({
|
|
17
17
|
'data-garden-id': COMPONENT_ID$1,
|
|
18
|
-
'data-garden-version': '9.0.0-next.
|
|
18
|
+
'data-garden-version': '9.0.0-next.5'
|
|
19
19
|
}).withConfig({
|
|
20
20
|
displayName: "StyledBreadcrumb",
|
|
21
21
|
componentId: "sc-11jrinn-0"
|
|
@@ -53,7 +53,7 @@ const StyledChevronIcon = styled(ValidChevronIcon).attrs({
|
|
|
53
53
|
}).withConfig({
|
|
54
54
|
displayName: "StyledChevronIcon",
|
|
55
55
|
componentId: "sc-9r9qrm-0"
|
|
56
|
-
})(["transform:", ";margin:0 ", ";color:", ";"], props => props.theme.rtl && `rotate(180deg);`, props => em(props.theme.space.base, props.theme.fontSizes.md), props =>
|
|
56
|
+
})(["transform:", ";margin:0 ", ";color:", ";"], props => props.theme.rtl && `rotate(180deg);`, props => em(props.theme.space.base, props.theme.fontSizes.md), props => getColorV8('neutralHue', 600, props.theme));
|
|
57
57
|
StyledChevronIcon.defaultProps = {
|
|
58
58
|
theme: DEFAULT_THEME
|
|
59
59
|
};
|
|
@@ -76,11 +76,11 @@ const linkStyles = _ref => {
|
|
|
76
76
|
};
|
|
77
77
|
const StyledBreadcrumbItem = styled.li.attrs({
|
|
78
78
|
'data-garden-id': COMPONENT_ID,
|
|
79
|
-
'data-garden-version': '9.0.0-next.
|
|
79
|
+
'data-garden-version': '9.0.0-next.5'
|
|
80
80
|
}).withConfig({
|
|
81
81
|
displayName: "StyledBreadcrumbItem",
|
|
82
82
|
componentId: "sc-r0suq7-0"
|
|
83
|
-
})(["line-height:", ";white-space:nowrap;color:", ";font-size:inherit;", ";", ";"], props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.isCurrent ?
|
|
83
|
+
})(["line-height:", ";white-space:nowrap;color:", ";font-size:inherit;", ";", ";"], props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.isCurrent ? getColorV8(props.theme.colors.neutralHue, 600) : 'inherit', linkStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
84
84
|
StyledBreadcrumbItem.defaultProps = {
|
|
85
85
|
theme: DEFAULT_THEME
|
|
86
86
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-breadcrumbs",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.5",
|
|
4
4
|
"description": "Components relating to breadcrumbs in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@zendeskgarden/react-theming": "^8.1.0",
|
|
30
30
|
"react": ">=16.8.0",
|
|
31
31
|
"react-dom": ">=16.8.0",
|
|
32
|
-
"styled-components": "^5.1
|
|
32
|
+
"styled-components": "^5.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
35
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.5",
|
|
36
36
|
"@zendeskgarden/svg-icons": "7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"zendeskgarden:src": "src/index.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "806fa33feb06142c3f69b6a87b53628469117e4d"
|
|
49
49
|
}
|