@zendeskgarden/react-typography 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,19 +5,19 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { getColor, componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { THEME_SIZES } from './StyledFont.js';
10
10
 
11
11
  const COMPONENT_ID = 'typography.blockquote';
12
12
  const StyledBlockquote = styled.blockquote.attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.4.0'
14
+ 'data-garden-version': '9.5.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledBlockquote",
17
17
  componentId: "sc-1tt3ye0-0"
18
18
  })(["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 => getColor({
19
19
  theme: props.theme,
20
20
  variable: 'border.default'
21
- }), 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, props));
21
+ }), 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]], componentStyles);
22
22
 
23
23
  export { StyledBlockquote };
@@ -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 { retrieveComponentStyles, DEFAULT_THEME, getColor } from '@zendeskgarden/react-theming';
8
+ import { componentStyles, DEFAULT_THEME, getColor } from '@zendeskgarden/react-theming';
9
9
  import { StyledFont } from './StyledFont.js';
10
10
 
11
11
  const COMPONENT_ID = 'typography.code';
@@ -50,13 +50,13 @@ const colorStyles = _ref => {
50
50
  };
51
51
  const StyledCode = styled(StyledFont).attrs({
52
52
  'data-garden-id': COMPONENT_ID,
53
- 'data-garden-version': '9.4.0',
53
+ 'data-garden-version': '9.5.0',
54
54
  as: 'code',
55
55
  $isMonospace: true
56
56
  }).withConfig({
57
57
  displayName: "StyledCode",
58
58
  componentId: "sc-l8yvmf-0"
59
- })(["border-radius:", ";padding:1.5px;", ";", ";"], props => props.theme.borderRadii.sm, props => colorStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
59
+ })(["border-radius:", ";padding:1.5px;", ";", ";"], props => props.theme.borderRadii.sm, props => colorStyles(props), componentStyles);
60
60
  StyledCode.defaultProps = {
61
61
  theme: DEFAULT_THEME,
62
62
  $hue: 'grey',
@@ -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 { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
8
+ import { componentStyles, getColor } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'typography.codeblock';
11
11
  const colorStyles = _ref => {
@@ -24,10 +24,10 @@ const colorStyles = _ref => {
24
24
  };
25
25
  const StyledCodeBlock = styled.pre.attrs({
26
26
  'data-garden-id': COMPONENT_ID,
27
- 'data-garden-version': '9.4.0'
27
+ 'data-garden-version': '9.5.0'
28
28
  }).withConfig({
29
29
  displayName: "StyledCodeBlock",
30
30
  componentId: "sc-5wky57-0"
31
- })(["display:table;margin:0;padding:", "px;box-sizing:border-box;width:100%;direction:ltr;white-space:pre;counter-reset:linenumber;", ";", ";"], props => props.theme.space.base * 3, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
31
+ })(["display:table;margin:0;padding:", "px;box-sizing:border-box;width:100%;direction:ltr;white-space:pre;counter-reset:linenumber;", ";", ";"], props => props.theme.space.base * 3, colorStyles, componentStyles);
32
32
 
33
33
  export { StyledCodeBlock };
@@ -5,17 +5,17 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { focusStyles, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { focusStyles, componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'typography.codeblock_container';
11
11
  const StyledCodeBlockContainer = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.4.0'
13
+ 'data-garden-version': '9.5.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledCodeBlockContainer",
16
16
  componentId: "sc-14zgbfw-0"
17
17
  })(["transition:box-shadow 0.1s ease-in-out;overflow:auto;", " ", ";"], props => focusStyles({
18
18
  theme: props.theme
19
- }), props => retrieveComponentStyles(COMPONENT_ID, props));
19
+ }), componentStyles);
20
20
 
21
21
  export { StyledCodeBlockContainer };
