@dynatrace/strato-components 0.84.31 → 0.84.42

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 (214) hide show
  1. package/core/components/app-root/AppRoot.d.ts +2 -2
  2. package/core/hooks/useFontsUpdated.d.ts +9 -0
  3. package/core/hooks/useFontsUpdated.js +51 -0
  4. package/core/hooks/useMergeRefs.d.ts +7 -0
  5. package/core/hooks/useMergeRefs.js +34 -0
  6. package/core/index.d.ts +4 -0
  7. package/core/styles/focusRing.css +88 -0
  8. package/core/styles/focusRing.sty.d.ts +96 -0
  9. package/core/styles/focusRing.sty.js +27 -0
  10. package/core/styles/useFocusRing.d.ts +49 -0
  11. package/core/styles/useFocusRing.js +83 -0
  12. package/core/types/a11y-props.d.ts +19 -0
  13. package/core/types/a11y-props.js +15 -0
  14. package/core/types/dom.d.ts +19 -0
  15. package/core/types/dom.js +15 -0
  16. package/core/types/focusable-element.d.ts +5 -0
  17. package/core/types/focusable-element.js +15 -0
  18. package/core/types/heading.d.ts +9 -0
  19. package/core/types/heading.js +15 -0
  20. package/core/types/polymorph.d.ts +25 -0
  21. package/core/types/polymorph.js +15 -0
  22. package/core/utils/colorUtils.css +80 -0
  23. package/core/utils/colorUtils.sty.d.ts +48 -0
  24. package/core/utils/colorUtils.sty.js +27 -0
  25. package/esm/core/hooks/useFontsUpdated.js +33 -0
  26. package/esm/core/hooks/useFontsUpdated.js.map +7 -0
  27. package/esm/core/hooks/useMergeRefs.js +16 -0
  28. package/esm/core/hooks/useMergeRefs.js.map +7 -0
  29. package/esm/core/index.js.map +1 -1
  30. package/esm/core/styles/focusRing.css +88 -0
  31. package/esm/core/styles/focusRing.sty.js +9 -0
  32. package/esm/core/styles/focusRing.sty.js.map +7 -0
  33. package/esm/core/styles/useFocusRing.js +69 -0
  34. package/esm/core/styles/useFocusRing.js.map +7 -0
  35. package/esm/core/types/a11y-props.js +1 -0
  36. package/esm/core/types/a11y-props.js.map +7 -0
  37. package/esm/core/types/dom.js +1 -0
  38. package/esm/core/types/dom.js.map +7 -0
  39. package/esm/core/types/focusable-element.js +1 -0
  40. package/esm/core/types/focusable-element.js.map +7 -0
  41. package/esm/core/types/heading.js +1 -0
  42. package/esm/core/types/heading.js.map +7 -0
  43. package/esm/core/types/polymorph.js +1 -0
  44. package/esm/core/types/polymorph.js.map +7 -0
  45. package/esm/core/utils/colorUtils.css +80 -0
  46. package/esm/core/utils/colorUtils.sty.js +9 -0
  47. package/esm/core/utils/colorUtils.sty.js.map +7 -0
  48. package/esm/index.js +2 -0
  49. package/esm/index.js.map +2 -2
  50. package/esm/layouts/Divider/Divider.css +23 -0
  51. package/esm/layouts/Divider/Divider.js +39 -0
  52. package/esm/layouts/Divider/Divider.js.map +7 -0
  53. package/esm/layouts/Divider/Divider.sty.js +8 -0
  54. package/esm/layouts/Divider/Divider.sty.js.map +7 -0
  55. package/esm/layouts/index.js +5 -0
  56. package/esm/layouts/index.js.map +7 -0
  57. package/esm/styles/textStyle.css +64 -0
  58. package/esm/styles/textStyle.sty.js +7 -0
  59. package/esm/styles/textStyle.sty.js.map +7 -0
  60. package/esm/typography/BlockQuote/Blockquote.css +17 -0
  61. package/esm/typography/BlockQuote/Blockquote.js +34 -0
  62. package/esm/typography/BlockQuote/Blockquote.js.map +7 -0
  63. package/esm/typography/BlockQuote/Blockquote.sty.js +6 -0
  64. package/esm/typography/BlockQuote/Blockquote.sty.js.map +7 -0
  65. package/esm/typography/Code/Code.css +16 -0
  66. package/esm/typography/Code/Code.js +34 -0
  67. package/esm/typography/Code/Code.js.map +7 -0
  68. package/esm/typography/Code/Code.sty.js +6 -0
  69. package/esm/typography/Code/Code.sty.js.map +7 -0
  70. package/esm/typography/Emphasis/Emphasis.css +4 -0
  71. package/esm/typography/Emphasis/Emphasis.js +34 -0
  72. package/esm/typography/Emphasis/Emphasis.js.map +7 -0
  73. package/esm/typography/Emphasis/Emphasis.sty.js +6 -0
  74. package/esm/typography/Emphasis/Emphasis.sty.js.map +7 -0
  75. package/esm/typography/ExternalLink/ExternalLink.css +28 -0
  76. package/esm/typography/ExternalLink/ExternalLink.js +56 -0
  77. package/esm/typography/ExternalLink/ExternalLink.js.map +7 -0
  78. package/esm/typography/ExternalLink/ExternalLink.sty.js +6 -0
  79. package/esm/typography/ExternalLink/ExternalLink.sty.js.map +7 -0
  80. package/esm/typography/Heading/Heading.css +54 -0
  81. package/esm/typography/Heading/Heading.js +36 -0
  82. package/esm/typography/Heading/Heading.js.map +7 -0
  83. package/esm/typography/Heading/Heading.sty.js +7 -0
  84. package/esm/typography/Heading/Heading.sty.js.map +7 -0
  85. package/esm/typography/Highlight/Highlight.css +4 -0
  86. package/esm/typography/Highlight/Highlight.js +111 -0
  87. package/esm/typography/Highlight/Highlight.js.map +7 -0
  88. package/esm/typography/Highlight/Highlight.sty.js +6 -0
  89. package/esm/typography/Highlight/Highlight.sty.js.map +7 -0
  90. package/esm/typography/Link/Link.css +15 -0
  91. package/esm/typography/Link/Link.js +49 -0
  92. package/esm/typography/Link/Link.js.map +7 -0
  93. package/esm/typography/Link/Link.sty.js +6 -0
  94. package/esm/typography/Link/Link.sty.js.map +7 -0
  95. package/esm/typography/List/List.css +16 -0
  96. package/esm/typography/List/List.js +81 -0
  97. package/esm/typography/List/List.js.map +7 -0
  98. package/esm/typography/List/List.sty.js +8 -0
  99. package/esm/typography/List/List.sty.js.map +7 -0
  100. package/esm/typography/Paragraph/Paragraph.css +19 -0
  101. package/esm/typography/Paragraph/Paragraph.js +49 -0
  102. package/esm/typography/Paragraph/Paragraph.js.map +7 -0
  103. package/esm/typography/Paragraph/Paragraph.sty.js +7 -0
  104. package/esm/typography/Paragraph/Paragraph.sty.js.map +7 -0
  105. package/esm/typography/Strikethrough/Strikethrough.css +5 -0
  106. package/esm/typography/Strikethrough/Strikethrough.js +32 -0
  107. package/esm/typography/Strikethrough/Strikethrough.js.map +7 -0
  108. package/esm/typography/Strikethrough/Strikethrough.sty.js +6 -0
  109. package/esm/typography/Strikethrough/Strikethrough.sty.js.map +7 -0
  110. package/esm/typography/Strong/Strong.css +4 -0
  111. package/esm/typography/Strong/Strong.js +34 -0
  112. package/esm/typography/Strong/Strong.js.map +7 -0
  113. package/esm/typography/Strong/Strong.sty.js +6 -0
  114. package/esm/typography/Strong/Strong.sty.js.map +7 -0
  115. package/esm/typography/Text/Text.css +18 -0
  116. package/esm/typography/Text/Text.js +43 -0
  117. package/esm/typography/Text/Text.js.map +7 -0
  118. package/esm/typography/Text/Text.sty.js +7 -0
  119. package/esm/typography/Text/Text.sty.js.map +7 -0
  120. package/esm/typography/TextEllipsis/TextEllipsis.css +22 -0
  121. package/esm/typography/TextEllipsis/TextEllipsis.js +143 -0
  122. package/esm/typography/TextEllipsis/TextEllipsis.js.map +7 -0
  123. package/esm/typography/TextEllipsis/TextEllipsis.sty.js +7 -0
  124. package/esm/typography/TextEllipsis/TextEllipsis.sty.js.map +7 -0
  125. package/esm/typography/index.js +43 -0
  126. package/esm/typography/index.js.map +7 -0
  127. package/esm/typography/utils.js +101 -0
  128. package/esm/typography/utils.js.map +7 -0
  129. package/index.d.ts +2 -0
  130. package/index.js +2 -0
  131. package/lang/en.json +6 -0
  132. package/lang/uncompiled/en.json +6 -1
  133. package/layouts/Divider/Divider.css +23 -0
  134. package/layouts/Divider/Divider.d.ts +39 -0
  135. package/layouts/Divider/Divider.js +67 -0
  136. package/layouts/Divider/Divider.sty.d.ts +16 -0
  137. package/layouts/Divider/Divider.sty.js +26 -0
  138. package/layouts/index.d.ts +2 -0
  139. package/layouts/index.js +23 -0
  140. package/package.json +17 -2
  141. package/styles/textStyle.css +64 -0
  142. package/styles/textStyle.sty.d.ts +12 -0
  143. package/styles/textStyle.sty.js +25 -0
  144. package/testing/mocks/text-ellipsis-mock.d.ts +1 -1
  145. package/testing/mocks/text-ellipsis-mock.js +8 -3
  146. package/typography/BlockQuote/Blockquote.css +17 -0
  147. package/typography/BlockQuote/Blockquote.d.ts +19 -0
  148. package/typography/BlockQuote/Blockquote.js +62 -0
  149. package/typography/BlockQuote/Blockquote.sty.d.ts +1 -0
  150. package/typography/BlockQuote/Blockquote.sty.js +24 -0
  151. package/typography/Code/Code.css +16 -0
  152. package/typography/Code/Code.d.ts +17 -0
  153. package/typography/Code/Code.js +62 -0
  154. package/typography/Code/Code.sty.d.ts +1 -0
  155. package/typography/Code/Code.sty.js +24 -0
  156. package/typography/Emphasis/Emphasis.css +4 -0
  157. package/typography/Emphasis/Emphasis.d.ts +14 -0
  158. package/typography/Emphasis/Emphasis.js +62 -0
  159. package/typography/Emphasis/Emphasis.sty.d.ts +1 -0
  160. package/typography/Emphasis/Emphasis.sty.js +24 -0
  161. package/typography/ExternalLink/ExternalLink.css +28 -0
  162. package/typography/ExternalLink/ExternalLink.d.ts +21 -0
  163. package/typography/ExternalLink/ExternalLink.js +82 -0
  164. package/typography/ExternalLink/ExternalLink.sty.d.ts +1 -0
  165. package/typography/ExternalLink/ExternalLink.sty.js +24 -0
  166. package/typography/Heading/Heading.css +54 -0
  167. package/typography/Heading/Heading.d.ts +24 -0
  168. package/typography/Heading/Heading.js +64 -0
  169. package/typography/Heading/Heading.sty.d.ts +52 -0
  170. package/typography/Heading/Heading.sty.js +25 -0
  171. package/typography/Highlight/Highlight.css +4 -0
  172. package/typography/Highlight/Highlight.d.ts +27 -0
  173. package/typography/Highlight/Highlight.js +139 -0
  174. package/typography/Highlight/Highlight.sty.d.ts +1 -0
  175. package/typography/Highlight/Highlight.sty.js +24 -0
  176. package/typography/Link/Link.css +15 -0
  177. package/typography/Link/Link.d.ts +17 -0
  178. package/typography/Link/Link.js +75 -0
  179. package/typography/Link/Link.sty.d.ts +1 -0
  180. package/typography/Link/Link.sty.js +24 -0
  181. package/typography/List/List.css +16 -0
  182. package/typography/List/List.d.ts +39 -0
  183. package/typography/List/List.js +109 -0
  184. package/typography/List/List.sty.d.ts +2 -0
  185. package/typography/List/List.sty.js +26 -0
  186. package/typography/Paragraph/Paragraph.css +19 -0
  187. package/typography/Paragraph/Paragraph.d.ts +19 -0
  188. package/typography/Paragraph/Paragraph.js +77 -0
  189. package/typography/Paragraph/Paragraph.sty.d.ts +16 -0
  190. package/typography/Paragraph/Paragraph.sty.js +25 -0
  191. package/typography/Strikethrough/Strikethrough.css +5 -0
  192. package/typography/Strikethrough/Strikethrough.d.ts +15 -0
  193. package/typography/Strikethrough/Strikethrough.js +60 -0
  194. package/typography/Strikethrough/Strikethrough.sty.d.ts +1 -0
  195. package/typography/Strikethrough/Strikethrough.sty.js +24 -0
  196. package/typography/Strong/Strong.css +4 -0
  197. package/typography/Strong/Strong.d.ts +14 -0
  198. package/typography/Strong/Strong.js +62 -0
  199. package/typography/Strong/Strong.sty.d.ts +1 -0
  200. package/typography/Strong/Strong.sty.js +24 -0
  201. package/typography/Text/Text.css +18 -0
  202. package/typography/Text/Text.d.ts +26 -0
  203. package/typography/Text/Text.js +71 -0
  204. package/typography/Text/Text.sty.d.ts +16 -0
  205. package/typography/Text/Text.sty.js +25 -0
  206. package/typography/TextEllipsis/TextEllipsis.css +22 -0
  207. package/typography/TextEllipsis/TextEllipsis.d.ts +32 -0
  208. package/typography/TextEllipsis/TextEllipsis.js +167 -0
  209. package/typography/TextEllipsis/TextEllipsis.sty.d.ts +15 -0
  210. package/typography/TextEllipsis/TextEllipsis.sty.js +25 -0
  211. package/typography/index.d.ts +28 -0
  212. package/typography/index.js +54 -0
  213. package/typography/utils.d.ts +52 -0
  214. package/typography/utils.js +119 -0
