@zendeskgarden/react-chrome 9.0.0-next.13 → 9.0.0-next.14
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/LICENSE.md +176 -0
- package/dist/esm/elements/sheet/Sheet.js +1 -1
- package/dist/esm/styled/StyledChrome.js +1 -1
- package/dist/esm/styled/StyledSkipNav.js +1 -1
- package/dist/esm/styled/StyledSkipNavIcon.js +1 -1
- package/dist/esm/styled/body/StyledBody.js +1 -1
- package/dist/esm/styled/body/StyledContent.js +1 -1
- package/dist/esm/styled/body/StyledMain.js +1 -1
- package/dist/esm/styled/footer/StyledFooter.js +1 -1
- package/dist/esm/styled/footer/StyledFooterItem.js +1 -1
- package/dist/esm/styled/header/StyledBaseHeaderItem.js +1 -1
- package/dist/esm/styled/header/StyledHeader.js +1 -1
- package/dist/esm/styled/header/StyledHeaderItem.js +1 -1
- package/dist/esm/styled/header/StyledHeaderItemIcon.js +1 -1
- package/dist/esm/styled/header/StyledHeaderItemText.js +1 -1
- package/dist/esm/styled/header/StyledHeaderItemWrapper.js +1 -1
- package/dist/esm/styled/header/StyledLogoHeaderItem.js +1 -1
- package/dist/esm/styled/nav/StyledBaseNavItem.js +1 -1
- package/dist/esm/styled/nav/StyledBrandmarkNavItem.js +1 -1
- package/dist/esm/styled/nav/StyledLogoNavItem.js +1 -1
- package/dist/esm/styled/nav/StyledNav.js +1 -1
- package/dist/esm/styled/nav/StyledNavButton.js +1 -1
- package/dist/esm/styled/nav/StyledNavItemIcon.js +1 -1
- package/dist/esm/styled/nav/StyledNavItemText.js +1 -1
- package/dist/esm/styled/nav/StyledNavList.js +1 -1
- package/dist/esm/styled/nav/StyledNavListItem.js +1 -1
- package/dist/esm/styled/sheet/StyledSheet.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetBody.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetClose.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetDescription.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetFooter.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetFooterItem.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetHeader.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetTitle.js +1 -1
- package/dist/esm/styled/sheet/StyledSheetWrapper.js +1 -1
- package/dist/index.cjs.js +34 -34
- package/package.json +4 -3
package/LICENSE.md
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -67,7 +67,7 @@ const SheetComponent = React__default.forwardRef((_ref, ref) => {
|
|
|
67
67
|
const sheetRef = useRef(null);
|
|
68
68
|
const seed = useUIDSeed();
|
|
69
69
|
const [isCloseButtonPresent, setIsCloseButtonPresent] = useState(false);
|
|
70
|
-
const idPrefix = useMemo(() => id || seed(`sheet_${'9.0.0-next.
|
|
70
|
+
const idPrefix = useMemo(() => id || seed(`sheet_${'9.0.0-next.14'}`), [id, seed]);
|
|
71
71
|
const titleId = `${idPrefix}--title`;
|
|
72
72
|
const descriptionId = `${idPrefix}--description`;
|
|
73
73
|
const sheetContext = useMemo(() => ({
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.chrome';
|
|
11
11
|
const StyledChrome = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledChrome",
|
|
16
16
|
componentId: "sc-1uqm6u6-0"
|
|
@@ -34,7 +34,7 @@ const sizeStyles = props => {
|
|
|
34
34
|
};
|
|
35
35
|
const StyledSkipNav = styled.a.attrs({
|
|
36
36
|
'data-garden-id': COMPONENT_ID,
|
|
37
|
-
'data-garden-version': '9.0.0-next.
|
|
37
|
+
'data-garden-version': '9.0.0-next.14'
|
|
38
38
|
}).withConfig({
|
|
39
39
|
displayName: "StyledSkipNav",
|
|
40
40
|
componentId: "sc-1tsro34-0"
|
|
@@ -16,7 +16,7 @@ const sizeStyles = theme => {
|
|
|
16
16
|
};
|
|
17
17
|
const StyledSkipNavIcon = styled(SvgLinkStroke).attrs({
|
|
18
18
|
'data-garden-id': COMPONENT_ID,
|
|
19
|
-
'data-garden-version': '9.0.0-next.
|
|
19
|
+
'data-garden-version': '9.0.0-next.14'
|
|
20
20
|
}).withConfig({
|
|
21
21
|
displayName: "StyledSkipNavIcon",
|
|
22
22
|
componentId: "sc-1ika5z4-0"
|
|
@@ -10,7 +10,7 @@ import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgard
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.body';
|
|
11
11
|
const StyledBody = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledBody",
|
|
16
16
|
componentId: "sc-c7h9kv-0"
|
|
@@ -13,7 +13,7 @@ import { getFooterHeight } from '../footer/StyledFooter.js';
|
|
|
13
13
|
const COMPONENT_ID = 'chrome.content';
|
|
14
14
|
const StyledContent = styled.div.attrs({
|
|
15
15
|
'data-garden-id': COMPONENT_ID,
|
|
16
|
-
'data-garden-version': '9.0.0-next.
|
|
16
|
+
'data-garden-version': '9.0.0-next.14'
|
|
17
17
|
}).withConfig({
|
|
18
18
|
displayName: "StyledContent",
|
|
19
19
|
componentId: "sc-qcuzxn-0"
|
|
@@ -10,7 +10,7 @@ import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgard
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.main';
|
|
11
11
|
const StyledMain = styled.main.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledMain",
|
|
16
16
|
componentId: "sc-t61cre-0"
|
|
@@ -13,7 +13,7 @@ const getFooterHeight = props => {
|
|
|
13
13
|
};
|
|
14
14
|
const StyledFooter = styled.footer.attrs({
|
|
15
15
|
'data-garden-id': COMPONENT_ID,
|
|
16
|
-
'data-garden-version': '9.0.0-next.
|
|
16
|
+
'data-garden-version': '9.0.0-next.14'
|
|
17
17
|
}).withConfig({
|
|
18
18
|
displayName: "StyledFooter",
|
|
19
19
|
componentId: "sc-v7lib2-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.footer_item';
|
|
11
11
|
const StyledFooterItem = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledFooterItem",
|
|
16
16
|
componentId: "sc-1cktm85-0"
|
|
@@ -15,7 +15,7 @@ const sizeStyles = props => {
|
|
|
15
15
|
};
|
|
16
16
|
const StyledBaseHeaderItem = styled.button.attrs({
|
|
17
17
|
'data-garden-id': COMPONENT_ID,
|
|
18
|
-
'data-garden-version': '9.0.0-next.
|
|
18
|
+
'data-garden-version': '9.0.0-next.14'
|
|
19
19
|
}).withConfig({
|
|
20
20
|
displayName: "StyledBaseHeaderItem",
|
|
21
21
|
componentId: "sc-1qua7h6-0"
|
|
@@ -15,7 +15,7 @@ const getHeaderHeight = props => {
|
|
|
15
15
|
};
|
|
16
16
|
const StyledHeader = styled.header.attrs({
|
|
17
17
|
'data-garden-id': COMPONENT_ID,
|
|
18
|
-
'data-garden-version': '9.0.0-next.
|
|
18
|
+
'data-garden-version': '9.0.0-next.14'
|
|
19
19
|
}).withConfig({
|
|
20
20
|
displayName: "StyledHeader",
|
|
21
21
|
componentId: "sc-1cexpz-0"
|
|
@@ -18,7 +18,7 @@ const imgStyles = props => {
|
|
|
18
18
|
};
|
|
19
19
|
const StyledHeaderItem = styled(StyledBaseHeaderItem).attrs({
|
|
20
20
|
'data-garden-id': COMPONENT_ID,
|
|
21
|
-
'data-garden-version': '9.0.0-next.
|
|
21
|
+
'data-garden-version': '9.0.0-next.14'
|
|
22
22
|
}).withConfig({
|
|
23
23
|
displayName: "StyledHeaderItem",
|
|
24
24
|
componentId: "sc-14sft6n-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.header_item_icon';
|
|
11
11
|
const StyledHeaderItemIcon = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledHeaderItemIcon",
|
|
16
16
|
componentId: "sc-1jhhp6z-0"
|
|
@@ -11,7 +11,7 @@ const COMPONENT_ID = 'chrome.header_item_text';
|
|
|
11
11
|
const clippedStyling = css(["position:absolute;margin:0;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;white-space:nowrap;"]);
|
|
12
12
|
const StyledHeaderItemText = styled.span.attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.14'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledHeaderItemText",
|
|
17
17
|
componentId: "sc-goz7la-0"
|
|
@@ -11,7 +11,7 @@ import { StyledBaseHeaderItem } from './StyledBaseHeaderItem.js';
|
|
|
11
11
|
const COMPONENT_ID = 'chrome.header_item_wrapper';
|
|
12
12
|
const StyledHeaderItemWrapper = styled(StyledBaseHeaderItem).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.14',
|
|
15
15
|
as: 'div'
|
|
16
16
|
}).withConfig({
|
|
17
17
|
displayName: "StyledHeaderItemWrapper",
|
|
@@ -30,7 +30,7 @@ const retrieveProductColor = props => {
|
|
|
30
30
|
};
|
|
31
31
|
const StyledLogoHeaderItem = styled(StyledBaseHeaderItem).attrs({
|
|
32
32
|
'data-garden-id': COMPONENT_ID,
|
|
33
|
-
'data-garden-version': '9.0.0-next.
|
|
33
|
+
'data-garden-version': '9.0.0-next.14',
|
|
34
34
|
as: 'div'
|
|
35
35
|
}).withConfig({
|
|
36
36
|
displayName: "StyledLogoHeaderItem",
|
|
@@ -20,7 +20,7 @@ const sizeStyles = props => {
|
|
|
20
20
|
};
|
|
21
21
|
const StyledBaseNavItem = styled.div.attrs({
|
|
22
22
|
'data-garden-id': COMPONENT_ID,
|
|
23
|
-
'data-garden-version': '9.0.0-next.
|
|
23
|
+
'data-garden-version': '9.0.0-next.14'
|
|
24
24
|
}).withConfig({
|
|
25
25
|
displayName: "StyledBaseNavItem",
|
|
26
26
|
componentId: "sc-zvo43f-0"
|
|
@@ -11,7 +11,7 @@ import { StyledBaseNavItem } from './StyledBaseNavItem.js';
|
|
|
11
11
|
const COMPONENT_ID = 'chrome.brandmark_nav_list_item';
|
|
12
12
|
const StyledBrandmarkNavItem = styled(StyledBaseNavItem).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.14'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledBrandmarkNavItem",
|
|
17
17
|
componentId: "sc-8kynd4-0"
|
|
@@ -32,7 +32,7 @@ const colorStyles = props => {
|
|
|
32
32
|
};
|
|
33
33
|
const StyledLogoNavItem = styled(StyledBaseNavItem).attrs({
|
|
34
34
|
'data-garden-id': COMPONENT_ID,
|
|
35
|
-
'data-garden-version': '9.0.0-next.
|
|
35
|
+
'data-garden-version': '9.0.0-next.14'
|
|
36
36
|
}).withConfig({
|
|
37
37
|
displayName: "StyledLogoNavItem",
|
|
38
38
|
componentId: "sc-saaydx-0"
|
|
@@ -22,7 +22,7 @@ const getExpandedNavWidth = () => {
|
|
|
22
22
|
};
|
|
23
23
|
const StyledNav = styled.nav.attrs({
|
|
24
24
|
'data-garden-id': COMPONENT_ID,
|
|
25
|
-
'data-garden-version': '9.0.0-next.
|
|
25
|
+
'data-garden-version': '9.0.0-next.14'
|
|
26
26
|
}).withConfig({
|
|
27
27
|
displayName: "StyledNav",
|
|
28
28
|
componentId: "sc-6j462r-0"
|
|
@@ -48,7 +48,7 @@ const colorStyles = props => {
|
|
|
48
48
|
};
|
|
49
49
|
const StyledNavButton = styled(StyledBaseNavItem).attrs({
|
|
50
50
|
'data-garden-id': COMPONENT_ID,
|
|
51
|
-
'data-garden-version': '9.0.0-next.
|
|
51
|
+
'data-garden-version': '9.0.0-next.14',
|
|
52
52
|
as: 'button'
|
|
53
53
|
}).withConfig({
|
|
54
54
|
displayName: "StyledNavButton",
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.nav_item_icon';
|
|
11
11
|
const StyledNavItemIcon = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledNavItemIcon",
|
|
16
16
|
componentId: "sc-7w9rpt-0"
|
|
@@ -13,7 +13,7 @@ import { getNavWidth } from './StyledNav.js';
|
|
|
13
13
|
const COMPONENT_ID = 'chrome.nav_item_text';
|
|
14
14
|
const StyledNavItemText = styled.span.attrs({
|
|
15
15
|
'data-garden-id': COMPONENT_ID,
|
|
16
|
-
'data-garden-version': '9.0.0-next.
|
|
16
|
+
'data-garden-version': '9.0.0-next.14'
|
|
17
17
|
}).withConfig({
|
|
18
18
|
displayName: "StyledNavItemText",
|
|
19
19
|
componentId: "sc-13m84xl-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.nav_list';
|
|
11
11
|
const StyledNavList = styled.ul.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledNavList",
|
|
16
16
|
componentId: "sc-1s0nkfb-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.nav_list_item';
|
|
11
11
|
const StyledNavListItem = styled.li.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledNavListItem",
|
|
16
16
|
componentId: "sc-18cj2v7-0"
|
|
@@ -29,7 +29,7 @@ const borderStyle = _ref => {
|
|
|
29
29
|
};
|
|
30
30
|
const StyledSheet = styled.aside.attrs({
|
|
31
31
|
'data-garden-id': COMPONENT_ID,
|
|
32
|
-
'data-garden-version': '9.0.0-next.
|
|
32
|
+
'data-garden-version': '9.0.0-next.14'
|
|
33
33
|
}).withConfig({
|
|
34
34
|
displayName: "StyledSheet",
|
|
35
35
|
componentId: "sc-dx8ijk-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.sheet_body';
|
|
11
11
|
const StyledSheetBody = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledSheetBody",
|
|
16
16
|
componentId: "sc-bt4eoj-0"
|
|
@@ -22,7 +22,7 @@ const colorStyles = props => {
|
|
|
22
22
|
};
|
|
23
23
|
const StyledSheetClose = styled.button.attrs({
|
|
24
24
|
'data-garden-id': COMPONENT_ID,
|
|
25
|
-
'data-garden-version': '9.0.0-next.
|
|
25
|
+
'data-garden-version': '9.0.0-next.14'
|
|
26
26
|
}).withConfig({
|
|
27
27
|
displayName: "StyledSheetClose",
|
|
28
28
|
componentId: "sc-1ab02oq-0"
|
|
@@ -10,7 +10,7 @@ import { getLineHeight, getColorV8, retrieveComponentStyles, DEFAULT_THEME } fro
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.sheet_description';
|
|
11
11
|
const StyledSheetDescription = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledSheetDescription",
|
|
16
16
|
componentId: "sc-1puglb6-0"
|
|
@@ -10,7 +10,7 @@ import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgard
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.sheet_footer';
|
|
11
11
|
const StyledSheetFooter = styled.footer.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledSheetFooter",
|
|
16
16
|
componentId: "sc-2cktos-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.sheet_footer_item';
|
|
11
11
|
const StyledSheetFooterItem = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledSheetFooterItem",
|
|
16
16
|
componentId: "sc-r9ixh-0"
|
|
@@ -11,7 +11,7 @@ import { BASE_MULTIPLIERS } from './StyledSheetClose.js';
|
|
|
11
11
|
const COMPONENT_ID = 'chrome.sheet_header';
|
|
12
12
|
const StyledSheetHeader = styled.header.attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.14'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledSheetHeader",
|
|
17
17
|
componentId: "sc-o2ry8i-0"
|
|
@@ -10,7 +10,7 @@ import { getLineHeight, getColorV8, retrieveComponentStyles, DEFAULT_THEME } fro
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.sheet_title';
|
|
11
11
|
const StyledSheetTitle = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledSheetTitle",
|
|
16
16
|
componentId: "sc-1gogk75-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'chrome.sheet_wrapper';
|
|
11
11
|
const StyledSheetWrapper = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledSheetWrapper",
|
|
16
16
|
componentId: "sc-f6x9zb-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -46,7 +46,7 @@ const PRODUCTS = ['chat', 'explore', 'guide', 'support', 'talk'];
|
|
|
46
46
|
const COMPONENT_ID$w = 'chrome.chrome';
|
|
47
47
|
const StyledChrome = styled__default.default.div.attrs({
|
|
48
48
|
'data-garden-id': COMPONENT_ID$w,
|
|
49
|
-
'data-garden-version': '9.0.0-next.
|
|
49
|
+
'data-garden-version': '9.0.0-next.14'
|
|
50
50
|
}).withConfig({
|
|
51
51
|
displayName: "StyledChrome",
|
|
52
52
|
componentId: "sc-1uqm6u6-0"
|
|
@@ -58,7 +58,7 @@ StyledChrome.defaultProps = {
|
|
|
58
58
|
const COMPONENT_ID$v = 'chrome.header_item_icon';
|
|
59
59
|
const StyledHeaderItemIcon = styled__default.default.div.attrs({
|
|
60
60
|
'data-garden-id': COMPONENT_ID$v,
|
|
61
|
-
'data-garden-version': '9.0.0-next.
|
|
61
|
+
'data-garden-version': '9.0.0-next.14'
|
|
62
62
|
}).withConfig({
|
|
63
63
|
displayName: "StyledHeaderItemIcon",
|
|
64
64
|
componentId: "sc-1jhhp6z-0"
|
|
@@ -75,7 +75,7 @@ const sizeStyles$3 = props => {
|
|
|
75
75
|
};
|
|
76
76
|
const StyledBaseHeaderItem = styled__default.default.button.attrs({
|
|
77
77
|
'data-garden-id': COMPONENT_ID$u,
|
|
78
|
-
'data-garden-version': '9.0.0-next.
|
|
78
|
+
'data-garden-version': '9.0.0-next.14'
|
|
79
79
|
}).withConfig({
|
|
80
80
|
displayName: "StyledBaseHeaderItem",
|
|
81
81
|
componentId: "sc-1qua7h6-0"
|
|
@@ -96,7 +96,7 @@ const COMPONENT_ID$t = 'chrome.header_item_text';
|
|
|
96
96
|
const clippedStyling = styled.css(["position:absolute;margin:0;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;white-space:nowrap;"]);
|
|
97
97
|
const StyledHeaderItemText = styled__default.default.span.attrs({
|
|
98
98
|
'data-garden-id': COMPONENT_ID$t,
|
|
99
|
-
'data-garden-version': '9.0.0-next.
|
|
99
|
+
'data-garden-version': '9.0.0-next.14'
|
|
100
100
|
}).withConfig({
|
|
101
101
|
displayName: "StyledHeaderItemText",
|
|
102
102
|
componentId: "sc-goz7la-0"
|
|
@@ -120,7 +120,7 @@ const getExpandedNavWidth = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const StyledNav = styled__default.default.nav.attrs({
|
|
122
122
|
'data-garden-id': COMPONENT_ID$s,
|
|
123
|
-
'data-garden-version': '9.0.0-next.
|
|
123
|
+
'data-garden-version': '9.0.0-next.14'
|
|
124
124
|
}).withConfig({
|
|
125
125
|
displayName: "StyledNav",
|
|
126
126
|
componentId: "sc-6j462r-0"
|
|
@@ -148,7 +148,7 @@ const retrieveProductColor$1 = props => {
|
|
|
148
148
|
};
|
|
149
149
|
const StyledLogoHeaderItem = styled__default.default(StyledBaseHeaderItem).attrs({
|
|
150
150
|
'data-garden-id': COMPONENT_ID$r,
|
|
151
|
-
'data-garden-version': '9.0.0-next.
|
|
151
|
+
'data-garden-version': '9.0.0-next.14',
|
|
152
152
|
as: 'div'
|
|
153
153
|
}).withConfig({
|
|
154
154
|
displayName: "StyledLogoHeaderItem",
|
|
@@ -169,7 +169,7 @@ const sizeStyles$2 = props => {
|
|
|
169
169
|
};
|
|
170
170
|
const StyledBaseNavItem = styled__default.default.div.attrs({
|
|
171
171
|
'data-garden-id': COMPONENT_ID$q,
|
|
172
|
-
'data-garden-version': '9.0.0-next.
|
|
172
|
+
'data-garden-version': '9.0.0-next.14'
|
|
173
173
|
}).withConfig({
|
|
174
174
|
displayName: "StyledBaseNavItem",
|
|
175
175
|
componentId: "sc-zvo43f-0"
|
|
@@ -184,7 +184,7 @@ const getHeaderHeight = props => {
|
|
|
184
184
|
};
|
|
185
185
|
const StyledHeader = styled__default.default.header.attrs({
|
|
186
186
|
'data-garden-id': COMPONENT_ID$p,
|
|
187
|
-
'data-garden-version': '9.0.0-next.
|
|
187
|
+
'data-garden-version': '9.0.0-next.14'
|
|
188
188
|
}).withConfig({
|
|
189
189
|
displayName: "StyledHeader",
|
|
190
190
|
componentId: "sc-1cexpz-0"
|
|
@@ -222,7 +222,7 @@ const sizeStyles$1 = props => {
|
|
|
222
222
|
};
|
|
223
223
|
const StyledSkipNav = styled__default.default.a.attrs({
|
|
224
224
|
'data-garden-id': COMPONENT_ID$o,
|
|
225
|
-
'data-garden-version': '9.0.0-next.
|
|
225
|
+
'data-garden-version': '9.0.0-next.14'
|
|
226
226
|
}).withConfig({
|
|
227
227
|
displayName: "StyledSkipNav",
|
|
228
228
|
componentId: "sc-1tsro34-0"
|
|
@@ -255,7 +255,7 @@ const sizeStyles = theme => {
|
|
|
255
255
|
};
|
|
256
256
|
const StyledSkipNavIcon = styled__default.default(SvgLinkStroke).attrs({
|
|
257
257
|
'data-garden-id': COMPONENT_ID$n,
|
|
258
|
-
'data-garden-version': '9.0.0-next.
|
|
258
|
+
'data-garden-version': '9.0.0-next.14'
|
|
259
259
|
}).withConfig({
|
|
260
260
|
displayName: "StyledSkipNavIcon",
|
|
261
261
|
componentId: "sc-1ika5z4-0"
|
|
@@ -267,7 +267,7 @@ StyledSkipNavIcon.defaultProps = {
|
|
|
267
267
|
const COMPONENT_ID$m = 'chrome.body';
|
|
268
268
|
const StyledBody = styled__default.default.div.attrs({
|
|
269
269
|
'data-garden-id': COMPONENT_ID$m,
|
|
270
|
-
'data-garden-version': '9.0.0-next.
|
|
270
|
+
'data-garden-version': '9.0.0-next.14'
|
|
271
271
|
}).withConfig({
|
|
272
272
|
displayName: "StyledBody",
|
|
273
273
|
componentId: "sc-c7h9kv-0"
|
|
@@ -282,7 +282,7 @@ const getFooterHeight = props => {
|
|
|
282
282
|
};
|
|
283
283
|
const StyledFooter = styled__default.default.footer.attrs({
|
|
284
284
|
'data-garden-id': COMPONENT_ID$l,
|
|
285
|
-
'data-garden-version': '9.0.0-next.
|
|
285
|
+
'data-garden-version': '9.0.0-next.14'
|
|
286
286
|
}).withConfig({
|
|
287
287
|
displayName: "StyledFooter",
|
|
288
288
|
componentId: "sc-v7lib2-0"
|
|
@@ -294,7 +294,7 @@ StyledFooter.defaultProps = {
|
|
|
294
294
|
const COMPONENT_ID$k = 'chrome.content';
|
|
295
295
|
const StyledContent = styled__default.default.div.attrs({
|
|
296
296
|
'data-garden-id': COMPONENT_ID$k,
|
|
297
|
-
'data-garden-version': '9.0.0-next.
|
|
297
|
+
'data-garden-version': '9.0.0-next.14'
|
|
298
298
|
}).withConfig({
|
|
299
299
|
displayName: "StyledContent",
|
|
300
300
|
componentId: "sc-qcuzxn-0"
|
|
@@ -306,7 +306,7 @@ StyledContent.defaultProps = {
|
|
|
306
306
|
const COMPONENT_ID$j = 'chrome.main';
|
|
307
307
|
const StyledMain = styled__default.default.main.attrs({
|
|
308
308
|
'data-garden-id': COMPONENT_ID$j,
|
|
309
|
-
'data-garden-version': '9.0.0-next.
|
|
309
|
+
'data-garden-version': '9.0.0-next.14'
|
|
310
310
|
}).withConfig({
|
|
311
311
|
displayName: "StyledMain",
|
|
312
312
|
componentId: "sc-t61cre-0"
|
|
@@ -318,7 +318,7 @@ StyledMain.defaultProps = {
|
|
|
318
318
|
const COMPONENT_ID$i = 'chrome.footer_item';
|
|
319
319
|
const StyledFooterItem = styled__default.default.div.attrs({
|
|
320
320
|
'data-garden-id': COMPONENT_ID$i,
|
|
321
|
-
'data-garden-version': '9.0.0-next.
|
|
321
|
+
'data-garden-version': '9.0.0-next.14'
|
|
322
322
|
}).withConfig({
|
|
323
323
|
displayName: "StyledFooterItem",
|
|
324
324
|
componentId: "sc-1cktm85-0"
|
|
@@ -334,7 +334,7 @@ const imgStyles = props => {
|
|
|
334
334
|
};
|
|
335
335
|
const StyledHeaderItem = styled__default.default(StyledBaseHeaderItem).attrs({
|
|
336
336
|
'data-garden-id': COMPONENT_ID$h,
|
|
337
|
-
'data-garden-version': '9.0.0-next.
|
|
337
|
+
'data-garden-version': '9.0.0-next.14'
|
|
338
338
|
}).withConfig({
|
|
339
339
|
displayName: "StyledHeaderItem",
|
|
340
340
|
componentId: "sc-14sft6n-0"
|
|
@@ -353,7 +353,7 @@ StyledHeaderItem.defaultProps = {
|
|
|
353
353
|
const COMPONENT_ID$g = 'chrome.header_item_wrapper';
|
|
354
354
|
const StyledHeaderItemWrapper = styled__default.default(StyledBaseHeaderItem).attrs({
|
|
355
355
|
'data-garden-id': COMPONENT_ID$g,
|
|
356
|
-
'data-garden-version': '9.0.0-next.
|
|
356
|
+
'data-garden-version': '9.0.0-next.14',
|
|
357
357
|
as: 'div'
|
|
358
358
|
}).withConfig({
|
|
359
359
|
displayName: "StyledHeaderItemWrapper",
|
|
@@ -366,7 +366,7 @@ StyledHeaderItemWrapper.defaultProps = {
|
|
|
366
366
|
const COMPONENT_ID$f = 'chrome.nav_list';
|
|
367
367
|
const StyledNavList = styled__default.default.ul.attrs({
|
|
368
368
|
'data-garden-id': COMPONENT_ID$f,
|
|
369
|
-
'data-garden-version': '9.0.0-next.
|
|
369
|
+
'data-garden-version': '9.0.0-next.14'
|
|
370
370
|
}).withConfig({
|
|
371
371
|
displayName: "StyledNavList",
|
|
372
372
|
componentId: "sc-1s0nkfb-0"
|
|
@@ -378,7 +378,7 @@ StyledNavList.defaultProps = {
|
|
|
378
378
|
const COMPONENT_ID$e = 'chrome.nav_list_item';
|
|
379
379
|
const StyledNavListItem = styled__default.default.li.attrs({
|
|
380
380
|
'data-garden-id': COMPONENT_ID$e,
|
|
381
|
-
'data-garden-version': '9.0.0-next.
|
|
381
|
+
'data-garden-version': '9.0.0-next.14'
|
|
382
382
|
}).withConfig({
|
|
383
383
|
displayName: "StyledNavListItem",
|
|
384
384
|
componentId: "sc-18cj2v7-0"
|
|
@@ -411,7 +411,7 @@ const colorStyles$2 = props => {
|
|
|
411
411
|
};
|
|
412
412
|
const StyledLogoNavItem = styled__default.default(StyledBaseNavItem).attrs({
|
|
413
413
|
'data-garden-id': COMPONENT_ID$d,
|
|
414
|
-
'data-garden-version': '9.0.0-next.
|
|
414
|
+
'data-garden-version': '9.0.0-next.14'
|
|
415
415
|
}).withConfig({
|
|
416
416
|
displayName: "StyledLogoNavItem",
|
|
417
417
|
componentId: "sc-saaydx-0"
|
|
@@ -423,7 +423,7 @@ StyledLogoNavItem.defaultProps = {
|
|
|
423
423
|
const COMPONENT_ID$c = 'chrome.brandmark_nav_list_item';
|
|
424
424
|
const StyledBrandmarkNavItem = styled__default.default(StyledBaseNavItem).attrs({
|
|
425
425
|
'data-garden-id': COMPONENT_ID$c,
|
|
426
|
-
'data-garden-version': '9.0.0-next.
|
|
426
|
+
'data-garden-version': '9.0.0-next.14'
|
|
427
427
|
}).withConfig({
|
|
428
428
|
displayName: "StyledBrandmarkNavItem",
|
|
429
429
|
componentId: "sc-8kynd4-0"
|
|
@@ -435,7 +435,7 @@ StyledBrandmarkNavItem.defaultProps = {
|
|
|
435
435
|
const COMPONENT_ID$b = 'chrome.nav_item_icon';
|
|
436
436
|
const StyledNavItemIcon = styled__default.default.div.attrs({
|
|
437
437
|
'data-garden-id': COMPONENT_ID$b,
|
|
438
|
-
'data-garden-version': '9.0.0-next.
|
|
438
|
+
'data-garden-version': '9.0.0-next.14'
|
|
439
439
|
}).withConfig({
|
|
440
440
|
displayName: "StyledNavItemIcon",
|
|
441
441
|
componentId: "sc-7w9rpt-0"
|
|
@@ -481,7 +481,7 @@ const colorStyles$1 = props => {
|
|
|
481
481
|
};
|
|
482
482
|
const StyledNavButton = styled__default.default(StyledBaseNavItem).attrs({
|
|
483
483
|
'data-garden-id': COMPONENT_ID$a,
|
|
484
|
-
'data-garden-version': '9.0.0-next.
|
|
484
|
+
'data-garden-version': '9.0.0-next.14',
|
|
485
485
|
as: 'button'
|
|
486
486
|
}).withConfig({
|
|
487
487
|
displayName: "StyledNavButton",
|
|
@@ -498,7 +498,7 @@ StyledNavButton.defaultProps = {
|
|
|
498
498
|
const COMPONENT_ID$9 = 'chrome.nav_item_text';
|
|
499
499
|
const StyledNavItemText = styled__default.default.span.attrs({
|
|
500
500
|
'data-garden-id': COMPONENT_ID$9,
|
|
501
|
-
'data-garden-version': '9.0.0-next.
|
|
501
|
+
'data-garden-version': '9.0.0-next.14'
|
|
502
502
|
}).withConfig({
|
|
503
503
|
displayName: "StyledNavItemText",
|
|
504
504
|
componentId: "sc-13m84xl-0"
|
|
@@ -538,7 +538,7 @@ const borderStyle = _ref => {
|
|
|
538
538
|
};
|
|
539
539
|
const StyledSheet = styled__default.default.aside.attrs({
|
|
540
540
|
'data-garden-id': COMPONENT_ID$8,
|
|
541
|
-
'data-garden-version': '9.0.0-next.
|
|
541
|
+
'data-garden-version': '9.0.0-next.14'
|
|
542
542
|
}).withConfig({
|
|
543
543
|
displayName: "StyledSheet",
|
|
544
544
|
componentId: "sc-dx8ijk-0"
|
|
@@ -550,7 +550,7 @@ StyledSheet.defaultProps = {
|
|
|
550
550
|
const COMPONENT_ID$7 = 'chrome.sheet_wrapper';
|
|
551
551
|
const StyledSheetWrapper = styled__default.default.div.attrs({
|
|
552
552
|
'data-garden-id': COMPONENT_ID$7,
|
|
553
|
-
'data-garden-version': '9.0.0-next.
|
|
553
|
+
'data-garden-version': '9.0.0-next.14'
|
|
554
554
|
}).withConfig({
|
|
555
555
|
displayName: "StyledSheetWrapper",
|
|
556
556
|
componentId: "sc-f6x9zb-0"
|
|
@@ -577,7 +577,7 @@ StyledSheetWrapper.defaultProps = {
|
|
|
577
577
|
const COMPONENT_ID$6 = 'chrome.sheet_title';
|
|
578
578
|
const StyledSheetTitle = styled__default.default.div.attrs({
|
|
579
579
|
'data-garden-id': COMPONENT_ID$6,
|
|
580
|
-
'data-garden-version': '9.0.0-next.
|
|
580
|
+
'data-garden-version': '9.0.0-next.14'
|
|
581
581
|
}).withConfig({
|
|
582
582
|
displayName: "StyledSheetTitle",
|
|
583
583
|
componentId: "sc-1gogk75-0"
|
|
@@ -589,7 +589,7 @@ StyledSheetTitle.defaultProps = {
|
|
|
589
589
|
const COMPONENT_ID$5 = 'chrome.sheet_description';
|
|
590
590
|
const StyledSheetDescription = styled__default.default.div.attrs({
|
|
591
591
|
'data-garden-id': COMPONENT_ID$5,
|
|
592
|
-
'data-garden-version': '9.0.0-next.
|
|
592
|
+
'data-garden-version': '9.0.0-next.14'
|
|
593
593
|
}).withConfig({
|
|
594
594
|
displayName: "StyledSheetDescription",
|
|
595
595
|
componentId: "sc-1puglb6-0"
|
|
@@ -601,7 +601,7 @@ StyledSheetDescription.defaultProps = {
|
|
|
601
601
|
const COMPONENT_ID$4 = 'chrome.sheet_body';
|
|
602
602
|
const StyledSheetBody = styled__default.default.div.attrs({
|
|
603
603
|
'data-garden-id': COMPONENT_ID$4,
|
|
604
|
-
'data-garden-version': '9.0.0-next.
|
|
604
|
+
'data-garden-version': '9.0.0-next.14'
|
|
605
605
|
}).withConfig({
|
|
606
606
|
displayName: "StyledSheetBody",
|
|
607
607
|
componentId: "sc-bt4eoj-0"
|
|
@@ -625,7 +625,7 @@ const colorStyles = props => {
|
|
|
625
625
|
};
|
|
626
626
|
const StyledSheetClose = styled__default.default.button.attrs({
|
|
627
627
|
'data-garden-id': COMPONENT_ID$3,
|
|
628
|
-
'data-garden-version': '9.0.0-next.
|
|
628
|
+
'data-garden-version': '9.0.0-next.14'
|
|
629
629
|
}).withConfig({
|
|
630
630
|
displayName: "StyledSheetClose",
|
|
631
631
|
componentId: "sc-1ab02oq-0"
|
|
@@ -637,7 +637,7 @@ StyledSheetClose.defaultProps = {
|
|
|
637
637
|
const COMPONENT_ID$2 = 'chrome.sheet_footer';
|
|
638
638
|
const StyledSheetFooter = styled__default.default.footer.attrs({
|
|
639
639
|
'data-garden-id': COMPONENT_ID$2,
|
|
640
|
-
'data-garden-version': '9.0.0-next.
|
|
640
|
+
'data-garden-version': '9.0.0-next.14'
|
|
641
641
|
}).withConfig({
|
|
642
642
|
displayName: "StyledSheetFooter",
|
|
643
643
|
componentId: "sc-2cktos-0"
|
|
@@ -649,7 +649,7 @@ StyledSheetFooter.defaultProps = {
|
|
|
649
649
|
const COMPONENT_ID$1 = 'chrome.sheet_footer_item';
|
|
650
650
|
const StyledSheetFooterItem = styled__default.default.div.attrs({
|
|
651
651
|
'data-garden-id': COMPONENT_ID$1,
|
|
652
|
-
'data-garden-version': '9.0.0-next.
|
|
652
|
+
'data-garden-version': '9.0.0-next.14'
|
|
653
653
|
}).withConfig({
|
|
654
654
|
displayName: "StyledSheetFooterItem",
|
|
655
655
|
componentId: "sc-r9ixh-0"
|
|
@@ -661,7 +661,7 @@ StyledSheetFooterItem.defaultProps = {
|
|
|
661
661
|
const COMPONENT_ID = 'chrome.sheet_header';
|
|
662
662
|
const StyledSheetHeader = styled__default.default.header.attrs({
|
|
663
663
|
'data-garden-id': COMPONENT_ID,
|
|
664
|
-
'data-garden-version': '9.0.0-next.
|
|
664
|
+
'data-garden-version': '9.0.0-next.14'
|
|
665
665
|
}).withConfig({
|
|
666
666
|
displayName: "StyledSheetHeader",
|
|
667
667
|
componentId: "sc-o2ry8i-0"
|
|
@@ -1173,7 +1173,7 @@ const SheetComponent = React__namespace.default.forwardRef((_ref, ref) => {
|
|
|
1173
1173
|
const sheetRef = React.useRef(null);
|
|
1174
1174
|
const seed = reactUid.useUIDSeed();
|
|
1175
1175
|
const [isCloseButtonPresent, setIsCloseButtonPresent] = React.useState(false);
|
|
1176
|
-
const idPrefix = React.useMemo(() => id || seed(`sheet_${'9.0.0-next.
|
|
1176
|
+
const idPrefix = React.useMemo(() => id || seed(`sheet_${'9.0.0-next.14'}`), [id, seed]);
|
|
1177
1177
|
const titleId = `${idPrefix}--title`;
|
|
1178
1178
|
const descriptionId = `${idPrefix}--description`;
|
|
1179
1179
|
const sheetContext = React.useMemo(() => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-chrome",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.14",
|
|
4
4
|
"description": "Components relating to Chrome within the Garden Design System.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"styled-components": "^5.3.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
36
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.14",
|
|
37
37
|
"@zendeskgarden/svg-icons": "7.1.1"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
@@ -45,5 +45,6 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"zendeskgarden:src": "src/index.ts"
|
|
48
|
+
"zendeskgarden:src": "src/index.ts",
|
|
49
|
+
"gitHead": "4cd4e10839f6d083f0c5e642b99256e390a37ae6"
|
|
49
50
|
}
|