@@ -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 { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
8
+ import { componentStyles, getColor } from '@zendeskgarden/react-theming';
9
9
  import { StyledFont, THEME_SIZES } from './StyledFont.js';
10
10
 
11
11
  const COMPONENT_ID = 'typography.codeblock_code';
@@ -86,12 +86,12 @@ const lineNumberStyles = _ref2 => {
86
86
  };
87
87
  const StyledCodeBlockLine = styled(StyledFont).attrs({
88
88
  'data-garden-id': COMPONENT_ID,
89
- 'data-garden-version': '9.4.0',
89
+ 'data-garden-version': '9.5.0',
90
90
  as: 'code',
91
91
  $isMonospace: true
92
92
  }).withConfig({
93
93
  displayName: "StyledCodeBlockLine",
94
94
  componentId: "sc-1goay17-0"
95
- })(["display:table-row;height:", ";direction:ltr;", ";", ";&::after{display:inline-block;width:", "px;content:'';}", ";"], props => props.theme.lineHeights[THEME_SIZES[props.$size]], colorStyles, props => props.$isNumbered && lineNumberStyles(props), props => props.theme.space.base * 3, props => retrieveComponentStyles(COMPONENT_ID, props));
95
+ })(["display:table-row;height:", ";direction:ltr;", ";", ";&::after{display:inline-block;width:", "px;content:'';}", ";"], props => props.theme.lineHeights[THEME_SIZES[props.$size]], colorStyles, props => props.$isNumbered && lineNumberStyles(props), props => props.theme.space.base * 3, componentStyles);
96
96
 
97
97
  export { StyledCodeBlockLine };
@@ -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 { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
8
+ import { componentStyles, getColor } from '@zendeskgarden/react-theming';
9
9
  import { StyledCodeBlock } from './StyledCodeBlock.js';
10
10
 
11
11
  const COMPONENT_ID = 'typography.codeblock_token';
@@ -171,10 +171,10 @@ const colorStyles = _ref => {
171
171
  };
172
172
  const StyledCodeBlockToken = styled.span.attrs({
173
173
  'data-garden-id': COMPONENT_ID,
174
- 'data-garden-version': '9.4.0'
174
+ 'data-garden-version': '9.5.0'
175
175
  }).withConfig({
176
176
  displayName: "StyledCodeBlockToken",
177
177
  componentId: "sc-1hkshdq-0"
178
- })(["display:inline-block;&.bold:not(.diff){font-weight:", ";}&.coord{padding-left:0.75em;}&.italic{font-style:italic;}&.prefix{width:2em;text-align:center;}", ";", ";"], props => props.theme.fontWeights.semibold, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
178
+ })(["display:inline-block;&.bold:not(.diff){font-weight:", ";}&.coord{padding-left:0.75em;}&.italic{font-style:italic;}&.prefix{width:2em;text-align:center;}", ";", ";"], props => props.theme.fontWeights.semibold, colorStyles, componentStyles);
179
179
 
180
180
  export { StyledCodeBlockToken };
@@ -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 { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'typography.ellipsis';
11
11
  const StyledEllipsis = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.4.0'
13
+ 'data-garden-version': '9.5.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledEllipsis",
16
16
  componentId: "sc-1u4uqmy-0"
17
- })(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => retrieveComponentStyles(COMPONENT_ID, props));
17
+ })(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', componentStyles);
18
18
 
19
19
  export { StyledEllipsis };
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
8
  import { hideVisually, math } from 'polished';
9
- import { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
9
+ import { componentStyles, getColor } from '@zendeskgarden/react-theming';
10
10
  import { SIZE } from '../types/index.js';
11
11
 
12
12
  const COMPONENT_ID = 'typography.font';
@@ -67,11 +67,11 @@ const fontStyles = _ref => {
67
67
  };
68
68
  const StyledFont = styled.div.attrs({
69
69
  'data-garden-id': COMPONENT_ID,
70
- 'data-garden-version': '9.4.0'
70
+ 'data-garden-version': '9.5.0'
71
71
  }).withConfig({
72
72
  displayName: "StyledFont",
73
73
  componentId: "sc-1iildbo-0"
74
- })(["", ";&[hidden]{display:inline;", ";}", ";"], props => !props.hidden && fontStyles(props), hideVisually(), props => retrieveComponentStyles(COMPONENT_ID, props));
74
+ })(["", ";&[hidden]{display:inline;", ";}", ";"], props => !props.hidden && fontStyles(props), hideVisually(), componentStyles);
75
75
  StyledFont.defaultProps = {
76
76
  $size: 'inherit'
77
77
  };
