@zendeskgarden/react-typography 9.1.2 → 9.3.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.
- package/dist/esm/styled/StyledBlockquote.js +1 -1
- package/dist/esm/styled/StyledCode.js +1 -1
- package/dist/esm/styled/StyledCodeBlock.js +1 -1
- package/dist/esm/styled/StyledCodeBlockContainer.js +1 -1
- package/dist/esm/styled/StyledCodeBlockLine.js +1 -1
- package/dist/esm/styled/StyledCodeBlockToken.js +1 -1
- package/dist/esm/styled/StyledEllipsis.js +1 -1
- package/dist/esm/styled/StyledFont.js +1 -1
- package/dist/esm/styled/StyledIcon.js +1 -1
- package/dist/esm/styled/StyledList.js +2 -2
- package/dist/esm/styled/StyledListItem.js +2 -2
- package/dist/esm/styled/StyledParagraph.js +1 -1
- package/dist/index.cjs.js +14 -14
- package/dist/typings/styled/StyledBlockquote.d.ts +3 -4
- package/dist/typings/styled/StyledCode.d.ts +5 -7
- package/dist/typings/styled/StyledCodeBlock.d.ts +3 -5
- package/dist/typings/styled/StyledCodeBlockContainer.d.ts +3 -4
- package/dist/typings/styled/StyledCodeBlockLine.d.ts +5 -7
- package/dist/typings/styled/StyledCodeBlockToken.d.ts +3 -5
- package/dist/typings/styled/StyledEllipsis.d.ts +3 -4
- package/dist/typings/styled/StyledFont.d.ts +3 -4
- package/dist/typings/styled/StyledIcon.d.ts +2 -5
- package/dist/typings/styled/StyledList.d.ts +6 -9
- package/dist/typings/styled/StyledListItem.d.ts +10 -11
- package/dist/typings/styled/StyledParagraph.d.ts +3 -4
- package/package.json +4 -4
|
@@ -11,7 +11,7 @@ import { THEME_SIZES } from './StyledFont.js';
|
|
|
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.
|
|
14
|
+
'data-garden-version': '9.3.0'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledBlockquote",
|
|
17
17
|
componentId: "sc-1tt3ye0-0"
|
|
@@ -24,7 +24,7 @@ const colorStyles = _ref => {
|
|
|
24
24
|
};
|
|
25
25
|
const StyledCodeBlock = styled.pre.attrs({
|
|
26
26
|
'data-garden-id': COMPONENT_ID,
|
|
27
|
-
'data-garden-version': '9.
|
|
27
|
+
'data-garden-version': '9.3.0'
|
|
28
28
|
}).withConfig({
|
|
29
29
|
displayName: "StyledCodeBlock",
|
|
30
30
|
componentId: "sc-5wky57-0"
|
|
@@ -10,7 +10,7 @@ import { focusStyles, retrieveComponentStyles } from '@zendeskgarden/react-themi
|
|
|
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.
|
|
13
|
+
'data-garden-version': '9.3.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledCodeBlockContainer",
|
|
16
16
|
componentId: "sc-14zgbfw-0"
|
|
@@ -86,7 +86,7 @@ const lineNumberStyles = _ref2 => {
|
|
|
86
86
|
};
|
|
87
87
|
const StyledCodeBlockLine = styled(StyledFont).attrs({
|
|
88
88
|
'data-garden-id': COMPONENT_ID,
|
|
89
|
-
'data-garden-version': '9.
|
|
89
|
+
'data-garden-version': '9.3.0',
|
|
90
90
|
as: 'code',
|
|
91
91
|
$isMonospace: true
|
|
92
92
|
}).withConfig({
|
|
@@ -171,7 +171,7 @@ const colorStyles = _ref => {
|
|
|
171
171
|
};
|
|
172
172
|
const StyledCodeBlockToken = styled.span.attrs({
|
|
173
173
|
'data-garden-id': COMPONENT_ID,
|
|
174
|
-
'data-garden-version': '9.
|
|
174
|
+
'data-garden-version': '9.3.0'
|
|
175
175
|
}).withConfig({
|
|
176
176
|
displayName: "StyledCodeBlockToken",
|
|
177
177
|
componentId: "sc-1hkshdq-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
|
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.
|
|
13
|
+
'data-garden-version': '9.3.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledEllipsis",
|
|
16
16
|
componentId: "sc-1u4uqmy-0"
|
|
@@ -15,7 +15,7 @@ const sizeStyles = props => {
|
|
|
15
15
|
};
|
|
16
16
|
const StyledIcon = styled(StyledBaseIcon).attrs({
|
|
17
17
|
'data-garden-id': COMPONENT_ID,
|
|
18
|
-
'data-garden-version': '9.
|
|
18
|
+
'data-garden-version': '9.3.0'
|
|
19
19
|
}).withConfig({
|
|
20
20
|
displayName: "StyledIcon",
|
|
21
21
|
componentId: "sc-10rfb5b-0"
|
|
@@ -14,7 +14,7 @@ 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.
|
|
17
|
+
'data-garden-version': '9.3.0'
|
|
18
18
|
}).withConfig({
|
|
19
19
|
displayName: "StyledList__StyledOrderedList",
|
|
20
20
|
componentId: "sc-jdbsfi-0"
|
|
@@ -22,7 +22,7 @@ const StyledOrderedList = styled.ol.attrs({
|
|
|
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.
|
|
25
|
+
'data-garden-version': '9.3.0'
|
|
26
26
|
}).withConfig({
|
|
27
27
|
displayName: "StyledList__StyledUnorderedList",
|
|
28
28
|
componentId: "sc-jdbsfi-1"
|
|
@@ -21,7 +21,7 @@ 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.
|
|
24
|
+
'data-garden-version': '9.3.0',
|
|
25
25
|
as: 'li'
|
|
26
26
|
}).withConfig({
|
|
27
27
|
displayName: "StyledListItem__StyledOrderedListItem",
|
|
@@ -34,7 +34,7 @@ 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.
|
|
37
|
+
'data-garden-version': '9.3.0',
|
|
38
38
|
as: 'li'
|
|
39
39
|
}).withConfig({
|
|
40
40
|
displayName: "StyledListItem__StyledUnorderedListItem",
|
|
@@ -11,7 +11,7 @@ import { THEME_SIZES } from './StyledFont.js';
|
|
|
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.
|
|
14
|
+
'data-garden-version': '9.3.0'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledParagraph",
|
|
17
17
|
componentId: "sc-zkuftz-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -86,7 +86,7 @@ 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.
|
|
89
|
+
'data-garden-version': '9.3.0'
|
|
90
90
|
}).withConfig({
|
|
91
91
|
displayName: "StyledFont",
|
|
92
92
|
componentId: "sc-1iildbo-0"
|
|
@@ -98,7 +98,7 @@ 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.
|
|
101
|
+
'data-garden-version': '9.3.0'
|
|
102
102
|
}).withConfig({
|
|
103
103
|
displayName: "StyledBlockquote",
|
|
104
104
|
componentId: "sc-1tt3ye0-0"
|
|
@@ -149,7 +149,7 @@ 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.
|
|
152
|
+
'data-garden-version': '9.3.0',
|
|
153
153
|
as: 'code',
|
|
154
154
|
$isMonospace: true
|
|
155
155
|
}).withConfig({
|
|
@@ -179,7 +179,7 @@ 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.
|
|
182
|
+
'data-garden-version': '9.3.0'
|
|
183
183
|
}).withConfig({
|
|
184
184
|
displayName: "StyledCodeBlock",
|
|
185
185
|
componentId: "sc-5wky57-0"
|
|
@@ -188,7 +188,7 @@ const StyledCodeBlock = styled__default.default.pre.attrs({
|
|
|
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.
|
|
191
|
+
'data-garden-version': '9.3.0'
|
|
192
192
|
}).withConfig({
|
|
193
193
|
displayName: "StyledCodeBlockContainer",
|
|
194
194
|
componentId: "sc-14zgbfw-0"
|
|
@@ -274,7 +274,7 @@ 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.
|
|
277
|
+
'data-garden-version': '9.3.0',
|
|
278
278
|
as: 'code',
|
|
279
279
|
$isMonospace: true
|
|
280
280
|
}).withConfig({
|
|
@@ -445,7 +445,7 @@ 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.
|
|
448
|
+
'data-garden-version': '9.3.0'
|
|
449
449
|
}).withConfig({
|
|
450
450
|
displayName: "StyledCodeBlockToken",
|
|
451
451
|
componentId: "sc-1hkshdq-0"
|
|
@@ -454,7 +454,7 @@ const StyledCodeBlockToken = styled__default.default.span.attrs({
|
|
|
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.
|
|
457
|
+
'data-garden-version': '9.3.0'
|
|
458
458
|
}).withConfig({
|
|
459
459
|
displayName: "StyledEllipsis",
|
|
460
460
|
componentId: "sc-1u4uqmy-0"
|
|
@@ -468,7 +468,7 @@ 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.
|
|
471
|
+
'data-garden-version': '9.3.0'
|
|
472
472
|
}).withConfig({
|
|
473
473
|
displayName: "StyledIcon",
|
|
474
474
|
componentId: "sc-10rfb5b-0"
|
|
@@ -481,7 +481,7 @@ 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.
|
|
484
|
+
'data-garden-version': '9.3.0'
|
|
485
485
|
}).withConfig({
|
|
486
486
|
displayName: "StyledList__StyledOrderedList",
|
|
487
487
|
componentId: "sc-jdbsfi-0"
|
|
@@ -489,7 +489,7 @@ const StyledOrderedList = styled__default.default.ol.attrs({
|
|
|
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.
|
|
492
|
+
'data-garden-version': '9.3.0'
|
|
493
493
|
}).withConfig({
|
|
494
494
|
displayName: "StyledList__StyledUnorderedList",
|
|
495
495
|
componentId: "sc-jdbsfi-1"
|
|
@@ -506,7 +506,7 @@ 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.
|
|
509
|
+
'data-garden-version': '9.3.0',
|
|
510
510
|
as: 'li'
|
|
511
511
|
}).withConfig({
|
|
512
512
|
displayName: "StyledListItem__StyledOrderedListItem",
|
|
@@ -519,7 +519,7 @@ 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.
|
|
522
|
+
'data-garden-version': '9.3.0',
|
|
523
523
|
as: 'li'
|
|
524
524
|
}).withConfig({
|
|
525
525
|
displayName: "StyledListItem__StyledUnorderedListItem",
|
|
@@ -533,7 +533,7 @@ 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.
|
|
536
|
+
'data-garden-version': '9.3.0'
|
|
537
537
|
}).withConfig({
|
|
538
538
|
displayName: "StyledParagraph",
|
|
539
539
|
componentId: "sc-zkuftz-0"
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import { IBlockquoteProps } from '../types';
|
|
8
|
-
export declare const StyledBlockquote: import("styled-components").
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} & IBlockquoteProps, "data-garden-id" | "data-garden-version">;
|
|
8
|
+
export declare const StyledBlockquote: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, Omit<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLQuoteElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLQuoteElement> | null | undefined;
|
|
10
|
+
}>, never>, IBlockquoteProps>> & string;
|
|
@@ -4,17 +4,15 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
7
|
import { IStyledFontProps } from './StyledFont';
|
|
9
8
|
import { ICodeProps } from '../types';
|
|
10
9
|
interface IStyledCodeProps extends Omit<IStyledFontProps, 'size'> {
|
|
11
10
|
$hue?: ICodeProps['hue'];
|
|
12
11
|
$size?: ICodeProps['size'];
|
|
13
12
|
}
|
|
14
|
-
export declare const StyledCode: import("styled-components").
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} & IStyledCodeProps, "$isMonospace" | "as" | "data-garden-id" | "data-garden-version">;
|
|
13
|
+
export declare const StyledCode: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
15
|
+
}, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
17
|
+
}>, never>, IStyledCodeProps>> & string;
|
|
20
18
|
export {};
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
'data-garden-version': string;
|
|
11
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
export declare const StyledCodeBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "ref"> & {
|
|
8
|
+
ref?: ((instance: HTMLPreElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLPreElement> | null | undefined;
|
|
9
|
+
}>, never>, never>> & string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
export declare const StyledCodeBlockContainer: import("styled-components").
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
export declare const StyledCodeBlockContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
+
}>, never>, never>> & string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
7
|
import { Language } from 'prism-react-renderer';
|
|
9
8
|
import { Diff, Size } from '../types';
|
|
10
9
|
export interface IStyledCodeBlockLineProps {
|
|
@@ -14,9 +13,8 @@ export interface IStyledCodeBlockLineProps {
|
|
|
14
13
|
$diff?: Diff;
|
|
15
14
|
$size?: Size;
|
|
16
15
|
}
|
|
17
|
-
export declare const StyledCodeBlockLine: import("styled-components").
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} & IStyledCodeBlockLineProps, "as" | "data-garden-id" | "data-garden-version" | "$isMonospace">;
|
|
16
|
+
export declare const StyledCodeBlockLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
18
|
+
}, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
19
|
+
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
20
|
+
}>, never>, IStyledCodeBlockLineProps>> & string;
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
'data-garden-version': string;
|
|
11
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
export declare const StyledCodeBlockToken: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
8
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
9
|
+
}>, never>, never>> & string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
export declare const StyledEllipsis: import("styled-components").
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
export declare const StyledEllipsis: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
+
}>, never>, never>> & string;
|
|
@@ -16,8 +16,7 @@ export interface IStyledFontProps {
|
|
|
16
16
|
$size?: (typeof FONT_SIZE)[number];
|
|
17
17
|
$hue?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare const StyledFont: import("styled-components").
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} & IStyledFontProps, "data-garden-id" | "data-garden-version">;
|
|
19
|
+
export declare const StyledFont: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
+
}>, never>, IStyledFontProps>> & string;
|
|
23
22
|
export {};
|
|
@@ -4,12 +4,9 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { DataAttributes } from 'styled-components';
|
|
8
8
|
interface IStyledIconProps {
|
|
9
9
|
$isStart?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const StyledIcon: import("styled-components").
|
|
12
|
-
'data-garden-id': string;
|
|
13
|
-
'data-garden-version': string;
|
|
14
|
-
} & IStyledIconProps, "data-garden-id" | "data-garden-version">;
|
|
11
|
+
export declare const StyledIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>, import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>>, DataAttributes>, IStyledIconProps>> & string;
|
|
15
12
|
export {};
|
|
@@ -4,20 +4,17 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
7
|
import { IOrderedListProps, IUnorderedListProps } from '../types';
|
|
9
8
|
interface IStyledListProps {
|
|
10
9
|
$listType?: IOrderedListProps['type'];
|
|
11
10
|
}
|
|
12
|
-
export declare const StyledOrderedList: import("styled-components").
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} & IStyledListProps, "data-garden-id" | "data-garden-version">;
|
|
11
|
+
export declare const StyledOrderedList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLOListElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLOListElement> | null | undefined;
|
|
13
|
+
}>, never>, IStyledListProps>> & string;
|
|
16
14
|
interface IStyledUnorderedListProps {
|
|
17
15
|
$listType?: IUnorderedListProps['type'];
|
|
18
16
|
}
|
|
19
|
-
export declare const StyledUnorderedList: import("styled-components").
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} & IStyledUnorderedListProps, "data-garden-id" | "data-garden-version">;
|
|
17
|
+
export declare const StyledUnorderedList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLUListElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLUListElement> | null | undefined;
|
|
19
|
+
}>, never>, IStyledUnorderedListProps>> & string;
|
|
23
20
|
export {};
|
|
@@ -4,19 +4,18 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
7
|
import { Size } from '../types';
|
|
9
8
|
interface IStyledListItemProps {
|
|
10
9
|
$space?: Size;
|
|
11
10
|
}
|
|
12
|
-
export declare const StyledOrderedListItem: import("styled-components").
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
export declare const StyledUnorderedListItem: import("styled-components").
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
11
|
+
export declare const StyledOrderedListItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
13
|
+
}, Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
15
|
+
}>, never>, IStyledListItemProps>> & string;
|
|
16
|
+
export declare const StyledUnorderedListItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
18
|
+
}, Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
19
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
20
|
+
}>, never>, IStyledListItemProps>> & string;
|
|
22
21
|
export {};
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import { IParagraphProps } from '../types';
|
|
8
|
-
export declare const StyledParagraph: import("styled-components").
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} & IParagraphProps, "data-garden-id" | "data-garden-version">;
|
|
8
|
+
export declare const StyledParagraph: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLParagraphElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
10
|
+
}>, never>, IParagraphProps>> & string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-typography",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.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>",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@zendeskgarden/react-theming": ">=9.0.0",
|
|
31
31
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
32
32
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
33
|
-
"styled-components": "^5.3.1"
|
|
33
|
+
"styled-components": "^5.3.1 || ^6.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@zendeskgarden/react-theming": "^9.
|
|
36
|
+
"@zendeskgarden/react-theming": "^9.3.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"components",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"zendeskgarden:src": "src/index.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "fa6461e0d9fae27956980056006e8013daedc6b9"
|
|
49
49
|
}
|