@zendeskgarden/react-breadcrumbs 9.4.0 → 9.5.0
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,15 +5,15 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'breadcrumbs.list';
|
|
11
11
|
const StyledBreadcrumb = styled.ol.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.5.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledBreadcrumb",
|
|
16
16
|
componentId: "sc-11jrinn-0"
|
|
17
|
-
})(["display:flex;margin:0;padding:0;list-style:none;font-size:", ";direction:", ";", ";"], props => props.theme.fontSizes.md, props => props.theme.rtl && 'rtl',
|
|
17
|
+
})(["display:flex;margin:0;padding:0;list-style:none;font-size:", ";direction:", ";", ";"], props => props.theme.fontSizes.md, props => props.theme.rtl && 'rtl', componentStyles);
|
|
18
18
|
|
|
19
19
|
export { StyledBreadcrumb };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles, getLineHeight, getColor } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'breadcrumbs.item';
|
|
11
11
|
const sizeStyles = _ref => {
|
|
@@ -35,10 +35,10 @@ const colorStyles = _ref2 => {
|
|
|
35
35
|
};
|
|
36
36
|
const StyledBreadcrumbItem = styled.li.attrs({
|
|
37
37
|
'data-garden-id': COMPONENT_ID,
|
|
38
|
-
'data-garden-version': '9.
|
|
38
|
+
'data-garden-version': '9.5.0'
|
|
39
39
|
}).withConfig({
|
|
40
40
|
displayName: "StyledBreadcrumbItem",
|
|
41
41
|
componentId: "sc-r0suq7-0"
|
|
42
|
-
})(["font-size:inherit;", " ", ";", ";"], sizeStyles, colorStyles,
|
|
42
|
+
})(["font-size:inherit;", " ", ";", ";"], sizeStyles, colorStyles, componentStyles);
|
|
43
43
|
|
|
44
44
|
export { StyledBreadcrumbItem };
|
package/dist/index.cjs.js
CHANGED
|
@@ -54,11 +54,11 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
|
|
|
54
54
|
const COMPONENT_ID$1 = 'breadcrumbs.list';
|
|
55
55
|
const StyledBreadcrumb = styled__default.default.ol.attrs({
|
|
56
56
|
'data-garden-id': COMPONENT_ID$1,
|
|
57
|
-
'data-garden-version': '9.
|
|
57
|
+
'data-garden-version': '9.5.0'
|
|
58
58
|
}).withConfig({
|
|
59
59
|
displayName: "StyledBreadcrumb",
|
|
60
60
|
componentId: "sc-11jrinn-0"
|
|
61
|
-
})(["display:flex;margin:0;padding:0;list-style:none;font-size:", ";direction:", ";", ";"], props => props.theme.fontSizes.md, props => props.theme.rtl && 'rtl',
|
|
61
|
+
})(["display:flex;margin:0;padding:0;list-style:none;font-size:", ";direction:", ";", ";"], props => props.theme.fontSizes.md, props => props.theme.rtl && 'rtl', reactTheming.componentStyles);
|
|
62
62
|
|
|
63
63
|
const StyledChevronIcon = styled__default.default(reactTheming.StyledBaseIcon).withConfig({
|
|
64
64
|
displayName: "StyledChevronIcon",
|
|
@@ -96,11 +96,11 @@ const colorStyles = _ref2 => {
|
|
|
96
96
|
};
|
|
97
97
|
const StyledBreadcrumbItem = styled__default.default.li.attrs({
|
|
98
98
|
'data-garden-id': COMPONENT_ID,
|
|
99
|
-
'data-garden-version': '9.
|
|
99
|
+
'data-garden-version': '9.5.0'
|
|
100
100
|
}).withConfig({
|
|
101
101
|
displayName: "StyledBreadcrumbItem",
|
|
102
102
|
componentId: "sc-r0suq7-0"
|
|
103
|
-
})(["font-size:inherit;", " ", ";", ";"], sizeStyles, colorStyles,
|
|
103
|
+
})(["font-size:inherit;", " ", ";", ";"], sizeStyles, colorStyles, reactTheming.componentStyles);
|
|
104
104
|
|
|
105
105
|
const StyledCenteredBreadcrumbItem = styled__default.default(StyledBreadcrumbItem).attrs({
|
|
106
106
|
'aria-hidden': true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-breadcrumbs",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
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>",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"styled-components": "^5.3.1 || ^6.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@zendeskgarden/react-theming": "^9.
|
|
36
|
-
"@zendeskgarden/svg-icons": "7.
|
|
35
|
+
"@zendeskgarden/react-theming": "^9.5.0",
|
|
36
|
+
"@zendeskgarden/svg-icons": "7.5.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"components",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"zendeskgarden:src": "src/index.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "43546784a9aa985332ddcc6dd09209a11e2c03ff"
|
|
49
49
|
}
|