@@ -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 { StyledBaseIcon, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { StyledBaseIcon, componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'typography.icon';
11
11
  const sizeStyles = props => {
@@ -15,10 +15,10 @@ const sizeStyles = props => {
15
15
  };
16
16
  const StyledIcon = styled(StyledBaseIcon).attrs({
17
17
  'data-garden-id': COMPONENT_ID,
18
- 'data-garden-version': '9.4.0'
18
+ 'data-garden-version': '9.5.0'
19
19
  }).withConfig({
20
20
  displayName: "StyledIcon",
21
21
  componentId: "sc-10rfb5b-0"
22
- })(["position:relative;top:-1px;vertical-align:middle;", ";", ";"], props => sizeStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
22
+ })(["position:relative;top:-1px;vertical-align:middle;", ";", ";"], props => sizeStyles(props), componentStyles);
23
23
 
24
24
  export { StyledIcon };
@@ -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 { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const listStyles = props => {
11
11
  const rtl = props.theme.rtl;
@@ -14,18 +14,18 @@ const listStyles = props => {
14
14
  const ORDERED_ID = 'typography.ordered_list';
15
15
  const StyledOrderedList = styled.ol.attrs({
16
16
  'data-garden-id': ORDERED_ID,
17
- 'data-garden-version': '9.4.0'
17
+ 'data-garden-version': '9.5.0'
18
18
  }).withConfig({
19
19
  displayName: "StyledList__StyledOrderedList",
20
20
  componentId: "sc-jdbsfi-0"
21
- })(["", ";", ";"], props => listStyles(props), props => retrieveComponentStyles(ORDERED_ID, props));
21
+ })(["", ";", ";"], listStyles, componentStyles);
22
22
  const UNORDERED_ID = 'typography.unordered_list';
23
23
  const StyledUnorderedList = styled.ul.attrs({
24
24
  'data-garden-id': UNORDERED_ID,
25
- 'data-garden-version': '9.4.0'
25
+ 'data-garden-version': '9.5.0'
26
26
  }).withConfig({
27
27
  displayName: "StyledList__StyledUnorderedList",
28
28
  componentId: "sc-jdbsfi-1"
29
- })(["", ";", ";"], props => listStyles(props), props => retrieveComponentStyles(UNORDERED_ID, props));
29
+ })(["", ";", ";"], listStyles, componentStyles);
30
30
 
31
31
  export { StyledOrderedList, StyledUnorderedList };
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles, DEFAULT_THEME, getLineHeight } from '@zendeskgarden/react-theming';
9
+ import { componentStyles, DEFAULT_THEME, getLineHeight } from '@zendeskgarden/react-theming';
10
10
  import { StyledOrderedList, StyledUnorderedList } from './StyledList.js';
11
11
  import { StyledFont } from './StyledFont.js';
12
12
 