@@ -0,0 +1,23 @@
1
+ .Divider_dividerCSS__1ljcfp90 {
2
+ border: none;
3
+ margin: 0;
4
+ overflow-wrap: break-word;
5
+ background-color: var(--vars_borderColor__k096v42);
6
+ }
7
+ .Divider_dividerCSS_orientation_horizontal__1ljcfp91 {
8
+ width: 100%;
9
+ height: var(--dt-borders-width-default, 1px);
10
+ }
11
+ .Divider_dividerCSS_orientation_vertical__1ljcfp92 {
12
+ width: var(--dt-borders-width-default, 1px);
13
+ height: 100%;
14
+ }
15
+ .Divider_dividerCSS_compound_0__1ljcfp95 {
16
+ flex-shrink: 0;
17
+ }
18
+ .Divider_dividerCSS_compound_1__1ljcfp96 {
19
+ flex-shrink: 0;
20
+ width: var(--dt-borders-width-default, 1px);
21
+ height: auto;
22
+ align-self: stretch;
23
+ }
@@ -0,0 +1,39 @@
1
+ import clsx from "clsx";
2
+ import React, { forwardRef } from "react";
3
+ import { dividerCSS } from "./Divider.sty.js";
4
+ import { colorUtilsCSS } from "../../core/utils/colorUtils.sty.js";
5
+ const Divider = /* @__PURE__ */ forwardRef((props, ref) => {
6
+ const {
7
+ orientation = "horizontal",
8
+ flexItem = true,
9
+ as = "div",
10
+ color = "neutral",
11
+ variant = "default",
12
+ "data-testid": dataTestId,
13
+ className: consumerClassName,
14
+ style: consumerStyle,
15
+ ...remainingProps
16
+ } = props;
17
+ const DividerTag = as;
18
+ return /* @__PURE__ */ React.createElement(
19
+ DividerTag,
20
+ {
21
+ role: "separator",
22
+ "aria-orientation": orientation === "vertical" ? orientation : void 0,
23
+ ref,
24
+ "data-testid": dataTestId,
25
+ className: clsx(
26
+ colorUtilsCSS({ color, variant }),
27
+ dividerCSS({ orientation, flexItem }),
28
+ consumerClassName
29
+ ),
30
+ style: consumerStyle,
31
+ ...remainingProps
32
+ }
33
+ );
34
+ });
35
+ Divider.displayName = "Divider";
36
+ export {
37
+ Divider
38
+ };
39
+ //# sourceMappingURL=Divider.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/layouts/Divider/Divider.tsx"],
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport React, { forwardRef } from 'react';\n\nimport { dividerCSS } from './Divider.sty.js';\nimport { type DataTestId } from '../../core/types/data-props.js';\nimport { type StylingProps } from '../../core/types/styling-props.js';\nimport { colorUtilsCSS } from '../../core/utils/colorUtils.sty.js';\n\n// #region Typings\n\n/** @public\n * Divider component props.\n */\nexport interface DividerProps extends StylingProps, DataTestId {\n /**\n * Orientation of the Divider component.\n * @defaultValue 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical';\n /**\n * Control the HTML tag used for rendering the Divider.\n * @defaultValue 'div'\n */\n as?: 'hr' | 'div';\n /**\n * Indicate whether the Divider is used inside a Flex component to apply the right styling.\n * If set to false, make sure to have an explicit width/height style set on a parent HTML tag.\n * @defaultValue true\n */\n flexItem?: boolean;\n /**\n * The color of the Divider.\n * @defaultValue 'neutral'\n */\n color?: 'primary' | 'neutral' | 'success' | 'warning' | 'critical';\n /**\n * The visual style of the Divider.\n * @defaultValue 'default'\n */\n variant?: 'default' | 'accent';\n}\n// #endregion\n\n/**\n * The `Divider` component visually separates groups of content.\n * @public\n */\nexport const Divider = /* @__PURE__ */ forwardRef<\n HTMLDivElement | HTMLHRElement,\n DividerProps\n>((props, ref) => {\n const {\n orientation = 'horizontal',\n flexItem = true,\n as = 'div',\n color = 'neutral',\n variant = 'default',\n 'data-testid': dataTestId,\n className: consumerClassName,\n style: consumerStyle,\n ...remainingProps\n } = props;\n\n const DividerTag = as;\n\n return (\n <DividerTag\n role=\"separator\"\n aria-orientation={orientation === 'vertical' ? orientation : undefined}\n // @ts-expect-error ref can't be div and hr here\n ref={ref}\n data-testid={dataTestId}\n className={clsx(\n colorUtilsCSS({ color, variant }),\n dividerCSS({ orientation, flexItem }),\n consumerClassName,\n )}\n style={consumerStyle}\n {...remainingProps}\n />\n );\n});\n\n(Divider as typeof Divider & { displayName: string }).displayName = 'Divider';\n"],
5
+ "mappings": "AAAA,OAAO,UAAU;AACjB,OAAO,SAAS,kBAAkB;AAElC,SAAS,kBAAkB;AAG3B,SAAS,qBAAqB;AAyCvB,MAAM,UAA0B,2BAGrC,CAAC,OAAO,QAAQ;AAChB,QAAM;AAAA,IACJ,cAAc;AAAA,IACd,WAAW;AAAA,IACX,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,eAAe;AAAA,IACf,WAAW;AAAA,IACX,OAAO;AAAA,IACP,GAAG;AAAA,EACL,IAAI;AAEJ,QAAM,aAAa;AAEnB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,oBAAkB,gBAAgB,aAAa,cAAc;AAAA,MAE7D;AAAA,MACA,eAAa;AAAA,MACb,WAAW;AAAA,QACT,cAAc,EAAE,OAAO,QAAQ,CAAC;AAAA,QAChC,WAAW,EAAE,aAAa,SAAS,CAAC;AAAA,QACpC;AAAA,MACF;AAAA,MACA,OAAO;AAAA,MACN,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAEA,QAAqD,cAAc;",
6
+ "names": []
7
+ }
@@ -0,0 +1,8 @@
1
+ import "../../core/utils/colorUtils.css";
2
+ import "./Divider.css";
3
+ import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
4
+ var dividerCSS = _7a468({ defaultClassName: "Divider_dividerCSS__1ljcfp90", variantClassNames: { orientation: { horizontal: "Divider_dividerCSS_orientation_horizontal__1ljcfp91", vertical: "Divider_dividerCSS_orientation_vertical__1ljcfp92" }, flexItem: { true: "Divider_dividerCSS_flexItem_true__1ljcfp93", false: "Divider_dividerCSS_flexItem_false__1ljcfp94" } }, defaultVariants: {}, compoundVariants: [[{ orientation: "horizontal", flexItem: false }, "Divider_dividerCSS_compound_0__1ljcfp95"], [{ orientation: "vertical", flexItem: true }, "Divider_dividerCSS_compound_1__1ljcfp96"]] });
5
+ export {
6
+ dividerCSS
7
+ };
8
+ //# sourceMappingURL=Divider.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/layouts/Divider/Divider.css.ts"],
4
+ "sourcesContent": ["import '../../core/utils/colorUtils.css';\nimport './Divider.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var dividerCSS = _7a468({defaultClassName:'Divider_dividerCSS__1ljcfp90',variantClassNames:{orientation:{horizontal:'Divider_dividerCSS_orientation_horizontal__1ljcfp91',vertical:'Divider_dividerCSS_orientation_vertical__1ljcfp92'},flexItem:{true:'Divider_dividerCSS_flexItem_true__1ljcfp93',false:'Divider_dividerCSS_flexItem_false__1ljcfp94'}},defaultVariants:{},compoundVariants:[[{orientation:'horizontal',flexItem:false},'Divider_dividerCSS_compound_0__1ljcfp95'],[{orientation:'vertical',flexItem:true},'Divider_dividerCSS_compound_1__1ljcfp96']]});"],
5
+ "mappings": "AAAA,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,aAAa,OAAO,EAAC,kBAAiB,gCAA+B,mBAAkB,EAAC,aAAY,EAAC,YAAW,uDAAsD,UAAS,oDAAmD,GAAE,UAAS,EAAC,MAAK,8CAA6C,OAAM,8CAA6C,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,aAAY,cAAa,UAAS,MAAK,GAAE,yCAAyC,GAAE,CAAC,EAAC,aAAY,YAAW,UAAS,KAAI,GAAE,yCAAyC,CAAC,EAAC,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,5 @@
1
+ import { Divider } from "./Divider/Divider.js";
2
+ export {
3
+ Divider
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/layouts/index.ts"],
4
+ "sourcesContent": ["export { Divider } from './Divider/Divider.js';\nexport type { DividerProps } from './Divider/Divider.js';\n"],
5
+ "mappings": "AAAA,SAAS,eAAe;",
6
+ "names": []
7
+ }
@@ -0,0 +1,64 @@
1
+ .textStyle_textStyleCSS_compound_0__da9a8v7 {
2
+ font-family: var(--dt-typography-code-base-default-family, Roboto Mono,monospace);
3
+ font-weight: var(--dt-typography-code-base-default-weight, 400);
4
+ font-size: var(--dt-typography-code-base-default-size, 14px);
5
+ line-height: var(--dt-typography-code-base-default-line-height, 1.4285714286);
6
+ text-decoration: var(--dt-typography-code-base-default-text-decoration, none);
7
+ text-transform: var(--dt-typography-code-base-default-text-transform, none);
8
+ }
9
+ .textStyle_textStyleCSS_compound_1__da9a8v8 {
10
+ font-family: var(--dt-typography-code-base-emphasized-family, Roboto Mono,monospace);
11
+ font-weight: var(--dt-typography-code-base-emphasized-weight, 500);
12
+ font-size: var(--dt-typography-code-base-emphasized-size, 14px);
13
+ line-height: var(--dt-typography-code-base-emphasized-line-height, 1.4285714286);
14
+ text-decoration: var(--dt-typography-code-base-emphasized-text-decoration, none);
15
+ text-transform: var(--dt-typography-code-base-emphasized-text-transform, none);
16
+ }
17
+ .textStyle_textStyleCSS_compound_2__da9a8v9 {
18
+ font-family: var(--dt-typography-code-small-default-family, Roboto Mono,monospace);
19
+ font-weight: var(--dt-typography-code-small-default-weight, 400);
20
+ font-size: var(--dt-typography-code-small-default-size, 12px);
21
+ line-height: var(--dt-typography-code-small-default-line-height, 1.333333333);
22
+ text-decoration: var(--dt-typography-code-small-default-text-decoration, none);
23
+ text-transform: var(--dt-typography-code-small-default-text-transform, none);
24
+ }
25
+ .textStyle_textStyleCSS_compound_3__da9a8va {
26
+ font-family: var(--dt-typography-code-small-emphasized-family, Roboto Mono,monospace);
27
+ font-weight: var(--dt-typography-code-small-emphasized-weight, 500);
28
+ font-size: var(--dt-typography-code-small-emphasized-size, 12px);
29
+ line-height: var(--dt-typography-code-small-emphasized-line-height, 1.333333333);
30
+ text-decoration: var(--dt-typography-code-small-emphasized-text-decoration, none);
31
+ text-transform: var(--dt-typography-code-small-emphasized-text-transform, none);
32
+ }
33
+ .textStyle_textStyleCSS_compound_4__da9a8vb {
34
+ font-family: var(--dt-typography-text-base-default-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
35
+ font-weight: var(--dt-typography-text-base-default-weight, 400);
36
+ font-size: var(--dt-typography-text-base-default-size, 14px);
37
+ line-height: var(--dt-typography-text-base-default-line-height, 1.4285714286);
38
+ text-decoration: var(--dt-typography-text-base-default-text-decoration, none);
39
+ text-transform: var(--dt-typography-text-base-default-text-transform, none);
40
+ }
41
+ .textStyle_textStyleCSS_compound_5__da9a8vc {
42
+ font-family: var(--dt-typography-text-base-emphasized-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
43
+ font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
44
+ font-size: var(--dt-typography-text-base-emphasized-size, 14px);
45
+ line-height: var(--dt-typography-text-base-emphasized-line-height, 1.4285714286);
46
+ text-decoration: var(--dt-typography-text-base-emphasized-text-decoration, none);
47
+ text-transform: var(--dt-typography-text-base-emphasized-text-transform, none);
48
+ }
49
+ .textStyle_textStyleCSS_compound_6__da9a8vd {
50
+ font-family: var(--dt-typography-text-small-default-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
51
+ font-weight: var(--dt-typography-text-small-default-weight, 400);
52
+ font-size: var(--dt-typography-text-small-default-size, 12px);
53
+ line-height: var(--dt-typography-text-small-default-line-height, 1.333333333);
54
+ text-decoration: var(--dt-typography-text-small-default-text-decoration, none);
55
+ text-transform: var(--dt-typography-text-small-default-text-transform, none);
56
+ }
57
+ .textStyle_textStyleCSS_compound_7__da9a8ve {
58
+ font-family: var(--dt-typography-text-small-emphasized-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
59
+ font-weight: var(--dt-typography-text-small-emphasized-weight, 500);
60
+ font-size: var(--dt-typography-text-small-emphasized-size, 12px);
61
+ line-height: var(--dt-typography-text-small-emphasized-line-height, 1.333333333);
62
+ text-decoration: var(--dt-typography-text-small-emphasized-text-decoration, none);
63
+ text-transform: var(--dt-typography-text-small-emphasized-text-transform, none);
64
+ }
@@ -0,0 +1,7 @@
1
+ import "./textStyle.css";
2
+ import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
3
+ var textStyleCSS = _7a468({ defaultClassName: "textStyle__da9a8v0", variantClassNames: { fontStyle: { code: "textStyle_textStyleCSS_fontStyle_code__da9a8v1", text: "textStyle_textStyleCSS_fontStyle_text__da9a8v2" }, textStyle: { base: "textStyle_textStyleCSS_textStyle_base__da9a8v3", "base-emphasized": "textStyle_textStyleCSS_textStyle_base-emphasized__da9a8v4", small: "textStyle_textStyleCSS_textStyle_small__da9a8v5", "small-emphasized": "textStyle_textStyleCSS_textStyle_small-emphasized__da9a8v6" } }, defaultVariants: { fontStyle: "text", textStyle: "base" }, compoundVariants: [[{ fontStyle: "code", textStyle: "base" }, "textStyle_textStyleCSS_compound_0__da9a8v7"], [{ fontStyle: "code", textStyle: "base-emphasized" }, "textStyle_textStyleCSS_compound_1__da9a8v8"], [{ fontStyle: "code", textStyle: "small" }, "textStyle_textStyleCSS_compound_2__da9a8v9"], [{ fontStyle: "code", textStyle: "small-emphasized" }, "textStyle_textStyleCSS_compound_3__da9a8va"], [{ fontStyle: "text", textStyle: "base" }, "textStyle_textStyleCSS_compound_4__da9a8vb"], [{ fontStyle: "text", textStyle: "base-emphasized" }, "textStyle_textStyleCSS_compound_5__da9a8vc"], [{ fontStyle: "text", textStyle: "small" }, "textStyle_textStyleCSS_compound_6__da9a8vd"], [{ fontStyle: "text", textStyle: "small-emphasized" }, "textStyle_textStyleCSS_compound_7__da9a8ve"]] });
4
+ export {
5
+ textStyleCSS
6
+ };
7
+ //# sourceMappingURL=textStyle.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/styles/textStyle.css.ts"],
4
+ "sourcesContent": ["import './textStyle.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var textStyleCSS = _7a468({defaultClassName:'textStyle__da9a8v0',variantClassNames:{fontStyle:{code:'textStyle_textStyleCSS_fontStyle_code__da9a8v1',text:'textStyle_textStyleCSS_fontStyle_text__da9a8v2'},textStyle:{base:'textStyle_textStyleCSS_textStyle_base__da9a8v3','base-emphasized':'textStyle_textStyleCSS_textStyle_base-emphasized__da9a8v4',small:'textStyle_textStyleCSS_textStyle_small__da9a8v5','small-emphasized':'textStyle_textStyleCSS_textStyle_small-emphasized__da9a8v6'}},defaultVariants:{fontStyle:'text',textStyle:'base'},compoundVariants:[[{fontStyle:'code',textStyle:'base'},'textStyle_textStyleCSS_compound_0__da9a8v7'],[{fontStyle:'code',textStyle:'base-emphasized'},'textStyle_textStyleCSS_compound_1__da9a8v8'],[{fontStyle:'code',textStyle:'small'},'textStyle_textStyleCSS_compound_2__da9a8v9'],[{fontStyle:'code',textStyle:'small-emphasized'},'textStyle_textStyleCSS_compound_3__da9a8va'],[{fontStyle:'text',textStyle:'base'},'textStyle_textStyleCSS_compound_4__da9a8vb'],[{fontStyle:'text',textStyle:'base-emphasized'},'textStyle_textStyleCSS_compound_5__da9a8vc'],[{fontStyle:'text',textStyle:'small'},'textStyle_textStyleCSS_compound_6__da9a8vd'],[{fontStyle:'text',textStyle:'small-emphasized'},'textStyle_textStyleCSS_compound_7__da9a8ve']]});"],
5
+ "mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,sBAAqB,mBAAkB,EAAC,WAAU,EAAC,MAAK,kDAAiD,MAAK,iDAAgD,GAAE,WAAU,EAAC,MAAK,kDAAiD,mBAAkB,6DAA4D,OAAM,mDAAkD,oBAAmB,6DAA4D,EAAC,GAAE,iBAAgB,EAAC,WAAU,QAAO,WAAU,OAAM,GAAE,kBAAiB,CAAC,CAAC,EAAC,WAAU,QAAO,WAAU,OAAM,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,kBAAiB,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,QAAO,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,mBAAkB,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,OAAM,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,kBAAiB,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,QAAO,GAAE,4CAA4C,GAAE,CAAC,EAAC,WAAU,QAAO,WAAU,mBAAkB,GAAE,4CAA4C,CAAC,EAAC,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,17 @@
1
+ .Blockquote_blockquoteCSS__18f615k0 {
2
+ position: relative;
3
+ margin: var(--dt-spacings-size-0, 0);
4
+ padding-left: var(--dt-spacings-size-40, 40px);
5
+ word-break: normal;
6
+ overflow-wrap: anywhere;
7
+ }
8
+ .Blockquote_blockquoteCSS__18f615k0:before {
9
+ content: "";
10
+ position: absolute;
11
+ top: 0;
12
+ left: calc(var(--dt-spacings-size-40, 40px) - var(--dt-spacings-size-12, 12px));
13
+ width: var(--dt-borders-width-emphasized, 2px);
14
+ border-radius: var(--dt-borders-radius-field-emphasized, 9999px);
15
+ height: 100%;
16
+ background: var(--dt-colors-border-neutral-default, #d2d3e1);
17
+ }
@@ -0,0 +1,34 @@
1
+ import clsx from "clsx";
2
+ import React, { forwardRef } from "react";
3
+ import { blockquoteCSS } from "./Blockquote.sty.js";
4
+ const Blockquote = /* @__PURE__ */ forwardRef((props, ref) => {
5
+ const {
6
+ children,
7
+ cite,
8
+ "data-testid": dataTestId,
9
+ "data-dtrum-mask": dataDtrumMask,
10
+ "data-dtrum-allow": dataDtrumAllow,
11
+ className: consumerClassName,
12
+ style: consumerStyle,
13
+ ...remainingProps
14
+ } = props;
15
+ return /* @__PURE__ */ React.createElement(
16
+ "blockquote",
17
+ {
18
+ cite,
19
+ ref,
20
+ "data-testid": dataTestId,
21
+ "data-dtrum-mask": dataDtrumMask,
22
+ "data-dtrum-allow": dataDtrumAllow,
23
+ className: clsx(blockquoteCSS, consumerClassName),
24
+ style: consumerStyle,
25
+ ...remainingProps
26
+ },
27
+ children
28
+ );
29
+ });
30
+ Blockquote.displayName = "Blockquote";
31
+ export {
32
+ Blockquote
33
+ };
34
+ //# sourceMappingURL=Blockquote.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/BlockQuote/Blockquote.tsx"],
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport React, { forwardRef } from 'react';\n\nimport { blockquoteCSS } from './Blockquote.sty.js';\nimport type {\n DataTestId,\n StylingProps,\n WithChildren,\n} from '../../core/index.js';\nimport type { MaskingProps } from '../../core/types/masking-props.js';\n\n/**\n * The props for the Blockquote component.\n * @public\n */\nexport interface BlockquoteProps\n extends WithChildren,\n StylingProps,\n DataTestId,\n MaskingProps {\n /**\n * A URL that designates a source document or message for the information quoted.\n * This attribute is intended to point to information explaining the context for the quoted content.\n */\n cite?: string;\n}\n\n/**\n * @public\n * The `Blockquote` component wraps longer text blocks and indicates that the passage is quoted from another source.\n */\nexport const Blockquote = /* @__PURE__ */ forwardRef<\n HTMLQuoteElement,\n BlockquoteProps\n>((props, ref) => {\n const {\n children,\n cite,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n className: consumerClassName,\n style: consumerStyle,\n ...remainingProps\n } = props;\n\n return (\n <blockquote\n cite={cite}\n ref={ref}\n data-testid={dataTestId}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n className={clsx(blockquoteCSS, consumerClassName)}\n style={consumerStyle}\n {...remainingProps}\n >\n {children}\n </blockquote>\n );\n});\n\n(Blockquote as typeof Blockquote & { displayName: string }).displayName =\n 'Blockquote';\n"],
5
+ "mappings": "AAAA,OAAO,UAAU;AACjB,OAAO,SAAS,kBAAkB;AAElC,SAAS,qBAAqB;AA4BvB,MAAM,aAA6B,2BAGxC,CAAC,OAAO,QAAQ;AAChB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf,mBAAmB;AAAA,IACnB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,GAAG;AAAA,EACL,IAAI;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,eAAa;AAAA,MACb,mBAAiB;AAAA,MACjB,oBAAkB;AAAA,MAClB,WAAW,KAAK,eAAe,iBAAiB;AAAA,MAChD,OAAO;AAAA,MACN,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAEA,WAA2D,cAC1D;",
6
+ "names": []
7
+ }
@@ -0,0 +1,6 @@
1
+ import "./Blockquote.css";
2
+ var blockquoteCSS = "Blockquote_blockquoteCSS__18f615k0";
3
+ export {
4
+ blockquoteCSS
5
+ };
6
+ //# sourceMappingURL=Blockquote.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/BlockQuote/Blockquote.css.ts"],
4
+ "sourcesContent": ["import './Blockquote.css';\nexport var blockquoteCSS = 'Blockquote_blockquoteCSS__18f615k0';"],
5
+ "mappings": "AAAA,OAAO;AACA,IAAI,gBAAgB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,16 @@
1
+ .Code_codeCSS__1lx0ryl0 {
2
+ background: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
3
+ padding-top: var(--dt-spacings-size-0, 0);
4
+ padding-bottom: var(--dt-spacings-size-0, 0);
5
+ padding-left: var(--dt-spacings-size-4, 4px);
6
+ padding-right: var(--dt-spacings-size-4, 4px);
7
+ border-radius: var(--dt-borders-radius-field-subdued, 4px);
8
+ overflow-wrap: break-word;
9
+ font-style: normal;
10
+ font-family: var(--dt-typography-code-base-default-family, Roboto Mono,monospace);
11
+ font-weight: var(--dt-typography-code-base-default-weight, 400);
12
+ text-transform: var(--dt-typography-code-base-default-text-transform, none);
13
+ text-decoration: var(--dt-typography-code-base-default-text-decoration, none);
14
+ box-decoration-break: clone;
15
+ -webkit-box-decoration-break: clone;
16
+ }
@@ -0,0 +1,34 @@
1
+ import clsx from "clsx";
2
+ import React, { forwardRef } from "react";
3
+ import { codeCSS } from "./Code.sty.js";
4
+ const Code = /* @__PURE__ */ forwardRef(
5
+ (props, ref) => {
6
+ const {
7
+ children,
8
+ "data-testid": dataTestId,
9
+ "data-dtrum-mask": dataDtrumMask,
10
+ "data-dtrum-allow": dataDtrumAllow,
11
+ className: consumerClassName,
12
+ style: consumerStyle,
13
+ ...remainingProps
14
+ } = props;
15
+ return /* @__PURE__ */ React.createElement(
16
+ "code",
17
+ {
18
+ ref,
19
+ "data-testid": dataTestId,
20
+ "data-dtrum-mask": dataDtrumMask,
21
+ "data-dtrum-allow": dataDtrumAllow,
22
+ className: clsx(codeCSS, consumerClassName),
23
+ style: consumerStyle,
24
+ ...remainingProps
25
+ },
26
+ children
27
+ );
28
+ }
29
+ );
30
+ Code.displayName = "Code";
31
+ export {
32
+ Code
33
+ };
34
+ //# sourceMappingURL=Code.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/Code/Code.tsx"],
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport React, { forwardRef } from 'react';\n\nimport { codeCSS } from './Code.sty.js';\nimport {\n type DataTestId,\n type StylingProps,\n type WithChildren,\n} from '../../core/index.js';\nimport type { MaskingProps } from '../../core/types/masking-props.js';\n\n/**\n * The props for the Code component.\n * @public\n */\nexport interface CodeProps\n extends WithChildren,\n StylingProps,\n DataTestId,\n MaskingProps {}\n\n/**\n * @public\n * Use the `Code` component to display snippets of code inline. If you want to\n * display a block of code, use the\n * {@link https://developer.dynatrace.com/reference/design-system/preview/content/CodeSnippet/ | `CodeSnippet`}\n * component instead.\n */\nexport const Code = /* @__PURE__ */ forwardRef<HTMLElement, CodeProps>(\n (props, ref) => {\n const {\n children,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n className: consumerClassName,\n style: consumerStyle,\n ...remainingProps\n } = props;\n return (\n <code\n ref={ref}\n data-testid={dataTestId}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n className={clsx(codeCSS, consumerClassName)}\n style={consumerStyle}\n {...remainingProps}\n >\n {children}\n </code>\n );\n },\n);\n\n(Code as typeof Code & { displayName: string }).displayName = 'Code';\n"],
5
+ "mappings": "AAAA,OAAO,UAAU;AACjB,OAAO,SAAS,kBAAkB;AAElC,SAAS,eAAe;AAyBjB,MAAM,OAAuB;AAAA,EAClC,CAAC,OAAO,QAAQ;AACd,UAAM;AAAA,MACJ;AAAA,MACA,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,oBAAoB;AAAA,MACpB,WAAW;AAAA,MACX,OAAO;AAAA,MACP,GAAG;AAAA,IACL,IAAI;AACJ,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAa;AAAA,QACb,mBAAiB;AAAA,QACjB,oBAAkB;AAAA,QAClB,WAAW,KAAK,SAAS,iBAAiB;AAAA,QAC1C,OAAO;AAAA,QACN,GAAG;AAAA;AAAA,MAEH;AAAA,IACH;AAAA,EAEJ;AACF;AAEC,KAA+C,cAAc;",
6
+ "names": []
7
+ }
@@ -0,0 +1,6 @@
1
+ import "./Code.css";
2
+ var codeCSS = "Code_codeCSS__1lx0ryl0";
3
+ export {
4
+ codeCSS
5
+ };
6
+ //# sourceMappingURL=Code.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/Code/Code.css.ts"],
4
+ "sourcesContent": ["import './Code.css';\nexport var codeCSS = 'Code_codeCSS__1lx0ryl0';"],
5
+ "mappings": "AAAA,OAAO;AACA,IAAI,UAAU;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ .Emphasis_emphasisCSS__19xtnhr0 {
2
+ font-style: italic;
3
+ overflow-wrap: break-word;
4
+ }
@@ -0,0 +1,34 @@
1
+ import clsx from "clsx";
2
+ import React, { forwardRef } from "react";
3
+ import { emphasisCSS } from "./Emphasis.sty.js";
4
+ const Emphasis = /* @__PURE__ */ forwardRef(
5
+ (props, ref) => {
6
+ const {
7
+ children,
8
+ "data-testid": dataTestId,
9
+ "data-dtrum-mask": dataDtrumMask,
10
+ "data-dtrum-allow": dataDtrumAllow,
11
+ className: consumerClassName,
12
+ style: consumerStyle,
13
+ ...remainingProps
14
+ } = props;
15
+ return /* @__PURE__ */ React.createElement(
16
+ "em",
17
+ {
18
+ ref,
19
+ "data-testid": dataTestId,
20
+ "data-dtrum-mask": dataDtrumMask,
21
+ "data-dtrum-allow": dataDtrumAllow,
22
+ className: clsx(emphasisCSS, consumerClassName),
23
+ style: consumerStyle,
24
+ ...remainingProps
25
+ },
26
+ children
27
+ );
28
+ }
29
+ );
30
+ Emphasis.displayName = "Emphasis";
31
+ export {
32
+ Emphasis
33
+ };
34
+ //# sourceMappingURL=Emphasis.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/Emphasis/Emphasis.tsx"],
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport React, { forwardRef } from 'react';\n\nimport { emphasisCSS } from './Emphasis.sty.js';\nimport {\n type DataTestId,\n type StylingProps,\n type WithChildren,\n} from '../../core/index.js';\nimport type { MaskingProps } from '../../core/types/masking-props.js';\n\n/**\n * The props for the Emphasis component.\n * @public\n */\nexport interface EmphasisProps\n extends WithChildren,\n StylingProps,\n DataTestId,\n MaskingProps {}\n\n/**\n * @public\n * The `Emphasis` component adds visual and semantic emphasis to stressed or essential content.\n */\nexport const Emphasis = /* @__PURE__ */ forwardRef<HTMLElement, EmphasisProps>(\n (props, ref) => {\n const {\n children,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n className: consumerClassName,\n style: consumerStyle,\n ...remainingProps\n } = props;\n\n return (\n <em\n ref={ref}\n data-testid={dataTestId}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n className={clsx(emphasisCSS, consumerClassName)}\n style={consumerStyle}\n {...remainingProps}\n >\n {children}\n </em>\n );\n },\n);\n\n(Emphasis as typeof Emphasis & { displayName: string }).displayName =\n 'Emphasis';\n"],
5
+ "mappings": "AAAA,OAAO,UAAU;AACjB,OAAO,SAAS,kBAAkB;AAElC,SAAS,mBAAmB;AAsBrB,MAAM,WAA2B;AAAA,EACtC,CAAC,OAAO,QAAQ;AACd,UAAM;AAAA,MACJ;AAAA,MACA,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,oBAAoB;AAAA,MACpB,WAAW;AAAA,MACX,OAAO;AAAA,MACP,GAAG;AAAA,IACL,IAAI;AAEJ,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAa;AAAA,QACb,mBAAiB;AAAA,QACjB,oBAAkB;AAAA,QAClB,WAAW,KAAK,aAAa,iBAAiB;AAAA,QAC9C,OAAO;AAAA,QACN,GAAG;AAAA;AAAA,MAEH;AAAA,IACH;AAAA,EAEJ;AACF;AAEC,SAAuD,cACtD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,6 @@
1
+ import "./Emphasis.css";
2
+ var emphasisCSS = "Emphasis_emphasisCSS__19xtnhr0";
3
+ export {
4
+ emphasisCSS
5
+ };
6
+ //# sourceMappingURL=Emphasis.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/Emphasis/Emphasis.css.ts"],
4
+ "sourcesContent": ["import './Emphasis.css';\nexport var emphasisCSS = 'Emphasis_emphasisCSS__19xtnhr0';"],
5
+ "mappings": "AAAA,OAAO;AACA,IAAI,cAAc;",
6
+ "names": []
7
+ }
@@ -0,0 +1,28 @@
1
+ .ExternalLink_externalLinkCSS__8noiqs0 {
2
+ display: inline-block;
3
+ color: var(--dt-colors-text-primary-default, #454cc9);
4
+ text-decoration: underline;
5
+ overflow-wrap: anywhere;
6
+ }
7
+ .ExternalLink_externalLinkCSS__8noiqs0:hover {
8
+ color: var(--dt-colors-text-primary-default-hover, #3332ae);
9
+ }
10
+ .ExternalLink_externalLinkCSS__8noiqs0:active {
11
+ color: var(--dt-colors-text-primary-default-active, #241193);
12
+ }
13
+ .ExternalLink_externalLinkCSS__8noiqs0:focus-visible {
14
+ text-decoration: none;
15
+ }
16
+ .ExternalLink_externalLinkCSS__8noiqs0 > span {
17
+ white-space: nowrap;
18
+ display: inline-flex;
19
+ }
20
+ .ExternalLink_externalLinkCSS__8noiqs0 > span > svg {
21
+ margin-left: var(--dt-spacings-size-2, 2px);
22
+ align-self: center;
23
+ min-width: var(--dt-spacings-size-20, 20px);
24
+ width: calc(20em / 14);
25
+ height: calc(20em / 14);
26
+ max-width: var(--dt-spacings-size-24, 24px);
27
+ max-height: var(--dt-spacings-size-24, 24px);
28
+ }
@@ -0,0 +1,56 @@
1
+ import clsx from "clsx";
2
+ import React, { forwardRef } from "react";
3
+ import { useIntl } from "react-intl";
4
+ import { ExternalLinkIcon } from "@dynatrace/strato-icons";
5
+ import { externalLinkCSS } from "./ExternalLink.sty.js";
6
+ import {
7
+ _mergeProps
8
+ } from "../../core/index.js";
9
+ import { useFocusRing } from "../../core/styles/useFocusRing.js";
10
+ const ExternalLink = /* @__PURE__ */ forwardRef((props, ref) => {
11
+ const {
12
+ children,
13
+ "data-testid": dataTestId,
14
+ "data-dtrum-mask": dataDtrumMask,
15
+ "data-dtrum-allow": dataDtrumAllow,
16
+ className: consumerClassName,
17
+ style: consumerStyle,
18
+ ...remainingProps
19
+ } = props;
20
+ const { focusProps, focusClassName } = useFocusRing({
21
+ variant: "primary",
22
+ isMinimal: true
23
+ });
24
+ const intl = useIntl();
25
+ return /* @__PURE__ */ React.createElement(
26
+ "a",
27
+ {
28
+ ref,
29
+ target: "_blank",
30
+ rel: "noopener noreferrer",
31
+ "data-testid": dataTestId,
32
+ "data-dtrum-mask": dataDtrumMask,
33
+ "data-dtrum-allow": dataDtrumAllow,
34
+ className: clsx(focusClassName, externalLinkCSS, consumerClassName),
35
+ style: consumerStyle,
36
+ ..._mergeProps(remainingProps, focusProps)
37
+ },
38
+ children,
39
+ /* @__PURE__ */ React.createElement("span", null, "\uFEFF", /* @__PURE__ */ React.createElement(
40
+ ExternalLinkIcon,
41
+ {
42
+ "aria-hidden": "false",
43
+ "aria-label": intl.formatMessage({
44
+ defaultMessage: "Opening the link in a new window",
45
+ id: "JzYy8MUVfPcyf4l5",
46
+ description: "External link icon that describes the external link icon"
47
+ })
48
+ }
49
+ ))
50
+ );
51
+ });
52
+ ExternalLink.displayName = "ExternalLink";
53
+ export {
54
+ ExternalLink
55
+ };
56
+ //# sourceMappingURL=ExternalLink.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/ExternalLink/ExternalLink.tsx"],
4
+ "sourcesContent": ["import clsx from 'clsx';\nimport React, { forwardRef, MouseEventHandler } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { ExternalLinkIcon } from '@dynatrace/strato-icons';\n\nimport { externalLinkCSS } from './ExternalLink.sty.js';\nimport {\n type DataTestId,\n type StylingProps,\n type WithChildren,\n _mergeProps,\n} from '../../core/index.js';\nimport { useFocusRing } from '../../core/styles/useFocusRing.js';\nimport type { MaskingProps } from '../../core/types/masking-props.js';\n\n/**\n * The props for the ExternalLink component.\n * @public\n */\nexport interface ExternalLinkProps\n extends WithChildren,\n StylingProps,\n DataTestId,\n MaskingProps {\n /** The href used for the link. */\n href: string;\n /** Callback handler called on click. */\n onClick?: MouseEventHandler;\n}\n\n/**\n * @public\n * Use the `ExternalLink` component to link outside of the\n * Dynatrace platform. For resources within the Dynatrace platform, use the\n * {@link https://developer.dynatrace.com/reference/design-system/preview/typography/Link/ | `Link`}\n * component instead.\n */\nexport const ExternalLink = /* @__PURE__ */ forwardRef<\n HTMLAnchorElement,\n ExternalLinkProps\n>((props, ref) => {\n const {\n children,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n className: consumerClassName,\n style: consumerStyle,\n ...remainingProps\n } = props;\n\n const { focusProps, focusClassName } = useFocusRing({\n variant: 'primary',\n isMinimal: true,\n });\n\n const intl = useIntl();\n\n return (\n <a\n ref={ref}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n data-testid={dataTestId}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n className={clsx(focusClassName, externalLinkCSS, consumerClassName)}\n style={consumerStyle}\n {..._mergeProps(remainingProps, focusProps)}\n >\n {children}\n <span>\n &#65279;\n <ExternalLinkIcon\n aria-hidden=\"false\"\n // https://www.w3.org/WAI/tutorials/images/functional/#example-3-icon-image-conveying-information-within-link-text\n aria-label={intl.formatMessage({\n defaultMessage: 'Opening the link in a new window',\n id: 'JzYy8MUVfPcyf4l5',\n description:\n 'External link icon that describes the external link icon',\n })}\n />\n </span>\n </a>\n );\n});\n\n(ExternalLink as typeof ExternalLink & { displayName: string }).displayName =\n 'ExternalLink';\n"],
5
+ "mappings": "AAAA,OAAO,UAAU;AACjB,OAAO,SAAS,kBAAqC;AACrD,SAAS,eAAe;AAExB,SAAS,wBAAwB;AAEjC,SAAS,uBAAuB;AAChC;AAAA,EAIE;AAAA,OACK;AACP,SAAS,oBAAoB;AAyBtB,MAAM,eAA+B,2BAG1C,CAAC,OAAO,QAAQ;AAChB,QAAM;AAAA,IACJ;AAAA,IACA,eAAe;AAAA,IACf,mBAAmB;AAAA,IACnB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,GAAG;AAAA,EACL,IAAI;AAEJ,QAAM,EAAE,YAAY,eAAe,IAAI,aAAa;AAAA,IAClD,SAAS;AAAA,IACT,WAAW;AAAA,EACb,CAAC;AAED,QAAM,OAAO,QAAQ;AAErB,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,QAAO;AAAA,MACP,KAAI;AAAA,MACJ,eAAa;AAAA,MACb,mBAAiB;AAAA,MACjB,oBAAkB;AAAA,MAClB,WAAW,KAAK,gBAAgB,iBAAiB,iBAAiB;AAAA,MAClE,OAAO;AAAA,MACN,GAAG,YAAY,gBAAgB,UAAU;AAAA;AAAA,IAEzC;AAAA,IACD,oCAAC,cAAK,UAEJ;AAAA,MAAC;AAAA;AAAA,QACC,eAAY;AAAA,QAEZ,cAAY,KAAK,cAAc;AAAA,UAC7B,gBAAgB;AAAA,UAChB,IAAI;AAAA,UACJ,aACE;AAAA,QACJ,CAAC;AAAA;AAAA,IACH,CACF;AAAA,EACF;AAEJ,CAAC;AAEA,aAA+D,cAC9D;",
6
+ "names": []
7
+ }
@@ -0,0 +1,6 @@
1
+ import "./ExternalLink.css";
2
+ var externalLinkCSS = "ExternalLink_externalLinkCSS__8noiqs0";
3
+ export {
4
+ externalLinkCSS
5
+ };
6
+ //# sourceMappingURL=ExternalLink.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/typography/ExternalLink/ExternalLink.css.ts"],
4
+ "sourcesContent": ["import './ExternalLink.css';\nexport var externalLinkCSS = 'ExternalLink_externalLinkCSS__8noiqs0';"],
5
+ "mappings": "AAAA,OAAO;AACA,IAAI,kBAAkB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,54 @@
1
+ .Heading_headingCSS__u4t9450 {
2
+ margin: 0;
3
+ overflow-wrap: break-word;
4
+ font-style: normal;
5
+ color: var(--dt-colors-text-neutral-default, #2b2a58);
6
+ }
7
+ .Heading_headingCSS_visualLevel_1__u4t9451 {
8
+ font-family: var(--dt-typography-heading-level-1-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
9
+ font-size: var(--dt-typography-heading-level-1-size, 32px);
10
+ font-weight: var(--dt-typography-heading-level-1-weight, 600);
11
+ line-height: var(--dt-typography-heading-level-1-line-height, 1.25);
12
+ text-transform: var(--dt-typography-heading-level-1-text-transform, none);
13
+ text-decoration: var(--dt-typography-heading-level-1-text-decoration, none);
14
+ }
15
+ .Heading_headingCSS_visualLevel_2__u4t9452 {
16
+ font-family: var(--dt-typography-heading-level-2-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
17
+ font-size: var(--dt-typography-heading-level-2-size, 28px);
18
+ font-weight: var(--dt-typography-heading-level-2-weight, 600);
19
+ line-height: var(--dt-typography-heading-level-2-line-height, 1.2857142857);
20
+ text-transform: var(--dt-typography-heading-level-2-text-transform, none);
21
+ text-decoration: var(--dt-typography-heading-level-2-text-decoration, none);
22
+ }
23
+ .Heading_headingCSS_visualLevel_3__u4t9453 {
24
+ font-family: var(--dt-typography-heading-level-3-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
25
+ font-size: var(--dt-typography-heading-level-3-size, 24px);
26
+ font-weight: var(--dt-typography-heading-level-3-weight, 600);
27
+ line-height: var(--dt-typography-heading-level-3-line-height, 1.3333333333);
28
+ text-transform: var(--dt-typography-heading-level-3-text-transform, none);
29
+ text-decoration: var(--dt-typography-heading-level-3-text-decoration, none);
30
+ }
31
+ .Heading_headingCSS_visualLevel_4__u4t9454 {
32
+ font-family: var(--dt-typography-heading-level-4-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
33
+ font-size: var(--dt-typography-heading-level-4-size, 20px);
34
+ font-weight: var(--dt-typography-heading-level-4-weight, 600);
35
+ line-height: var(--dt-typography-heading-level-4-line-height, 1.4);
36
+ text-transform: var(--dt-typography-heading-level-4-text-transform, none);
37
+ text-decoration: var(--dt-typography-heading-level-4-text-decoration, none);
38
+ }
39
+ .Heading_headingCSS_visualLevel_5__u4t9455 {
40
+ font-family: var(--dt-typography-heading-level-5-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
41
+ font-size: var(--dt-typography-heading-level-5-size, 16px);
42
+ font-weight: var(--dt-typography-heading-level-5-weight, 600);
43
+ line-height: var(--dt-typography-heading-level-5-line-height, 1.5);
44
+ text-transform: var(--dt-typography-heading-level-5-text-transform, none);
45
+ text-decoration: var(--dt-typography-heading-level-5-text-decoration, none);
46
+ }
47
+ .Heading_headingCSS_visualLevel_6__u4t9456 {
48
+ font-family: var(--dt-typography-heading-level-6-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
49
+ font-size: var(--dt-typography-heading-level-6-size, 14px);
50
+ font-weight: var(--dt-typography-heading-level-6-weight, 600);
51
+ line-height: var(--dt-typography-heading-level-6-line-height, 1.4285714286);
52
+ text-transform: var(--dt-typography-heading-level-6-text-transform, none);
53
+ text-decoration: var(--dt-typography-heading-level-6-text-decoration, none);
54
+ }