@zendeskgarden/react-typography 9.0.0-next.4 → 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 +23 -23
- package/dist/index.esm.js +24 -24
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -83,13 +83,13 @@ const fontStyles = props => {
|
|
|
83
83
|
}
|
|
84
84
|
if (props.hue) {
|
|
85
85
|
const shade = props.hue === 'yellow' ? 700 : 600;
|
|
86
|
-
color = reactTheming.
|
|
86
|
+
color = reactTheming.getColorV8(props.hue, shade, props.theme);
|
|
87
87
|
}
|
|
88
88
|
return styled.css(["line-height:", ";color:", ";font-family:", ";font-size:", ";font-weight:", ";direction:", ";"], lineHeight, color, fontFamily, fontSize, fontWeight, direction);
|
|
89
89
|
};
|
|
90
90
|
const StyledFont = styled__default.default.div.attrs({
|
|
91
91
|
'data-garden-id': COMPONENT_ID$9,
|
|
92
|
-
'data-garden-version': '9.0.0-next.
|
|
92
|
+
'data-garden-version': '9.0.0-next.5'
|
|
93
93
|
}).withConfig({
|
|
94
94
|
displayName: "StyledFont",
|
|
95
95
|
componentId: "sc-1iildbo-0"
|
|
@@ -102,11 +102,11 @@ StyledFont.defaultProps = {
|
|
|
102
102
|
const COMPONENT_ID$8 = 'typography.blockquote';
|
|
103
103
|
const StyledBlockquote = styled__default.default.blockquote.attrs({
|
|
104
104
|
'data-garden-id': COMPONENT_ID$8,
|
|
105
|
-
'data-garden-version': '9.0.0-next.
|
|
105
|
+
'data-garden-version': '9.0.0-next.5'
|
|
106
106
|
}).withConfig({
|
|
107
107
|
displayName: "StyledBlockquote",
|
|
108
108
|
componentId: "sc-1tt3ye0-0"
|
|
109
|
-
})(["margin:0;border-", ":", " solid;border-color:", ";padding:0;padding-", ":", "px;direction:", ";& + &,p + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'right' : 'left', props => props.theme.shadowWidths.sm, props => reactTheming.
|
|
109
|
+
})(["margin:0;border-", ":", " solid;border-color:", ";padding:0;padding-", ":", "px;direction:", ";& + &,p + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'right' : 'left', props => props.theme.shadowWidths.sm, props => reactTheming.getColorV8('neutralHue', 400, props.theme), props => props.theme.rtl ? 'right' : 'left', props => props.theme.space.base * 4, props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.lineHeights[THEME_SIZES[props.size]], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
|
|
110
110
|
StyledBlockquote.defaultProps = {
|
|
111
111
|
theme: reactTheming.DEFAULT_THEME
|
|
112
112
|
};
|
|
@@ -114,14 +114,14 @@ StyledBlockquote.defaultProps = {
|
|
|
114
114
|
const COMPONENT_ID$7 = 'typography.code';
|
|
115
115
|
const colorStyles$3 = props => {
|
|
116
116
|
const hue = props.hue || 'neutralHue';
|
|
117
|
-
const backgroundColor = reactTheming.
|
|
117
|
+
const backgroundColor = reactTheming.getColorV8(hue, 200, props.theme);
|
|
118
118
|
const shade = hue === 'yellow' ? 800 : 700;
|
|
119
|
-
const foregroundColor = reactTheming.
|
|
119
|
+
const foregroundColor = reactTheming.getColorV8(hue, shade, props.theme);
|
|
120
120
|
return styled.css(["background-color:", ";color:", ";a &{color:inherit;}"], backgroundColor, foregroundColor);
|
|
121
121
|
};
|
|
122
122
|
const StyledCode = styled__default.default(StyledFont).attrs({
|
|
123
123
|
'data-garden-id': COMPONENT_ID$7,
|
|
124
|
-
'data-garden-version': '9.0.0-next.
|
|
124
|
+
'data-garden-version': '9.0.0-next.5',
|
|
125
125
|
as: 'code'
|
|
126
126
|
}).withConfig({
|
|
127
127
|
displayName: "StyledCode",
|
|
@@ -136,13 +136,13 @@ StyledCode.defaultProps = {
|
|
|
136
136
|
|
|
137
137
|
const COMPONENT_ID$6 = 'typography.codeblock';
|
|
138
138
|
const colorStyles$2 = props => {
|
|
139
|
-
const backgroundColor = reactTheming.
|
|
140
|
-
const foregroundColor = props.isLight ? props.theme.colors.foreground : reactTheming.
|
|
139
|
+
const backgroundColor = reactTheming.getColorV8('neutralHue', props.isLight ? 100 : 1000, props.theme);
|
|
140
|
+
const foregroundColor = props.isLight ? props.theme.colors.foreground : reactTheming.getColorV8('neutralHue', 300, props.theme);
|
|
141
141
|
return styled.css(["background-color:", ";color:", ";"], backgroundColor, foregroundColor);
|
|
142
142
|
};
|
|
143
143
|
const StyledCodeBlock = styled__default.default.pre.attrs({
|
|
144
144
|
'data-garden-id': COMPONENT_ID$6,
|
|
145
|
-
'data-garden-version': '9.0.0-next.
|
|
145
|
+
'data-garden-version': '9.0.0-next.5'
|
|
146
146
|
}).withConfig({
|
|
147
147
|
displayName: "StyledCodeBlock",
|
|
148
148
|
componentId: "sc-5wky57-0"
|
|
@@ -154,7 +154,7 @@ StyledCodeBlock.defaultProps = {
|
|
|
154
154
|
const COMPONENT_ID$5 = 'typography.codeblock_container';
|
|
155
155
|
const StyledCodeBlockContainer = styled__default.default.div.attrs({
|
|
156
156
|
'data-garden-id': COMPONENT_ID$5,
|
|
157
|
-
'data-garden-version': '9.0.0-next.
|
|
157
|
+
'data-garden-version': '9.0.0-next.5'
|
|
158
158
|
}).withConfig({
|
|
159
159
|
displayName: "StyledCodeBlockContainer",
|
|
160
160
|
componentId: "sc-14zgbfw-0"
|
|
@@ -184,15 +184,15 @@ const colorStyles$1 = props => {
|
|
|
184
184
|
hue = 'lemon';
|
|
185
185
|
break;
|
|
186
186
|
}
|
|
187
|
-
backgroundColor = reactTheming.
|
|
187
|
+
backgroundColor = reactTheming.getColorV8(hue, 400, props.theme, 0.2);
|
|
188
188
|
} else if (props.isHighlighted) {
|
|
189
189
|
const hue = props.isLight ? props.theme.palette.black : props.theme.palette.white;
|
|
190
|
-
backgroundColor = reactTheming.
|
|
190
|
+
backgroundColor = reactTheming.getColorV8(hue, 600, props.theme, 0.1);
|
|
191
191
|
}
|
|
192
192
|
return styled.css(["background-color:", ";"], backgroundColor);
|
|
193
193
|
};
|
|
194
194
|
const lineNumberStyles = props => {
|
|
195
|
-
const color = reactTheming.
|
|
195
|
+
const color = reactTheming.getColorV8('neutralHue', props.isLight ? 600 : 500, props.theme);
|
|
196
196
|
let padding;
|
|
197
197
|
if (props.language && props.language === 'diff') {
|
|
198
198
|
padding = 0;
|
|
@@ -217,7 +217,7 @@ const lineNumberStyles = props => {
|
|
|
217
217
|
};
|
|
218
218
|
const StyledCodeBlockLine = styled__default.default(StyledFont).attrs({
|
|
219
219
|
'data-garden-id': COMPONENT_ID$4,
|
|
220
|
-
'data-garden-version': '9.0.0-next.
|
|
220
|
+
'data-garden-version': '9.0.0-next.5',
|
|
221
221
|
as: 'code',
|
|
222
222
|
isMonospace: true
|
|
223
223
|
}).withConfig({
|
|
@@ -252,7 +252,7 @@ const colorStyles = props => {
|
|
|
252
252
|
};
|
|
253
253
|
const StyledCodeBlockToken = styled__default.default.span.attrs({
|
|
254
254
|
'data-garden-id': COMPONENT_ID$3,
|
|
255
|
-
'data-garden-version': '9.0.0-next.
|
|
255
|
+
'data-garden-version': '9.0.0-next.5'
|
|
256
256
|
}).withConfig({
|
|
257
257
|
displayName: "StyledCodeBlockToken",
|
|
258
258
|
componentId: "sc-1hkshdq-0"
|
|
@@ -264,7 +264,7 @@ StyledCodeBlockToken.defaultProps = {
|
|
|
264
264
|
const COMPONENT_ID$2 = 'typography.ellipsis';
|
|
265
265
|
const StyledEllipsis = styled__default.default.div.attrs({
|
|
266
266
|
'data-garden-id': COMPONENT_ID$2,
|
|
267
|
-
'data-garden-version': '9.0.0-next.
|
|
267
|
+
'data-garden-version': '9.0.0-next.5'
|
|
268
268
|
}).withConfig({
|
|
269
269
|
displayName: "StyledEllipsis",
|
|
270
270
|
componentId: "sc-1u4uqmy-0"
|
|
@@ -288,7 +288,7 @@ const StyledIcon = styled__default.default(_ref => {
|
|
|
288
288
|
return React__default.default.cloneElement(React.Children.only(children), props);
|
|
289
289
|
}).attrs({
|
|
290
290
|
'data-garden-id': COMPONENT_ID$1,
|
|
291
|
-
'data-garden-version': '9.0.0-next.
|
|
291
|
+
'data-garden-version': '9.0.0-next.5'
|
|
292
292
|
}).withConfig({
|
|
293
293
|
displayName: "StyledIcon",
|
|
294
294
|
componentId: "sc-10rfb5b-0"
|
|
@@ -304,7 +304,7 @@ const listStyles = props => {
|
|
|
304
304
|
const ORDERED_ID$1 = 'typography.ordered_list';
|
|
305
305
|
const StyledOrderedList = styled__default.default.ol.attrs({
|
|
306
306
|
'data-garden-id': ORDERED_ID$1,
|
|
307
|
-
'data-garden-version': '9.0.0-next.
|
|
307
|
+
'data-garden-version': '9.0.0-next.5'
|
|
308
308
|
}).withConfig({
|
|
309
309
|
displayName: "StyledList__StyledOrderedList",
|
|
310
310
|
componentId: "sc-jdbsfi-0"
|
|
@@ -315,7 +315,7 @@ StyledOrderedList.defaultProps = {
|
|
|
315
315
|
const UNORDERED_ID$1 = 'typography.unordered_list';
|
|
316
316
|
const StyledUnorderedList = styled__default.default.ul.attrs({
|
|
317
317
|
'data-garden-id': UNORDERED_ID$1,
|
|
318
|
-
'data-garden-version': '9.0.0-next.
|
|
318
|
+
'data-garden-version': '9.0.0-next.5'
|
|
319
319
|
}).withConfig({
|
|
320
320
|
displayName: "StyledList__StyledUnorderedList",
|
|
321
321
|
componentId: "sc-jdbsfi-1"
|
|
@@ -335,7 +335,7 @@ const listItemStyles = props => {
|
|
|
335
335
|
const ORDERED_ID = 'typography.ordered_list_item';
|
|
336
336
|
const StyledOrderedListItem = styled__default.default(StyledFont).attrs({
|
|
337
337
|
'data-garden-id': ORDERED_ID,
|
|
338
|
-
'data-garden-version': '9.0.0-next.
|
|
338
|
+
'data-garden-version': '9.0.0-next.5',
|
|
339
339
|
as: 'li'
|
|
340
340
|
}).withConfig({
|
|
341
341
|
displayName: "StyledListItem__StyledOrderedListItem",
|
|
@@ -348,7 +348,7 @@ StyledOrderedListItem.defaultProps = {
|
|
|
348
348
|
const UNORDERED_ID = 'typography.unordered_list_item';
|
|
349
349
|
const StyledUnorderedListItem = styled__default.default(StyledFont).attrs({
|
|
350
350
|
'data-garden-id': UNORDERED_ID,
|
|
351
|
-
'data-garden-version': '9.0.0-next.
|
|
351
|
+
'data-garden-version': '9.0.0-next.5',
|
|
352
352
|
as: 'li'
|
|
353
353
|
}).withConfig({
|
|
354
354
|
displayName: "StyledListItem__StyledUnorderedListItem",
|
|
@@ -362,7 +362,7 @@ StyledUnorderedListItem.defaultProps = {
|
|
|
362
362
|
const COMPONENT_ID = 'typography.paragraph';
|
|
363
363
|
const StyledParagraph = styled__default.default.p.attrs({
|
|
364
364
|
'data-garden-id': COMPONENT_ID,
|
|
365
|
-
'data-garden-version': '9.0.0-next.
|
|
365
|
+
'data-garden-version': '9.0.0-next.5'
|
|
366
366
|
}).withConfig({
|
|
367
367
|
displayName: "StyledParagraph",
|
|
368
368
|
componentId: "sc-zkuftz-0"
|
package/dist/index.esm.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React, { Children, forwardRef, useRef, useMemo, createContext, useContext } from 'react';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import styled, { css } from 'styled-components';
|
|
11
|
-
import { retrieveComponentStyles, DEFAULT_THEME,
|
|
11
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColorV8, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
|
|
12
12
|
import { hideVisually, math } from 'polished';
|
|
13
13
|
import Highlight, { Prism } from 'prism-react-renderer';
|
|
14
14
|
import { useScrollRegion } from '@zendeskgarden/container-scrollregion';
|
|
@@ -74,13 +74,13 @@ const fontStyles = props => {
|
|
|
74
74
|
}
|
|
75
75
|
if (props.hue) {
|
|
76
76
|
const shade = props.hue === 'yellow' ? 700 : 600;
|
|
77
|
-
color =
|
|
77
|
+
color = getColorV8(props.hue, shade, props.theme);
|
|
78
78
|
}
|
|
79
79
|
return css(["line-height:", ";color:", ";font-family:", ";font-size:", ";font-weight:", ";direction:", ";"], lineHeight, color, fontFamily, fontSize, fontWeight, direction);
|
|
80
80
|
};
|
|
81
81
|
const StyledFont = styled.div.attrs({
|
|
82
82
|
'data-garden-id': COMPONENT_ID$9,
|
|
83
|
-
'data-garden-version': '9.0.0-next.
|
|
83
|
+
'data-garden-version': '9.0.0-next.5'
|
|
84
84
|
}).withConfig({
|
|
85
85
|
displayName: "StyledFont",
|
|
86
86
|
componentId: "sc-1iildbo-0"
|
|
@@ -93,11 +93,11 @@ StyledFont.defaultProps = {
|
|
|
93
93
|
const COMPONENT_ID$8 = 'typography.blockquote';
|
|
94
94
|
const StyledBlockquote = styled.blockquote.attrs({
|
|
95
95
|
'data-garden-id': COMPONENT_ID$8,
|
|
96
|
-
'data-garden-version': '9.0.0-next.
|
|
96
|
+
'data-garden-version': '9.0.0-next.5'
|
|
97
97
|
}).withConfig({
|
|
98
98
|
displayName: "StyledBlockquote",
|
|
99
99
|
componentId: "sc-1tt3ye0-0"
|
|
100
|
-
})(["margin:0;border-", ":", " solid;border-color:", ";padding:0;padding-", ":", "px;direction:", ";& + &,p + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'right' : 'left', props => props.theme.shadowWidths.sm, props =>
|
|
100
|
+
})(["margin:0;border-", ":", " solid;border-color:", ";padding:0;padding-", ":", "px;direction:", ";& + &,p + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'right' : 'left', props => props.theme.shadowWidths.sm, props => getColorV8('neutralHue', 400, props.theme), props => props.theme.rtl ? 'right' : 'left', props => props.theme.space.base * 4, props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.lineHeights[THEME_SIZES[props.size]], props => retrieveComponentStyles(COMPONENT_ID$8, props));
|
|
101
101
|
StyledBlockquote.defaultProps = {
|
|
102
102
|
theme: DEFAULT_THEME
|
|
103
103
|
};
|
|
@@ -105,14 +105,14 @@ StyledBlockquote.defaultProps = {
|
|
|
105
105
|
const COMPONENT_ID$7 = 'typography.code';
|
|
106
106
|
const colorStyles$3 = props => {
|
|
107
107
|
const hue = props.hue || 'neutralHue';
|
|
108
|
-
const backgroundColor =
|
|
108
|
+
const backgroundColor = getColorV8(hue, 200, props.theme);
|
|
109
109
|
const shade = hue === 'yellow' ? 800 : 700;
|
|
110
|
-
const foregroundColor =
|
|
110
|
+
const foregroundColor = getColorV8(hue, shade, props.theme);
|
|
111
111
|
return css(["background-color:", ";color:", ";a &{color:inherit;}"], backgroundColor, foregroundColor);
|
|
112
112
|
};
|
|
113
113
|
const StyledCode = styled(StyledFont).attrs({
|
|
114
114
|
'data-garden-id': COMPONENT_ID$7,
|
|
115
|
-
'data-garden-version': '9.0.0-next.
|
|
115
|
+
'data-garden-version': '9.0.0-next.5',
|
|
116
116
|
as: 'code'
|
|
117
117
|
}).withConfig({
|
|
118
118
|
displayName: "StyledCode",
|
|
@@ -127,13 +127,13 @@ StyledCode.defaultProps = {
|
|
|
127
127
|
|
|
128
128
|
const COMPONENT_ID$6 = 'typography.codeblock';
|
|
129
129
|
const colorStyles$2 = props => {
|
|
130
|
-
const backgroundColor =
|
|
131
|
-
const foregroundColor = props.isLight ? props.theme.colors.foreground :
|
|
130
|
+
const backgroundColor = getColorV8('neutralHue', props.isLight ? 100 : 1000, props.theme);
|
|
131
|
+
const foregroundColor = props.isLight ? props.theme.colors.foreground : getColorV8('neutralHue', 300, props.theme);
|
|
132
132
|
return css(["background-color:", ";color:", ";"], backgroundColor, foregroundColor);
|
|
133
133
|
};
|
|
134
134
|
const StyledCodeBlock = styled.pre.attrs({
|
|
135
135
|
'data-garden-id': COMPONENT_ID$6,
|
|
136
|
-
'data-garden-version': '9.0.0-next.
|
|
136
|
+
'data-garden-version': '9.0.0-next.5'
|
|
137
137
|
}).withConfig({
|
|
138
138
|
displayName: "StyledCodeBlock",
|
|
139
139
|
componentId: "sc-5wky57-0"
|
|
@@ -145,7 +145,7 @@ StyledCodeBlock.defaultProps = {
|
|
|
145
145
|
const COMPONENT_ID$5 = 'typography.codeblock_container';
|
|
146
146
|
const StyledCodeBlockContainer = styled.div.attrs({
|
|
147
147
|
'data-garden-id': COMPONENT_ID$5,
|
|
148
|
-
'data-garden-version': '9.0.0-next.
|
|
148
|
+
'data-garden-version': '9.0.0-next.5'
|
|
149
149
|
}).withConfig({
|
|
150
150
|
displayName: "StyledCodeBlockContainer",
|
|
151
151
|
componentId: "sc-14zgbfw-0"
|
|
@@ -175,15 +175,15 @@ const colorStyles$1 = props => {
|
|
|
175
175
|
hue = 'lemon';
|
|
176
176
|
break;
|
|
177
177
|
}
|
|
178
|
-
backgroundColor =
|
|
178
|
+
backgroundColor = getColorV8(hue, 400, props.theme, 0.2);
|
|
179
179
|
} else if (props.isHighlighted) {
|
|
180
180
|
const hue = props.isLight ? props.theme.palette.black : props.theme.palette.white;
|
|
181
|
-
backgroundColor =
|
|
181
|
+
backgroundColor = getColorV8(hue, 600, props.theme, 0.1);
|
|
182
182
|
}
|
|
183
183
|
return css(["background-color:", ";"], backgroundColor);
|
|
184
184
|
};
|
|
185
185
|
const lineNumberStyles = props => {
|
|
186
|
-
const color =
|
|
186
|
+
const color = getColorV8('neutralHue', props.isLight ? 600 : 500, props.theme);
|
|
187
187
|
let padding;
|
|
188
188
|
if (props.language && props.language === 'diff') {
|
|
189
189
|
padding = 0;
|
|
@@ -208,7 +208,7 @@ const lineNumberStyles = props => {
|
|
|
208
208
|
};
|
|
209
209
|
const StyledCodeBlockLine = styled(StyledFont).attrs({
|
|
210
210
|
'data-garden-id': COMPONENT_ID$4,
|
|
211
|
-
'data-garden-version': '9.0.0-next.
|
|
211
|
+
'data-garden-version': '9.0.0-next.5',
|
|
212
212
|
as: 'code',
|
|
213
213
|
isMonospace: true
|
|
214
214
|
}).withConfig({
|
|
@@ -243,7 +243,7 @@ const colorStyles = props => {
|
|
|
243
243
|
};
|
|
244
244
|
const StyledCodeBlockToken = styled.span.attrs({
|
|
245
245
|
'data-garden-id': COMPONENT_ID$3,
|
|
246
|
-
'data-garden-version': '9.0.0-next.
|
|
246
|
+
'data-garden-version': '9.0.0-next.5'
|
|
247
247
|
}).withConfig({
|
|
248
248
|
displayName: "StyledCodeBlockToken",
|
|
249
249
|
componentId: "sc-1hkshdq-0"
|
|
@@ -255,7 +255,7 @@ StyledCodeBlockToken.defaultProps = {
|
|
|
255
255
|
const COMPONENT_ID$2 = 'typography.ellipsis';
|
|
256
256
|
const StyledEllipsis = styled.div.attrs({
|
|
257
257
|
'data-garden-id': COMPONENT_ID$2,
|
|
258
|
-
'data-garden-version': '9.0.0-next.
|
|
258
|
+
'data-garden-version': '9.0.0-next.5'
|
|
259
259
|
}).withConfig({
|
|
260
260
|
displayName: "StyledEllipsis",
|
|
261
261
|
componentId: "sc-1u4uqmy-0"
|
|
@@ -279,7 +279,7 @@ const StyledIcon = styled(_ref => {
|
|
|
279
279
|
return React.cloneElement(Children.only(children), props);
|
|
280
280
|
}).attrs({
|
|
281
281
|
'data-garden-id': COMPONENT_ID$1,
|
|
282
|
-
'data-garden-version': '9.0.0-next.
|
|
282
|
+
'data-garden-version': '9.0.0-next.5'
|
|
283
283
|
}).withConfig({
|
|
284
284
|
displayName: "StyledIcon",
|
|
285
285
|
componentId: "sc-10rfb5b-0"
|
|
@@ -295,7 +295,7 @@ const listStyles = props => {
|
|
|
295
295
|
const ORDERED_ID$1 = 'typography.ordered_list';
|
|
296
296
|
const StyledOrderedList = styled.ol.attrs({
|
|
297
297
|
'data-garden-id': ORDERED_ID$1,
|
|
298
|
-
'data-garden-version': '9.0.0-next.
|
|
298
|
+
'data-garden-version': '9.0.0-next.5'
|
|
299
299
|
}).withConfig({
|
|
300
300
|
displayName: "StyledList__StyledOrderedList",
|
|
301
301
|
componentId: "sc-jdbsfi-0"
|
|
@@ -306,7 +306,7 @@ StyledOrderedList.defaultProps = {
|
|
|
306
306
|
const UNORDERED_ID$1 = 'typography.unordered_list';
|
|
307
307
|
const StyledUnorderedList = styled.ul.attrs({
|
|
308
308
|
'data-garden-id': UNORDERED_ID$1,
|
|
309
|
-
'data-garden-version': '9.0.0-next.
|
|
309
|
+
'data-garden-version': '9.0.0-next.5'
|
|
310
310
|
}).withConfig({
|
|
311
311
|
displayName: "StyledList__StyledUnorderedList",
|
|
312
312
|
componentId: "sc-jdbsfi-1"
|
|
@@ -326,7 +326,7 @@ const listItemStyles = props => {
|
|
|
326
326
|
const ORDERED_ID = 'typography.ordered_list_item';
|
|
327
327
|
const StyledOrderedListItem = styled(StyledFont).attrs({
|
|
328
328
|
'data-garden-id': ORDERED_ID,
|
|
329
|
-
'data-garden-version': '9.0.0-next.
|
|
329
|
+
'data-garden-version': '9.0.0-next.5',
|
|
330
330
|
as: 'li'
|
|
331
331
|
}).withConfig({
|
|
332
332
|
displayName: "StyledListItem__StyledOrderedListItem",
|
|
@@ -339,7 +339,7 @@ StyledOrderedListItem.defaultProps = {
|
|
|
339
339
|
const UNORDERED_ID = 'typography.unordered_list_item';
|
|
340
340
|
const StyledUnorderedListItem = styled(StyledFont).attrs({
|
|
341
341
|
'data-garden-id': UNORDERED_ID,
|
|
342
|
-
'data-garden-version': '9.0.0-next.
|
|
342
|
+
'data-garden-version': '9.0.0-next.5',
|
|
343
343
|
as: 'li'
|
|
344
344
|
}).withConfig({
|
|
345
345
|
displayName: "StyledListItem__StyledUnorderedListItem",
|
|
@@ -353,7 +353,7 @@ StyledUnorderedListItem.defaultProps = {
|
|
|
353
353
|
const COMPONENT_ID = 'typography.paragraph';
|
|
354
354
|
const StyledParagraph = styled.p.attrs({
|
|
355
355
|
'data-garden-id': COMPONENT_ID,
|
|
356
|
-
'data-garden-version': '9.0.0-next.
|
|
356
|
+
'data-garden-version': '9.0.0-next.5'
|
|
357
357
|
}).withConfig({
|
|
358
358
|
displayName: "StyledParagraph",
|
|
359
359
|
componentId: "sc-zkuftz-0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-typography",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.5",
|
|
4
4
|
"description": "Components relating to typography in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@zendeskgarden/react-theming": "^8.67.0",
|
|
31
31
|
"react": ">=16.8.0",
|
|
32
32
|
"react-dom": ">=16.8.0",
|
|
33
|
-
"styled-components": "^5.1
|
|
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.5"
|
|
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": "806fa33feb06142c3f69b6a87b53628469117e4d"
|
|
49
49
|
}
|