@@ -21,12 +21,12 @@ const listItemStyles = props => {
21
21
  const ORDERED_ID = 'typography.ordered_list_item';
22
22
  const StyledOrderedListItem = styled(StyledFont).attrs({
23
23
  'data-garden-id': ORDERED_ID,
24
- 'data-garden-version': '9.4.0',
24
+ 'data-garden-version': '9.5.0',
25
25
  as: 'li'
26
26
  }).withConfig({
27
27
  displayName: "StyledListItem__StyledOrderedListItem",
28
28
  componentId: "sc-9rsipg-0"
29
- })(["margin-", ":", ";padding-", ":", ";", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * -1px`), props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * 1px`), props => listItemStyles(props), props => retrieveComponentStyles(ORDERED_ID, props));
29
+ })(["margin-", ":", ";padding-", ":", ";", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * -1px`), props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * 1px`), listItemStyles, componentStyles);
30
30
  StyledOrderedListItem.defaultProps = {
31
31
  $space: 'medium',
32
32
  theme: DEFAULT_THEME
@@ -34,12 +34,12 @@ StyledOrderedListItem.defaultProps = {
34
34
  const UNORDERED_ID = 'typography.unordered_list_item';
35
35
  const StyledUnorderedListItem = styled(StyledFont).attrs({
36
36
  'data-garden-id': UNORDERED_ID,
37
- 'data-garden-version': '9.4.0',
37
+ 'data-garden-version': '9.5.0',
38
38
  as: 'li'
39
39
  }).withConfig({
40
40
  displayName: "StyledListItem__StyledUnorderedListItem",
41
41
  componentId: "sc-9rsipg-1"
42
- })(["", ";", ";"], props => listItemStyles(props), props => retrieveComponentStyles(UNORDERED_ID, props));
42
+ })(["", ";", ";"], listItemStyles, componentStyles);
43
43
  StyledUnorderedListItem.defaultProps = {
44
44
  $space: 'medium',
45
45
  theme: DEFAULT_THEME
@@ -5,16 +5,16 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { THEME_SIZES } from './StyledFont.js';
10
10
 
11
11
  const COMPONENT_ID = 'typography.paragraph';
12
12
  const StyledParagraph = styled.p.attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.4.0'
14
+ 'data-garden-version': '9.5.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledParagraph",
17
17
  componentId: "sc-zkuftz-0"
18
- })(["margin:0;padding:0;direction:", ";& + &,blockquote + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.lineHeights[THEME_SIZES[props.size]], props => retrieveComponentStyles(COMPONENT_ID, props));
18
+ })(["margin:0;padding:0;direction:", ";& + &,blockquote + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.lineHeights[THEME_SIZES[props.size]], componentStyles);
19
19
 
20
20
  export { StyledParagraph };
package/dist/index.cjs.js CHANGED
@@ -86,11 +86,11 @@ const fontStyles = _ref => {
86
86
  };
87
87
  const StyledFont = styled__default.default.div.attrs({
88
88
  'data-garden-id': COMPONENT_ID$9,
89
- 'data-garden-version': '9.4.0'
89
+ 'data-garden-version': '9.5.0'
90
90
  }).withConfig({
91
91
  displayName: "StyledFont",
92
92
  componentId: "sc-1iildbo-0"
93
- })(["", ";&[hidden]{display:inline;", ";}", ";"], props => !props.hidden && fontStyles(props), polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$9, props));
93
+ })(["", ";&[hidden]{display:inline;", ";}", ";"], props => !props.hidden && fontStyles(props), polished.hideVisually(), reactTheming.componentStyles);
94
94
  StyledFont.defaultProps = {
95
95
  $size: 'inherit'
96
96
  };
@@ -98,14 +98,14 @@ StyledFont.defaultProps = {
98
98
  const COMPONENT_ID$8 = 'typography.blockquote';
99
99
  const StyledBlockquote = styled__default.default.blockquote.attrs({
100
100
  'data-garden-id': COMPONENT_ID$8,
101
- 'data-garden-version': '9.4.0'
101
+ 'data-garden-version': '9.5.0'
102
102
  }).withConfig({
103
103
  displayName: "StyledBlockquote",
104
104
  componentId: "sc-1tt3ye0-0"
105
105
  })(["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.getColor({
106
106
  theme: props.theme,
107
107
  variable: 'border.default'
108
- }), 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));
108
+ }), 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]], reactTheming.componentStyles);
109
109
 
110
110
  const COMPONENT_ID$7 = 'typography.code';
