@zendeskgarden/react-typography 8.69.1 → 8.69.3

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.
Files changed (38) hide show
  1. package/dist/index.cjs.js +14 -14
  2. package/dist/index.esm.js +14 -14
  3. package/dist/typings/elements/Blockquote.d.ts +12 -12
  4. package/dist/typings/elements/Code.d.ts +12 -12
  5. package/dist/typings/elements/CodeBlock.d.ts +12 -12
  6. package/dist/typings/elements/Ellipsis.d.ts +12 -12
  7. package/dist/typings/elements/LG.d.ts +12 -12
  8. package/dist/typings/elements/MD.d.ts +12 -12
  9. package/dist/typings/elements/Paragraph.d.ts +12 -12
  10. package/dist/typings/elements/SM.d.ts +12 -12
  11. package/dist/typings/elements/XL.d.ts +12 -12
  12. package/dist/typings/elements/XXL.d.ts +12 -12
  13. package/dist/typings/elements/XXXL.d.ts +12 -12
  14. package/dist/typings/elements/lists/OrderedList.d.ts +15 -15
  15. package/dist/typings/elements/lists/OrderedListItem.d.ts +11 -11
  16. package/dist/typings/elements/lists/UnorderedList.d.ts +15 -15
  17. package/dist/typings/elements/lists/UnorderedListItem.d.ts +11 -11
  18. package/dist/typings/elements/span/Icon.d.ts +14 -14
  19. package/dist/typings/elements/span/Span.d.ts +17 -17
  20. package/dist/typings/elements/span/StartIcon.d.ts +14 -14
  21. package/dist/typings/index.d.ts +21 -21
  22. package/dist/typings/styled/StyledBlockquote.d.ts +11 -11
  23. package/dist/typings/styled/StyledCode.d.ts +19 -19
  24. package/dist/typings/styled/StyledCodeBlock.d.ts +14 -14
  25. package/dist/typings/styled/StyledCodeBlockContainer.d.ts +10 -10
  26. package/dist/typings/styled/StyledCodeBlockLine.d.ts +27 -27
  27. package/dist/typings/styled/StyledCodeBlockToken.d.ts +14 -14
  28. package/dist/typings/styled/StyledEllipsis.d.ts +10 -10
  29. package/dist/typings/styled/StyledFont.d.ts +23 -23
  30. package/dist/typings/styled/StyledIcon.d.ts +16 -16
  31. package/dist/typings/styled/StyledList.d.ts +23 -23
  32. package/dist/typings/styled/StyledListItem.d.ts +22 -22
  33. package/dist/typings/styled/StyledParagraph.d.ts +11 -11
  34. package/dist/typings/styled/index.d.ts +18 -18
  35. package/dist/typings/types/index.d.ts +84 -84
  36. package/dist/typings/utils/useOrderedListContext.d.ts +17 -17
  37. package/dist/typings/utils/useUnorderedListContext.d.ts +17 -17
  38. package/package.json +3 -3
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import React, { HTMLAttributes } from 'react';
8
- /**
9
- * @extends HTMLAttributes<HTMLElement>
10
- */
11
- export declare const Icon: {
12
- (props: HTMLAttributes<HTMLElement>): React.JSX.Element;
13
- displayName: string;
14
- };
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React, { HTMLAttributes } from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLElement>
10
+ */
11
+ export declare const Icon: {
12
+ (props: HTMLAttributes<HTMLElement>): React.JSX.Element;
13
+ displayName: string;
14
+ };
@@ -1,17 +1,17 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import React from 'react';
8
- import { ISpanProps } from '../../types';
9
- import { StartIcon } from './StartIcon';
10
- import { Icon } from './Icon';
11
- /**
12
- * @extends HTMLAttributes<HTMLSpanElement>
13
- */
14
- export declare const Span: React.ForwardRefExoticComponent<ISpanProps & React.RefAttributes<HTMLSpanElement>> & {
15
- Icon: typeof Icon;
16
- StartIcon: typeof StartIcon;
17
- };
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React from 'react';
8
+ import { ISpanProps } from '../../types';
9
+ import { StartIcon } from './StartIcon';
10
+ import { Icon } from './Icon';
11
+ /**
12
+ * @extends HTMLAttributes<HTMLSpanElement>
13
+ */
14
+ export declare const Span: React.ForwardRefExoticComponent<ISpanProps & React.RefAttributes<HTMLSpanElement>> & {
15
+ Icon: typeof Icon;
16
+ StartIcon: typeof StartIcon;
17
+ };
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import React, { HTMLAttributes } from 'react';
8
- /**
9
- * @extends HTMLAttributes<HTMLElement>
10
- */
11
- export declare const StartIcon: {
12
- (props: HTMLAttributes<HTMLElement>): React.JSX.Element;
13
- displayName: string;
14
- };
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import React, { HTMLAttributes } from 'react';
8
+ /**
9
+ * @extends HTMLAttributes<HTMLElement>
10
+ */
11
+ export declare const StartIcon: {
12
+ (props: HTMLAttributes<HTMLElement>): React.JSX.Element;
13
+ displayName: string;
14
+ };
@@ -1,21 +1,21 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export { SM } from './elements/SM';
8
- export { MD } from './elements/MD';
9
- export { LG } from './elements/LG';
10
- export { XL } from './elements/XL';
11
- export { XXL } from './elements/XXL';
12
- export { XXXL } from './elements/XXXL';
13
- export { Blockquote } from './elements/Blockquote';
14
- export { Code } from './elements/Code';
15
- export { CodeBlock } from './elements/CodeBlock';
16
- export { Ellipsis } from './elements/Ellipsis';
17
- export { Paragraph } from './elements/Paragraph';
18
- export { OrderedList } from './elements/lists/OrderedList';
19
- export { UnorderedList } from './elements/lists/UnorderedList';
20
- export { Span } from './elements/span/Span';
21
- export type { ITypescaleMonospaceProps as ISMProps, ITypescaleMonospaceProps as IMDProps, ITypescaleMonospaceProps as ILGProps, ITypescaleProps as IXLProps, ITypescaleProps as IXXLProps, ITypescaleProps as IXXXLProps, IBlockquoteProps, ICodeProps, ICodeBlockProps, IEllipsisProps, IParagraphProps, IOrderedListProps, IUnorderedListProps, ISpanProps } from './types';
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export { SM } from './elements/SM';
8
+ export { MD } from './elements/MD';
9
+ export { LG } from './elements/LG';
10
+ export { XL } from './elements/XL';
11
+ export { XXL } from './elements/XXL';
12
+ export { XXXL } from './elements/XXXL';
13
+ export { Blockquote } from './elements/Blockquote';
14
+ export { Code } from './elements/Code';
15
+ export { CodeBlock } from './elements/CodeBlock';
16
+ export { Ellipsis } from './elements/Ellipsis';
17
+ export { Paragraph } from './elements/Paragraph';
18
+ export { OrderedList } from './elements/lists/OrderedList';
19
+ export { UnorderedList } from './elements/lists/UnorderedList';
20
+ export { Span } from './elements/span/Span';
21
+ export type { ITypescaleMonospaceProps as ISMProps, ITypescaleMonospaceProps as IMDProps, ITypescaleMonospaceProps as ILGProps, ITypescaleProps as IXLProps, ITypescaleProps as IXXLProps, ITypescaleProps as IXXXLProps, IBlockquoteProps, ICodeProps, ICodeBlockProps, IEllipsisProps, IParagraphProps, IOrderedListProps, IUnorderedListProps, ISpanProps } from './types';
@@ -1,11 +1,11 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { IBlockquoteProps } from '../types';
8
- export declare const StyledBlockquote: import("styled-components").StyledComponent<"blockquote", import("styled-components").DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- } & IBlockquoteProps, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { IBlockquoteProps } from '../types';
8
+ export declare const StyledBlockquote: import("styled-components").StyledComponent<"blockquote", import("styled-components").DefaultTheme, {
9
+ 'data-garden-id': string;
10
+ 'data-garden-version': string;
11
+ } & IBlockquoteProps, "data-garden-id" | "data-garden-version">;
@@ -1,19 +1,19 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import { IStyledFontProps } from './StyledFont';
9
- import { ICodeProps } from '../types';
10
- interface IStyledCodeProps extends Omit<IStyledFontProps, 'size'> {
11
- hue?: string;
12
- size?: ICodeProps['size'];
13
- }
14
- export declare const StyledCode: import("styled-components").StyledComponent<"code", DefaultTheme, {
15
- 'data-garden-id': string;
16
- 'data-garden-version': string;
17
- as: string;
18
- } & IStyledCodeProps, "as" | "data-garden-id" | "data-garden-version">;
19
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import { IStyledFontProps } from './StyledFont';
9
+ import { ICodeProps } from '../types';
10
+ interface IStyledCodeProps extends Omit<IStyledFontProps, 'size'> {
11
+ hue?: string;
12
+ size?: ICodeProps['size'];
13
+ }
14
+ export declare const StyledCode: import("styled-components").StyledComponent<"code", DefaultTheme, {
15
+ 'data-garden-id': string;
16
+ 'data-garden-version': string;
17
+ as: string;
18
+ } & IStyledCodeProps, "as" | "data-garden-id" | "data-garden-version">;
19
+ export {};
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- export interface IStyledCodeBlockProps {
9
- isLight?: boolean;
10
- }
11
- export declare const StyledCodeBlock: import("styled-components").StyledComponent<"pre", DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- } & IStyledCodeBlockProps, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ export interface IStyledCodeBlockProps {
9
+ isLight?: boolean;
10
+ }
11
+ export declare const StyledCodeBlock: import("styled-components").StyledComponent<"pre", DefaultTheme, {
12
+ 'data-garden-id': string;
13
+ 'data-garden-version': string;
14
+ } & IStyledCodeBlockProps, "data-garden-id" | "data-garden-version">;
@@ -1,10 +1,10 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledCodeBlockContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledCodeBlockContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,27 +1,27 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import { Language } from 'prism-react-renderer';
9
- import { Diff, Size } from '../types';
10
- export interface IStyledCodeBlockLineProps {
11
- language?: Language;
12
- isHighlighted?: boolean;
13
- isLight?: boolean;
14
- isNumbered?: boolean;
15
- diff?: Diff;
16
- size?: Size;
17
- }
18
- /**
19
- * 1. Fix line display for mobile.
20
- * 2. Match parent padding for overflow scroll.
21
- */
22
- export declare const StyledCodeBlockLine: import("styled-components").StyledComponent<"code", DefaultTheme, {
23
- 'data-garden-id': string;
24
- 'data-garden-version': string;
25
- as: string;
26
- isMonospace: boolean;
27
- } & IStyledCodeBlockLineProps, "as" | "data-garden-id" | "data-garden-version" | "isMonospace">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import { Language } from 'prism-react-renderer';
9
+ import { Diff, Size } from '../types';
10
+ export interface IStyledCodeBlockLineProps {
11
+ language?: Language;
12
+ isHighlighted?: boolean;
13
+ isLight?: boolean;
14
+ isNumbered?: boolean;
15
+ diff?: Diff;
16
+ size?: Size;
17
+ }
18
+ /**
19
+ * 1. Fix line display for mobile.
20
+ * 2. Match parent padding for overflow scroll.
21
+ */
22
+ export declare const StyledCodeBlockLine: import("styled-components").StyledComponent<"code", DefaultTheme, {
23
+ 'data-garden-id': string;
24
+ 'data-garden-version': string;
25
+ as: string;
26
+ isMonospace: boolean;
27
+ } & IStyledCodeBlockLineProps, "as" | "data-garden-id" | "data-garden-version" | "isMonospace">;
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- export interface IStyledCodeBlockTokenProps {
9
- isLight?: boolean;
10
- }
11
- export declare const StyledCodeBlockToken: import("styled-components").StyledComponent<"span", DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- } & IStyledCodeBlockTokenProps, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ export interface IStyledCodeBlockTokenProps {
9
+ isLight?: boolean;
10
+ }
11
+ export declare const StyledCodeBlockToken: import("styled-components").StyledComponent<"span", DefaultTheme, {
12
+ 'data-garden-id': string;
13
+ 'data-garden-version': string;
14
+ } & IStyledCodeBlockTokenProps, "data-garden-id" | "data-garden-version">;
@@ -1,10 +1,10 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledEllipsis: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledEllipsis: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,23 +1,23 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- declare const TYPOGRAPHY_SIZE: readonly ["small", "medium", "large", "extralarge", "2xlarge", "3xlarge"];
9
- declare const FONT_SIZE: readonly ["inherit", "small", "medium", "large", "extralarge", "2xlarge", "3xlarge"];
10
- type TypographySize = (typeof TYPOGRAPHY_SIZE)[number];
11
- type ThemeSize = keyof DefaultTheme['lineHeights'];
12
- export declare const THEME_SIZES: Record<TypographySize, ThemeSize>;
13
- export interface IStyledFontProps {
14
- isBold?: boolean;
15
- isMonospace?: boolean;
16
- size?: (typeof FONT_SIZE)[number];
17
- hue?: string;
18
- }
19
- export declare const StyledFont: import("styled-components").StyledComponent<"div", DefaultTheme, {
20
- 'data-garden-id': string;
21
- 'data-garden-version': string;
22
- } & IStyledFontProps, "data-garden-id" | "data-garden-version">;
23
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ declare const TYPOGRAPHY_SIZE: readonly ["small", "medium", "large", "extralarge", "2xlarge", "3xlarge"];
9
+ declare const FONT_SIZE: readonly ["inherit", "small", "medium", "large", "extralarge", "2xlarge", "3xlarge"];
10
+ type TypographySize = (typeof TYPOGRAPHY_SIZE)[number];
11
+ type ThemeSize = keyof DefaultTheme['lineHeights'];
12
+ export declare const THEME_SIZES: Record<TypographySize, ThemeSize>;
13
+ export interface IStyledFontProps {
14
+ isBold?: boolean;
15
+ isMonospace?: boolean;
16
+ size?: (typeof FONT_SIZE)[number];
17
+ hue?: string;
18
+ }
19
+ export declare const StyledFont: import("styled-components").StyledComponent<"div", DefaultTheme, {
20
+ 'data-garden-id': string;
21
+ 'data-garden-version': string;
22
+ } & IStyledFontProps, "data-garden-id" | "data-garden-version">;
23
+ export {};
@@ -1,16 +1,16 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import React from 'react';
9
- interface IStyledIconProps {
10
- isStart?: boolean;
11
- }
12
- export declare const StyledIcon: import("styled-components").StyledComponent<({ children, isStart, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & IStyledIconProps, "data-garden-id" | "data-garden-version">;
16
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import React from 'react';
9
+ interface IStyledIconProps {
10
+ isStart?: boolean;
11
+ }
12
+ export declare const StyledIcon: import("styled-components").StyledComponent<({ children, isStart, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
13
+ 'data-garden-id': string;
14
+ 'data-garden-version': string;
15
+ } & IStyledIconProps, "data-garden-id" | "data-garden-version">;
16
+ export {};
@@ -1,23 +1,23 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import { IOrderedListProps, IUnorderedListProps } from '../types';
9
- interface IStyledListProps {
10
- listType?: IOrderedListProps['type'];
11
- }
12
- export declare const StyledOrderedList: import("styled-components").StyledComponent<"ol", DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & IStyledListProps, "data-garden-id" | "data-garden-version">;
16
- interface IStyledUnorderedListProps {
17
- listType?: IUnorderedListProps['type'];
18
- }
19
- export declare const StyledUnorderedList: import("styled-components").StyledComponent<"ul", DefaultTheme, {
20
- 'data-garden-id': string;
21
- 'data-garden-version': string;
22
- } & IStyledUnorderedListProps, "data-garden-id" | "data-garden-version">;
23
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import { IOrderedListProps, IUnorderedListProps } from '../types';
9
+ interface IStyledListProps {
10
+ listType?: IOrderedListProps['type'];
11
+ }
12
+ export declare const StyledOrderedList: import("styled-components").StyledComponent<"ol", DefaultTheme, {
13
+ 'data-garden-id': string;
14
+ 'data-garden-version': string;
15
+ } & IStyledListProps, "data-garden-id" | "data-garden-version">;
16
+ interface IStyledUnorderedListProps {
17
+ listType?: IUnorderedListProps['type'];
18
+ }
19
+ export declare const StyledUnorderedList: import("styled-components").StyledComponent<"ul", DefaultTheme, {
20
+ 'data-garden-id': string;
21
+ 'data-garden-version': string;
22
+ } & IStyledUnorderedListProps, "data-garden-id" | "data-garden-version">;
23
+ export {};
@@ -1,22 +1,22 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import { Size } from '../types';
9
- interface IStyledListItemProps {
10
- space?: Size;
11
- }
12
- export declare const StyledOrderedListItem: import("styled-components").StyledComponent<"li", DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- as: string;
16
- } & IStyledListItemProps, "as" | "data-garden-id" | "data-garden-version">;
17
- export declare const StyledUnorderedListItem: import("styled-components").StyledComponent<"li", DefaultTheme, {
18
- 'data-garden-id': string;
19
- 'data-garden-version': string;
20
- as: string;
21
- } & IStyledListItemProps, "as" | "data-garden-id" | "data-garden-version">;
22
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import { Size } from '../types';
9
+ interface IStyledListItemProps {
10
+ space?: Size;
11
+ }
12
+ export declare const StyledOrderedListItem: import("styled-components").StyledComponent<"li", DefaultTheme, {
13
+ 'data-garden-id': string;
14
+ 'data-garden-version': string;
15
+ as: string;
16
+ } & IStyledListItemProps, "as" | "data-garden-id" | "data-garden-version">;
17
+ export declare const StyledUnorderedListItem: import("styled-components").StyledComponent<"li", DefaultTheme, {
18
+ 'data-garden-id': string;
19
+ 'data-garden-version': string;
20
+ as: string;
21
+ } & IStyledListItemProps, "as" | "data-garden-id" | "data-garden-version">;
22
+ export {};
@@ -1,11 +1,11 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { IParagraphProps } from '../types';
8
- export declare const StyledParagraph: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- } & IParagraphProps, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { IParagraphProps } from '../types';
8
+ export declare const StyledParagraph: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {
9
+ 'data-garden-id': string;
10
+ 'data-garden-version': string;
11
+ } & IParagraphProps, "data-garden-id" | "data-garden-version">;
@@ -1,18 +1,18 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export * from './StyledBlockquote';
8
- export * from './StyledCode';
9
- export * from './StyledCodeBlock';
10
- export * from './StyledCodeBlockContainer';
11
- export * from './StyledCodeBlockLine';
12
- export * from './StyledCodeBlockToken';
13
- export * from './StyledEllipsis';
14
- export * from './StyledFont';
15
- export * from './StyledIcon';
16
- export * from './StyledList';
17
- export * from './StyledListItem';
18
- export * from './StyledParagraph';
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export * from './StyledBlockquote';
8
+ export * from './StyledCode';
9
+ export * from './StyledCodeBlock';
10
+ export * from './StyledCodeBlockContainer';
11
+ export * from './StyledCodeBlockLine';
12
+ export * from './StyledCodeBlockToken';
13
+ export * from './StyledEllipsis';
14
+ export * from './StyledFont';
15
+ export * from './StyledIcon';
16
+ export * from './StyledList';
17
+ export * from './StyledListItem';
18
+ export * from './StyledParagraph';