@synerise/ds-typography 1.1.25 → 1.1.26

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.26](https://github.com/synerise/synerise-design/compare/@synerise/ds-typography@1.1.25...@synerise/ds-typography@1.1.26) (2026-06-17)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-typography
9
+
6
10
  ## [1.1.25](https://github.com/synerise/synerise-design/compare/@synerise/ds-typography@1.1.24...@synerise/ds-typography@1.1.25) (2026-06-11)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-typography
@@ -27,43 +27,43 @@ const XSmallText = /* @__PURE__ */ styled.span.withConfig({
27
27
  const MediumParagraph = /* @__PURE__ */ styled.span.withConfig({
28
28
  displayName: "CommonElements__MediumParagraph",
29
29
  componentId: "sc-102d2aw-6"
30
- })(["", ""], () => css(["", ";"], medium));
30
+ })(["display:block;", ""], () => css(["", ";"], medium));
31
31
  const SmallParagraph = /* @__PURE__ */ styled.span.withConfig({
32
32
  displayName: "CommonElements__SmallParagraph",
33
33
  componentId: "sc-102d2aw-7"
34
- })(["", ""], () => css(["", ";"], small));
34
+ })(["display:block;", ""], () => css(["", ";"], small));
35
35
  const XSmallParagraph = /* @__PURE__ */ styled.span.withConfig({
36
36
  displayName: "CommonElements__XSmallParagraph",
37
37
  componentId: "sc-102d2aw-8"
38
- })(["", ""], () => css(["", ";"], xsmall));
38
+ })(["display:block;", ""], () => css(["", ";"], xsmall));
39
39
  const H1 = /* @__PURE__ */ styled.h1.withConfig({
40
40
  displayName: "CommonElements__H1",
41
41
  componentId: "sc-102d2aw-9"
42
- })(["", " ", ""], () => css(["", ";"], h700), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
42
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h700), (props) => props.withoutMargin ? "0" : "0.5em");
43
43
  const H2 = /* @__PURE__ */ styled.h2.withConfig({
44
44
  displayName: "CommonElements__H2",
45
45
  componentId: "sc-102d2aw-10"
46
- })(["", " ", ""], () => css(["", ";"], h600), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
46
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h600), (props) => props.withoutMargin ? "0" : "0.5em");
47
47
  const H3 = /* @__PURE__ */ styled.h3.withConfig({
48
48
  displayName: "CommonElements__H3",
49
49
  componentId: "sc-102d2aw-11"
50
- })(["", " ", ""], () => css(["", ";"], h500), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
50
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h500), (props) => props.withoutMargin ? "0" : "0.5em");
51
51
  const H4 = /* @__PURE__ */ styled.h4.withConfig({
52
52
  displayName: "CommonElements__H4",
53
53
  componentId: "sc-102d2aw-12"
54
- })(["", " ", ""], () => css(["", ";"], h400), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
54
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h400), (props) => props.withoutMargin ? "0" : "0.5em");
55
55
  const H5 = /* @__PURE__ */ styled.h5.withConfig({
56
56
  displayName: "CommonElements__H5",
57
57
  componentId: "sc-102d2aw-13"
58
- })(["", " ", ""], () => css(["", ";"], h300), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
58
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h300), (props) => props.withoutMargin ? "0" : "0.5em");
59
59
  const H6 = /* @__PURE__ */ styled.h6.withConfig({
60
60
  displayName: "CommonElements__H6",
61
61
  componentId: "sc-102d2aw-14"
62
- })(["", " ", ""], () => css(["", ";"], h200), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
62
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h200), (props) => props.withoutMargin ? "0" : "0.5em");
63
63
  const H7 = /* @__PURE__ */ styled.h6.withConfig({
64
64
  displayName: "CommonElements__H7",
65
65
  componentId: "sc-102d2aw-15"
66
- })(["", " ", ""], () => css(["", ";"], h100), (props) => props.withoutMargin && css(["margin-bottom:0;"]));
66
+ })(["", " margin-bottom:", ";"], () => css(["", ";"], h100), (props) => props.withoutMargin ? "0" : "0.5em");
67
67
  const EllipsisText = /* @__PURE__ */ styled.div.withConfig({
68
68
  displayName: "CommonElements__EllipsisText",
69
69
  componentId: "sc-102d2aw-16"
@@ -1,10 +1,11 @@
1
1
  import { default as React, CSSProperties, ReactNode } from 'react';
2
2
  import { TooltipProps } from '@synerise/ds-tooltip';
3
- export type EllipsisProps = {
3
+ import { DataAttributes } from '@synerise/ds-utils';
4
+ export type EllipsisProps = DataAttributes & {
4
5
  tooltip?: ReactNode;
5
6
  tooltipProps?: TooltipProps;
6
7
  children?: ReactNode;
7
8
  className?: string;
8
9
  style?: CSSProperties;
9
10
  };
10
- export declare const Ellipsis: ({ tooltip, children, className, tooltipProps, style, }: EllipsisProps) => React.JSX.Element;
11
+ export declare const Ellipsis: ({ tooltip, children, className, tooltipProps, style, ...dataAttributes }: EllipsisProps) => React.JSX.Element;
package/dist/Ellipsis.js CHANGED
@@ -8,7 +8,8 @@ const Ellipsis = ({
8
8
  children,
9
9
  className,
10
10
  tooltipProps,
11
- style
11
+ style,
12
+ ...dataAttributes
12
13
  }) => {
13
14
  const textComponentRef = useRef(null);
14
15
  const [truncated, setTruncated] = useState(false);
@@ -31,7 +32,7 @@ const Ellipsis = ({
31
32
  debouncedResize.cancel();
32
33
  };
33
34
  }, [resizeObserver, debouncedResize]);
34
- return /* @__PURE__ */ jsx(Tooltip, { title: truncated ? tooltip : void 0, ...truncated ? tooltipProps : {}, children: /* @__PURE__ */ jsx(EllipsisText, { style, className, ref: textComponentRef, children }) });
35
+ return /* @__PURE__ */ jsx(Tooltip, { title: truncated ? tooltip : void 0, ...truncated ? tooltipProps : {}, children: /* @__PURE__ */ jsx(EllipsisText, { ...dataAttributes, style, className, ref: textComponentRef, children }) });
35
36
  };
36
37
  export {
37
38
  Ellipsis
@@ -1,7 +1,10 @@
1
- import { default as React, ReactNode } from 'react';
2
- type TextProps = {
1
+ import { default as React, CSSProperties, ReactNode } from 'react';
2
+ import { DataAttributes } from '@synerise/ds-utils';
3
+ type ParagraphProps = DataAttributes & {
3
4
  size?: 'medium' | 'small' | 'xsmall';
4
5
  children?: ReactNode;
6
+ className?: string;
7
+ style?: CSSProperties;
5
8
  };
6
- export declare const Paragraph: ({ size, children }: TextProps) => React.JSX.Element;
9
+ export declare const Paragraph: ({ size, children, className, style, ...dataAttributes }: ParagraphProps) => React.JSX.Element;
7
10
  export {};
package/dist/Paragraph.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import classNames from "classnames";
2
3
  import { XSmallParagraph, SmallParagraph, MediumParagraph } from "./CommonElements.js";
3
4
  const MapSizeToComponent = {
4
5
  medium: MediumParagraph,
@@ -7,10 +8,13 @@ const MapSizeToComponent = {
7
8
  };
8
9
  const Paragraph = ({
9
10
  size = "medium",
10
- children
11
+ children,
12
+ className,
13
+ style,
14
+ ...dataAttributes
11
15
  }) => {
12
16
  const Component = MapSizeToComponent[size];
13
- return /* @__PURE__ */ jsx(Component, { className: "ds-paragraph", children });
17
+ return /* @__PURE__ */ jsx(Component, { ...dataAttributes, className: classNames("ds-paragraph", className), style, children });
14
18
  };
15
19
  export {
16
20
  Paragraph
package/dist/Text.d.ts CHANGED
@@ -1,12 +1,15 @@
1
1
  import { default as React, CSSProperties, ReactNode } from 'react';
2
+ import { DataAttributes } from '@synerise/ds-utils';
2
3
  import { EllipsisProps } from './Ellipsis';
3
4
  export type TextSize = 'medium' | 'small' | 'xsmall';
4
- type TextProps = {
5
+ type TextProps = DataAttributes & {
5
6
  size?: TextSize;
6
7
  ellipsis?: EllipsisProps;
7
8
  children?: ReactNode;
8
9
  className?: string;
9
10
  style?: CSSProperties;
11
+ /** Renders the text with a heavier (500) weight. */
12
+ strong?: boolean;
10
13
  };
11
- export declare const Text: ({ size, className, children, ellipsis, style, }: TextProps) => React.JSX.Element;
14
+ export declare const Text: ({ size, className, children, ellipsis, style, strong, ...dataAttributes }: TextProps) => React.JSX.Element;
12
15
  export default Text;
package/dist/Text.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import classNames from "classnames";
2
3
  import { XSmallText, SmallText, MediumText } from "./CommonElements.js";
3
4
  import { Ellipsis } from "./Ellipsis.js";
4
- import "./style/index.css";
5
5
  const MapSizeToComponent = {
6
6
  medium: MediumText,
7
7
  small: SmallText,
@@ -12,15 +12,21 @@ const Text = ({
12
12
  className,
13
13
  children,
14
14
  ellipsis,
15
- style
15
+ style,
16
+ strong,
17
+ ...dataAttributes
16
18
  }) => {
17
19
  const Component = MapSizeToComponent[size];
18
- const textClassNames = `ds-text ${!ellipsis && className}`;
19
- const content = /* @__PURE__ */ jsx(Component, { className: textClassNames, children });
20
+ const mergedStyle = strong ? {
21
+ fontWeight: 500,
22
+ ...style
23
+ } : style;
20
24
  if (ellipsis === void 0) {
21
- return content;
25
+ return /* @__PURE__ */ jsx(Component, { ...dataAttributes, className: classNames("ds-text", className), style: mergedStyle, children });
22
26
  }
23
- return /* @__PURE__ */ jsx(Ellipsis, { className, style, ...ellipsis, children: content });
27
+ return /* @__PURE__ */ jsx(Ellipsis, { ...dataAttributes, className, style, ...ellipsis, children: /* @__PURE__ */ jsx(Component, { className: "ds-text", style: strong ? {
28
+ fontWeight: 500
29
+ } : void 0, children }) });
24
30
  };
25
31
  export {
26
32
  Text,
package/dist/Title.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { default as React } from 'react';
2
2
  import { Props } from './Title.types';
3
- declare const Title: ({ level, withoutMargin, children, className, ellipsis, ...antdProps }: Props) => React.JSX.Element;
3
+ declare const Title: ({ level, withoutMargin, children, className, ellipsis, ...rest }: Props) => React.JSX.Element;
4
4
  export default Title;
package/dist/Title.js CHANGED
@@ -17,11 +17,11 @@ const Title = ({
17
17
  children,
18
18
  className,
19
19
  ellipsis,
20
- ...antdProps
20
+ ...rest
21
21
  }) => {
22
22
  const TitleElement = StyledElements[level];
23
23
  const elementClassName = classNames("ds-title", className);
24
- const content = /* @__PURE__ */ jsx(TitleElement, { ...antdProps, className: elementClassName, withoutMargin: Boolean(withoutMargin), children });
24
+ const content = /* @__PURE__ */ jsx(TitleElement, { ...rest, className: elementClassName, withoutMargin: Boolean(withoutMargin), children });
25
25
  if (ellipsis === void 0) {
26
26
  return content;
27
27
  }
@@ -1,6 +1,7 @@
1
- import { TitleProps } from 'antd/es/typography/Title';
1
+ import { HTMLAttributes } from 'react';
2
+ import { DataAttributes } from '@synerise/ds-utils';
2
3
  import { EllipsisProps } from './Ellipsis';
3
- export type Props = Omit<TitleProps, 'level' | 'ellipsis'> & {
4
+ export type Props = HTMLAttributes<HTMLHeadingElement> & DataAttributes & {
4
5
  level: 1 | 2 | 3 | 4 | 5 | 6 | 7;
5
6
  withoutMargin?: boolean;
6
7
  ellipsis?: EllipsisProps;
@@ -1 +1,24 @@
1
- export { Typography as default } from 'antd';
1
+ /**
2
+ * DS-native replacement for antd's `Typography` namespace (the former default export).
3
+ * `Title` / `Text` / `Paragraph` are the DS-implemented components — no antd, no duplication.
4
+ * antd-only members (`Link`, `copyable`, `editable`, …) are intentionally dropped: a repo-wide
5
+ * audit found zero usages across portal-ui-bridge, portal-next and universal-list.
6
+ */
7
+ declare const Typography: {
8
+ Title: ({ level, withoutMargin, children, className, ellipsis, ...rest }: import('./Title.types').Props) => import("react").JSX.Element;
9
+ Text: ({ size, className, children, ellipsis, style, strong, ...dataAttributes }: import('@synerise/ds-utils').DataAttributes & {
10
+ size?: import('./Text').TextSize;
11
+ ellipsis?: import('./Ellipsis').EllipsisProps;
12
+ children?: import('react').ReactNode;
13
+ className?: string;
14
+ style?: import('react').CSSProperties;
15
+ strong?: boolean;
16
+ }) => import("react").JSX.Element;
17
+ Paragraph: ({ size, children, className, style, ...dataAttributes }: import('@synerise/ds-utils').DataAttributes & {
18
+ size?: "medium" | "small" | "xsmall";
19
+ children?: import('react').ReactNode;
20
+ className?: string;
21
+ style?: import('react').CSSProperties;
22
+ }) => import("react").JSX.Element;
23
+ };
24
+ export default Typography;
@@ -1,4 +1,11 @@
1
- import { Typography } from "antd";
1
+ import { Paragraph } from "./Paragraph.js";
2
+ import { Text } from "./Text.js";
3
+ import Title from "./Title.js";
4
+ const Typography = {
5
+ Title,
6
+ Text,
7
+ Paragraph
8
+ };
2
9
  export {
3
10
  Typography as default
4
11
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { Typography as default } from 'antd';
1
+ export { default } from './Typography';
2
2
  export { Description, ErrorText, Label } from './CommonElements';
3
3
  export { default as Title } from './Title';
4
4
  export * from './Text';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Typography } from "antd";
1
+ import { default as default2 } from "./Typography.js";
2
2
  import { Description, ErrorText, Label } from "./CommonElements.js";
3
- import { default as default2 } from "./Title.js";
3
+ import { default as default3 } from "./Title.js";
4
4
  import { Text } from "./Text.js";
5
5
  import { Paragraph } from "./Paragraph.js";
6
6
  import * as style_macroUtils from "./style/macro-utils.js";
@@ -10,7 +10,7 @@ export {
10
10
  Label,
11
11
  Paragraph,
12
12
  Text,
13
- default2 as Title,
14
- Typography as default,
13
+ default3 as Title,
14
+ default2 as default,
15
15
  style_macroUtils as macro
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-typography",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "Typography UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -41,7 +41,8 @@
41
41
  ],
42
42
  "types": "dist/index.d.ts",
43
43
  "dependencies": {
44
- "@synerise/ds-tooltip": "^1.5.2",
44
+ "@synerise/ds-tooltip": "^1.5.3",
45
+ "@synerise/ds-utils": "^1.10.1",
45
46
  "classnames": "^2.5.1",
46
47
  "lodash.debounce": "^4.0.8"
47
48
  },
@@ -50,10 +51,9 @@
50
51
  },
51
52
  "peerDependencies": {
52
53
  "@synerise/ds-core": "*",
53
- "antd": "4.24.16",
54
54
  "react": ">=16.9.0 <= 18.3.1",
55
55
  "styled-components": "^5.3.3",
56
56
  "vitest": "4"
57
57
  },
58
- "gitHead": "fe3379f50afdce6d8c61a2222ebbf03324107c95"
58
+ "gitHead": "d8c64070f58f14e3fb1bfbcbf00d1e3b8fd51eb8"
59
59
  }
File without changes
@@ -1 +0,0 @@
1
- .ant-typography{color:#6a7580;word-break:break-word}.ant-typography.ant-typography-secondary{color:#232936}.ant-typography.ant-typography-success{color:#54cb0b}.ant-typography.ant-typography-warning{color:#fab700}.ant-typography.ant-typography-danger{color:#f52922}a.ant-typography.ant-typography-danger:active,a.ant-typography.ant-typography-danger:focus{color:#cf1313}a.ant-typography.ant-typography-danger:hover{color:#ff584d}.ant-typography.ant-typography-disabled{color:#b5bdc3;cursor:not-allowed;user-select:none}.ant-typography p,div.ant-typography{margin-bottom:1em}.ant-typography h1,div.ant-typography-h1,div.ant-typography-h1>textarea,h1.ant-typography{margin-bottom:.5em;color:#384350;font-weight:500;font-size:24px;line-height:1.23}.ant-typography h2,div.ant-typography-h2,div.ant-typography-h2>textarea,h2.ant-typography{margin-bottom:.5em;color:#384350;font-weight:500;font-size:21px;line-height:1.35}.ant-typography h3,div.ant-typography-h3,div.ant-typography-h3>textarea,h3.ant-typography{margin-bottom:.5em;color:#384350;font-weight:500;font-size:18px;line-height:1.35}.ant-typography h4,div.ant-typography-h4,div.ant-typography-h4>textarea,h4.ant-typography{margin-bottom:.5em;color:#384350;font-weight:500;font-size:16px;line-height:1.4}.ant-typography h5,div.ant-typography-h5,div.ant-typography-h5>textarea,h5.ant-typography{margin-bottom:.5em;color:#384350;font-weight:500;font-size:15px;line-height:1.5}.ant-typography+h1.ant-typography,.ant-typography+h2.ant-typography,.ant-typography+h3.ant-typography,.ant-typography+h4.ant-typography,.ant-typography+h5.ant-typography{margin-top:1.2em}.ant-typography div+h1,.ant-typography div+h2,.ant-typography div+h3,.ant-typography div+h4,.ant-typography div+h5,.ant-typography h1+h1,.ant-typography h1+h2,.ant-typography h1+h3,.ant-typography h1+h4,.ant-typography h1+h5,.ant-typography h2+h1,.ant-typography h2+h2,.ant-typography h2+h3,.ant-typography h2+h4,.ant-typography h2+h5,.ant-typography h3+h1,.ant-typography h3+h2,.ant-typography h3+h3,.ant-typography h3+h4,.ant-typography h3+h5,.ant-typography h4+h1,.ant-typography h4+h2,.ant-typography h4+h3,.ant-typography h4+h4,.ant-typography h4+h5,.ant-typography h5+h1,.ant-typography h5+h2,.ant-typography h5+h3,.ant-typography h5+h4,.ant-typography h5+h5,.ant-typography li+h1,.ant-typography li+h2,.ant-typography li+h3,.ant-typography li+h4,.ant-typography li+h5,.ant-typography p+h1,.ant-typography p+h2,.ant-typography p+h3,.ant-typography p+h4,.ant-typography p+h5,.ant-typography ul+h1,.ant-typography ul+h2,.ant-typography ul+h3,.ant-typography ul+h4,.ant-typography ul+h5{margin-top:1.2em}a.ant-typography-ellipsis,span.ant-typography-ellipsis{display:inline-block;max-width:100%}.ant-typography a,a.ant-typography{color:#0b68ff;outline:0;cursor:pointer;transition:color .3s;text-decoration:none}.ant-typography a:focus-visible,.ant-typography a:hover,a.ant-typography:focus-visible,a.ant-typography:hover{color:#238afe}.ant-typography a:active,a.ant-typography:active{color:#0b68ff}.ant-typography a:active,.ant-typography a:hover,a.ant-typography:active,a.ant-typography:hover{text-decoration:underline}.ant-typography a.ant-typography-disabled,.ant-typography a[disabled],a.ant-typography.ant-typography-disabled,a.ant-typography[disabled]{color:#b5bdc3;cursor:not-allowed}.ant-typography a.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:hover,.ant-typography a[disabled]:active,.ant-typography a[disabled]:hover,a.ant-typography.ant-typography-disabled:active,a.ant-typography.ant-typography-disabled:hover,a.ant-typography[disabled]:active,a.ant-typography[disabled]:hover{color:#b5bdc3}.ant-typography a.ant-typography-disabled:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,a.ant-typography[disabled]:active{pointer-events:none}.ant-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:rgba(150,150,150,.1);border:1px solid rgba(100,100,100,.2);border-radius:3px}.ant-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:rgba(150,150,150,.06);border:1px solid rgba(100,100,100,.2);border-bottom-width:2px;border-radius:3px}.ant-typography mark{padding:0;background-color:#ffe58f}.ant-typography ins,.ant-typography u{text-decoration:underline;text-decoration-skip-ink:auto}.ant-typography del,.ant-typography s{text-decoration:line-through}.ant-typography strong{font-weight:600}.ant-typography-copy,.ant-typography-edit,.ant-typography-expand{color:#0b68ff;outline:0;cursor:pointer;transition:color .3s;margin-left:4px}.ant-typography-copy:focus-visible,.ant-typography-copy:hover,.ant-typography-edit:focus-visible,.ant-typography-edit:hover,.ant-typography-expand:focus-visible,.ant-typography-expand:hover{color:#238afe}.ant-typography-copy:active,.ant-typography-edit:active,.ant-typography-expand:active{color:#0b68ff}.ant-typography-copy-success,.ant-typography-copy-success:focus,.ant-typography-copy-success:hover{color:#54cb0b}.ant-typography-edit-content{position:relative}div.ant-typography-edit-content{left:-16px;margin-top:-5px;margin-bottom:calc(1em - 4px - 1px)}.ant-typography-edit-content-confirm{position:absolute;right:10px;bottom:8px;color:#232936;font-weight:400;font-size:13px;font-style:normal;pointer-events:none}.ant-typography-edit-content textarea{height:1em;margin:0!important;-moz-transition:none}.ant-typography ol,.ant-typography ul{margin:0 0 1em;padding:0}.ant-typography ol li,.ant-typography ul li{margin:0 0 0 20px;padding:0 0 0 4px}.ant-typography ul{list-style-type:circle}.ant-typography ul ul{list-style-type:disc}.ant-typography ol{list-style-type:decimal}.ant-typography blockquote,.ant-typography pre{margin:1em 0}.ant-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:rgba(150,150,150,.1);border:1px solid rgba(100,100,100,.2);border-radius:3px}.ant-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:0 0;border:0}.ant-typography blockquote{padding:0 0 0 .6em;border-left:4px solid rgba(100,100,100,.2);opacity:.85}.ant-typography-single-line{white-space:nowrap}.ant-typography-ellipsis-single-line{overflow:hidden;text-overflow:ellipsis}a.ant-typography-ellipsis-single-line,span.ant-typography-ellipsis-single-line{vertical-align:bottom}.ant-typography-ellipsis-multiple-line{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;/*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-16px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}