111
111
  const colorStyles$3 = _ref => {
@@ -149,13 +149,13 @@ const colorStyles$3 = _ref => {
149
149
  };
150
150
  const StyledCode = styled__default.default(StyledFont).attrs({
151
151
  'data-garden-id': COMPONENT_ID$7,
152
- 'data-garden-version': '9.4.0',
152
+ 'data-garden-version': '9.5.0',
153
153
  as: 'code',
154
154
  $isMonospace: true
155
155
  }).withConfig({
156
156
  displayName: "StyledCode",
157
157
  componentId: "sc-l8yvmf-0"
158
- })(["border-radius:", ";padding:1.5px;", ";", ";"], props => props.theme.borderRadii.sm, props => colorStyles$3(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
158
+ })(["border-radius:", ";padding:1.5px;", ";", ";"], props => props.theme.borderRadii.sm, props => colorStyles$3(props), reactTheming.componentStyles);
159
159
  StyledCode.defaultProps = {
160
160
  theme: reactTheming.DEFAULT_THEME,
161
161
  $hue: 'grey',
@@ -179,22 +179,22 @@ const colorStyles$2 = _ref => {
179
179
  };
180
180
  const StyledCodeBlock = styled__default.default.pre.attrs({
181
181
  'data-garden-id': COMPONENT_ID$6,
182
- 'data-garden-version': '9.4.0'
182
+ 'data-garden-version': '9.5.0'
183
183
  }).withConfig({
184
184
  displayName: "StyledCodeBlock",
185
185
  componentId: "sc-5wky57-0"
186
- })(["display:table;margin:0;padding:", "px;box-sizing:border-box;width:100%;direction:ltr;white-space:pre;counter-reset:linenumber;", ";", ";"], props => props.theme.space.base * 3, colorStyles$2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
186
+ })(["display:table;margin:0;padding:", "px;box-sizing:border-box;width:100%;direction:ltr;white-space:pre;counter-reset:linenumber;", ";", ";"], props => props.theme.space.base * 3, colorStyles$2, reactTheming.componentStyles);
187
187
 
188
188
  const COMPONENT_ID$5 = 'typography.codeblock_container';
189
189
  const StyledCodeBlockContainer = styled__default.default.div.attrs({
190
190
  'data-garden-id': COMPONENT_ID$5,
191
- 'data-garden-version': '9.4.0'
191
+ 'data-garden-version': '9.5.0'
192
192
  }).withConfig({
193
193
  displayName: "StyledCodeBlockContainer",
194
194
  componentId: "sc-14zgbfw-0"
195
195
  })(["transition:box-shadow 0.1s ease-in-out;overflow:auto;", " ", ";"], props => reactTheming.focusStyles({
196
196
  theme: props.theme
197
- }), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
197
+ }), reactTheming.componentStyles);
198
198
 
199
199
  const COMPONENT_ID$4 = 'typography.codeblock_code';
200
200
  const colorStyles$1 = _ref => {
@@ -274,13 +274,13 @@ const lineNumberStyles = _ref2 => {
274
274
  };
275
275
  const StyledCodeBlockLine = styled__default.default(StyledFont).attrs({
276
276
  'data-garden-id': COMPONENT_ID$4,
277
- 'data-garden-version': '9.4.0',
277
+ 'data-garden-version': '9.5.0',
278
278
  as: 'code',
279
279
  $isMonospace: true
280
280
  }).withConfig({
281
281
  displayName: "StyledCodeBlockLine",
282
282
  componentId: "sc-1goay17-0"
283
- })(["display:table-row;height:", ";direction:ltr;", ";", ";&::after{display:inline-block;width:", "px;content:'';}", ";"], props => props.theme.lineHeights[THEME_SIZES[props.$size]], colorStyles$1, props => props.$isNumbered && lineNumberStyles(props), props => props.theme.space.base * 3, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
283
+ })(["display:table-row;height:", ";direction:ltr;", ";", ";&::after{display:inline-block;width:", "px;content:'';}", ";"], props => props.theme.lineHeights[THEME_SIZES[props.$size]], colorStyles$1, props => props.$isNumbered && lineNumberStyles(props), props => props.theme.space.base * 3, reactTheming.componentStyles);
284
284
 
285
285
  const COMPONENT_ID$3 = 'typography.codeblock_token';
286
286
  const colorStyles = _ref => {
@@ -445,20 +445,20 @@ const colorStyles = _ref => {
445
445
  };
446
446
  const StyledCodeBlockToken = styled__default.default.span.attrs({
447
447
  'data-garden-id': COMPONENT_ID$3,
448
- 'data-garden-version': '9.4.0'
448
+ 'data-garden-version': '9.5.0'
449
449
  }).withConfig({
450
450
  displayName: "StyledCodeBlockToken",
451
451
  componentId: "sc-1hkshdq-0"
452
- })(["display:inline-block;&.bold:not(.diff){font-weight:", ";}&.coord{padding-left:0.75em;}&.italic{font-style:italic;}&.prefix{width:2em;text-align:center;}", ";", ";"], props => props.theme.fontWeights.semibold, colorStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$3, props));
452
+ })(["display:inline-block;&.bold:not(.diff){font-weight:", ";}&.coord{padding-left:0.75em;}&.italic{font-style:italic;}&.prefix{width:2em;text-align:center;}", ";", ";"], props => props.theme.fontWeights.semibold, colorStyles, reactTheming.componentStyles);
453
453
 
454
454
  const COMPONENT_ID$2 = 'typography.ellipsis';
455
455
  const StyledEllipsis = styled__default.default.div.attrs({
456
456
  'data-garden-id': COMPONENT_ID$2,
457
- 'data-garden-version': '9.4.0'
457
+ 'data-garden-version': '9.5.0'
458
458
  }).withConfig({
459
459
  displayName: "StyledEllipsis",
460
460
  componentId: "sc-1u4uqmy-0"
461
- })(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$2, props));
461
+ })(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', reactTheming.componentStyles);
462
462
 
463
463
  const COMPONENT_ID$1 = 'typography.icon';
464
464
  const sizeStyles = props => {
@@ -468,11 +468,11 @@ const sizeStyles = props => {
468
468
  };
469
469
  const StyledIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
470
470
  'data-garden-id': COMPONENT_ID$1,
471
- 'data-garden-version': '9.4.0'
471
+ 'data-garden-version': '9.5.0'
472
472
  }).withConfig({
473
473
  displayName: "StyledIcon",
474
474
  componentId: "sc-10rfb5b-0"
475
- })(["position:relative;top:-1px;vertical-align:middle;", ";", ";"], props => sizeStyles(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$1, props));
475
+ })(["position:relative;top:-1px;vertical-align:middle;", ";", ";"], props => sizeStyles(props), reactTheming.componentStyles);
476
476
 
477
477
  const listStyles = props => {
478
478
  const rtl = props.theme.rtl;
@@ -481,19 +481,19 @@ const listStyles = props => {
481
481
  const ORDERED_ID$1 = 'typography.ordered_list';
482
482
  const StyledOrderedList = styled__default.default.ol.attrs({
483
483
  'data-garden-id': ORDERED_ID$1,
484
- 'data-garden-version': '9.4.0'
484
+ 'data-garden-version': '9.5.0'
485
485
  }).withConfig({
486
486
  displayName: "StyledList__StyledOrderedList",
487
487
  componentId: "sc-jdbsfi-0"
488
- })(["", ";", ";"], props => listStyles(props), props => reactTheming.retrieveComponentStyles(ORDERED_ID$1, props));
488
+ })(["", ";", ";"], listStyles, reactTheming.componentStyles);
489
489
  const UNORDERED_ID$1 = 'typography.unordered_list';
490
490
  const StyledUnorderedList = styled__default.default.ul.attrs({
491
491
  'data-garden-id': UNORDERED_ID$1,
492
- 'data-garden-version': '9.4.0'
492
+ 'data-garden-version': '9.5.0'
493
493
  }).withConfig({
494
494
  displayName: "StyledList__StyledUnorderedList",
495
495
  componentId: "sc-jdbsfi-1"
496
- })(["", ";", ";"], props => listStyles(props), props => reactTheming.retrieveComponentStyles(UNORDERED_ID$1, props));
496
+ })(["", ";", ";"], listStyles, reactTheming.componentStyles);
497
497
 
498
498
  const listItemPaddingStyles = props => {
499
499
  const base = props.theme.space.base;
@@ -506,12 +506,12 @@ const listItemStyles = props => {
506
506
  const ORDERED_ID = 'typography.ordered_list_item';
507
507
  const StyledOrderedListItem = styled__default.default(StyledFont).attrs({
508
508
  'data-garden-id': ORDERED_ID,
509
- 'data-garden-version': '9.4.0',
509
+ 'data-garden-version': '9.5.0',
510
510
  as: 'li'
511
511
  }).withConfig({
512
512
  displayName: "StyledListItem__StyledOrderedListItem",
513
513
  componentId: "sc-9rsipg-0"
514
- })(["margin-", ":", ";padding-", ":", ";", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * -1px`), props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 1px`), props => listItemStyles(props), props => reactTheming.retrieveComponentStyles(ORDERED_ID, props));
514
+ })(["margin-", ":", ";padding-", ":", ";", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * -1px`), props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 1px`), listItemStyles, reactTheming.componentStyles);
515
515
  StyledOrderedListItem.defaultProps = {
516
516
  $space: 'medium',
517
517
  theme: reactTheming.DEFAULT_THEME
@@ -519,12 +519,12 @@ StyledOrderedListItem.defaultProps = {
519
519
  const UNORDERED_ID = 'typography.unordered_list_item';
520
520
  const StyledUnorderedListItem = styled__default.default(StyledFont).attrs({
521
521
  'data-garden-id': UNORDERED_ID,
522
- 'data-garden-version': '9.4.0',
522
+ 'data-garden-version': '9.5.0',
523
523
  as: 'li'
524
524
  }).withConfig({
525
525
  displayName: "StyledListItem__StyledUnorderedListItem",
526
526
  componentId: "sc-9rsipg-1"
527
- })(["", ";", ";"], props => listItemStyles(props), props => reactTheming.retrieveComponentStyles(UNORDERED_ID, props));
527
+ })(["", ";", ";"], listItemStyles, reactTheming.componentStyles);
528
528
  StyledUnorderedListItem.defaultProps = {
529
529
  $space: 'medium',
530
530
  theme: reactTheming.DEFAULT_THEME
@@ -533,11 +533,11 @@ StyledUnorderedListItem.defaultProps = {
533
533
  const COMPONENT_ID = 'typography.paragraph';
534
534
  const StyledParagraph = styled__default.default.p.attrs({
535
535
  'data-garden-id': COMPONENT_ID,
536
- 'data-garden-version': '9.4.0'
536
+ 'data-garden-version': '9.5.0'
537
537
  }).withConfig({
538
538
  displayName: "StyledParagraph",
539
539
  componentId: "sc-zkuftz-0"
540
- })(["margin:0;padding:0;direction:", ";& + &,blockquote + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.lineHeights[THEME_SIZES[props.size]], props => reactTheming.retrieveComponentStyles(COMPONENT_ID, props));
540
+ })(["margin:0;padding:0;direction:", ";& + &,blockquote + &{margin-top:", ";}", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.lineHeights[THEME_SIZES[props.size]], reactTheming.componentStyles);
541
541
 
542
542
  const SM = React.forwardRef((_ref, ref) => {
543
543
  let {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-typography",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
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>",
@@ -33,7 +33,7 @@
33
33
  "styled-components": "^5.3.1 || ^6.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@zendeskgarden/react-theming": "^9.4.0"
36
+ "@zendeskgarden/react-theming": "^9.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": "02e3f240b6f0c776fdae785254d6fe90cbfc37e4"
48
+ "gitHead": "43546784a9aa985332ddcc6dd09209a11e2c03ff"
49
49
  }