@dynatrace/strato-components 1.5.1 → 1.6.2

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 (332) hide show
  1. package/buttons/button/Button.css +16 -16
  2. package/buttons/button/Button.d.ts +4 -4
  3. package/buttons/button/Button.js +47 -34
  4. package/buttons/button/Button.sty.js +4 -4
  5. package/buttons/button/Label.d.ts +2 -2
  6. package/buttons/button/Label.js +8 -7
  7. package/buttons/button/Prefix.d.ts +2 -2
  8. package/buttons/button/Prefix.js +6 -15
  9. package/buttons/button/Suffix.d.ts +3 -3
  10. package/buttons/button/Suffix.js +6 -15
  11. package/buttons/intent-button/IntentButton.d.ts +2 -2
  12. package/buttons/intent-button/IntentButton.js +16 -21
  13. package/buttons/intent-button/useIntentButton.d.ts +4 -3
  14. package/content/progress/ProgressBar.css +71 -71
  15. package/content/progress/ProgressBar.d.ts +4 -5
  16. package/content/progress/ProgressBar.js +49 -41
  17. package/content/progress/ProgressBar.sty.js +5 -5
  18. package/content/progress/ProgressBarIcon.css +2 -2
  19. package/content/progress/ProgressBarIcon.d.ts +1 -2
  20. package/content/progress/ProgressBarIcon.js +6 -5
  21. package/content/progress/ProgressBarIcon.sty.js +1 -1
  22. package/content/progress/ProgressBarLabel.css +3 -3
  23. package/content/progress/ProgressBarLabel.d.ts +1 -2
  24. package/content/progress/ProgressBarLabel.js +8 -7
  25. package/content/progress/ProgressBarLabel.sty.js +1 -1
  26. package/content/progress/ProgressBarValue.css +5 -5
  27. package/content/progress/ProgressBarValue.d.ts +1 -2
  28. package/content/progress/ProgressBarValue.js +8 -7
  29. package/content/progress/ProgressBarValue.sty.js +1 -1
  30. package/content/progress/ProgressCircle.css +40 -40
  31. package/content/progress/ProgressCircle.d.ts +1 -2
  32. package/content/progress/ProgressCircle.js +60 -55
  33. package/content/progress/ProgressCircle.sty.js +5 -5
  34. package/content/progress/contexts/SharedProgressBarPropsContext.d.ts +1 -2
  35. package/content/progress/contexts/SharedProgressBarPropsContext.js +2 -12
  36. package/content/skeleton/Skeleton.css +6 -6
  37. package/content/skeleton/Skeleton.d.ts +2 -2
  38. package/content/skeleton/Skeleton.js +6 -5
  39. package/content/skeleton/Skeleton.sty.js +1 -1
  40. package/content/skeleton/SkeletonText.d.ts +2 -2
  41. package/content/skeleton/SkeletonText.js +9 -18
  42. package/core/components/app-root/AppRoot.d.ts +3 -3
  43. package/core/components/app-root/AppRoot.js +15 -24
  44. package/core/components/focus-scope/FocusScope.d.ts +1 -2
  45. package/core/components/focus-scope/FocusScope.js +7 -16
  46. package/core/contexts/FocusContext.d.ts +1 -0
  47. package/core/contexts/FocusContext.js +2 -1
  48. package/core/hooks/useFontsUpdated.js +1 -1
  49. package/core/hooks/useMergeRefs.d.ts +2 -2
  50. package/core/index.d.ts +2 -1
  51. package/core/index.js +3 -1
  52. package/core/providers/FocusProvider.d.ts +1 -2
  53. package/core/providers/FocusProvider.js +35 -18
  54. package/core/styles/focusRing.css +66 -66
  55. package/core/styles/focusRing.sty.js +2 -2
  56. package/core/styles/useFocusRing.d.ts +3 -3
  57. package/core/types/polymorph.d.ts +1 -1
  58. package/core/types/styling-props.d.ts +1 -1
  59. package/core/types/with-children.d.ts +1 -1
  60. package/core/utils/_is-string-children.d.ts +2 -2
  61. package/core/utils/_is-string-children.js +2 -12
  62. package/core/utils/can-receive-default-text-format.d.ts +9 -0
  63. package/core/utils/can-receive-default-text-format.js +31 -0
  64. package/core/utils/colorUtils.css +60 -60
  65. package/core/utils/colorUtils.sty.js +2 -2
  66. package/core/utils/get-inert-value.d.ts +8 -0
  67. package/core/utils/get-inert-value.js +31 -0
  68. package/esm/buttons/button/Button.css +16 -16
  69. package/esm/buttons/button/Button.js +49 -35
  70. package/esm/buttons/button/Button.js.map +2 -2
  71. package/esm/buttons/button/Button.sty.js +4 -4
  72. package/esm/buttons/button/Button.sty.js.map +1 -1
  73. package/esm/buttons/button/Label.js +8 -7
  74. package/esm/buttons/button/Label.js.map +2 -2
  75. package/esm/buttons/button/Prefix.js +6 -5
  76. package/esm/buttons/button/Prefix.js.map +2 -2
  77. package/esm/buttons/button/Suffix.js +6 -5
  78. package/esm/buttons/button/Suffix.js.map +2 -2
  79. package/esm/buttons/intent-button/IntentButton.js +16 -11
  80. package/esm/buttons/intent-button/IntentButton.js.map +2 -2
  81. package/esm/buttons/intent-button/useIntentButton.js +4 -1
  82. package/esm/buttons/intent-button/useIntentButton.js.map +2 -2
  83. package/esm/content/progress/ProgressBar.css +71 -71
  84. package/esm/content/progress/ProgressBar.js +53 -41
  85. package/esm/content/progress/ProgressBar.js.map +2 -2
  86. package/esm/content/progress/ProgressBar.sty.js +5 -5
  87. package/esm/content/progress/ProgressBar.sty.js.map +1 -1
  88. package/esm/content/progress/ProgressBarIcon.css +2 -2
  89. package/esm/content/progress/ProgressBarIcon.js +6 -5
  90. package/esm/content/progress/ProgressBarIcon.js.map +2 -2
  91. package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
  92. package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
  93. package/esm/content/progress/ProgressBarLabel.css +3 -3
  94. package/esm/content/progress/ProgressBarLabel.js +8 -7
  95. package/esm/content/progress/ProgressBarLabel.js.map +2 -2
  96. package/esm/content/progress/ProgressBarLabel.sty.js +1 -1
  97. package/esm/content/progress/ProgressBarLabel.sty.js.map +1 -1
  98. package/esm/content/progress/ProgressBarValue.css +5 -5
  99. package/esm/content/progress/ProgressBarValue.js +8 -7
  100. package/esm/content/progress/ProgressBarValue.js.map +2 -2
  101. package/esm/content/progress/ProgressBarValue.sty.js +1 -1
  102. package/esm/content/progress/ProgressBarValue.sty.js.map +1 -1
  103. package/esm/content/progress/ProgressCircle.css +40 -40
  104. package/esm/content/progress/ProgressCircle.js +60 -55
  105. package/esm/content/progress/ProgressCircle.js.map +2 -2
  106. package/esm/content/progress/ProgressCircle.sty.js +5 -5
  107. package/esm/content/progress/ProgressCircle.sty.js.map +1 -1
  108. package/esm/content/progress/contexts/SharedProgressBarPropsContext.js +2 -2
  109. package/esm/content/progress/contexts/SharedProgressBarPropsContext.js.map +2 -2
  110. package/esm/content/skeleton/Skeleton.css +6 -6
  111. package/esm/content/skeleton/Skeleton.js +6 -5
  112. package/esm/content/skeleton/Skeleton.js.map +2 -2
  113. package/esm/content/skeleton/Skeleton.sty.js +1 -1
  114. package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
  115. package/esm/content/skeleton/SkeletonText.js +9 -8
  116. package/esm/content/skeleton/SkeletonText.js.map +2 -2
  117. package/esm/core/components/app-root/AppRoot.js +15 -14
  118. package/esm/core/components/app-root/AppRoot.js.map +2 -2
  119. package/esm/core/components/focus-scope/FocusScope.js +7 -6
  120. package/esm/core/components/focus-scope/FocusScope.js.map +2 -2
  121. package/esm/core/contexts/FocusContext.js +2 -1
  122. package/esm/core/contexts/FocusContext.js.map +2 -2
  123. package/esm/core/hooks/useFontsUpdated.js +1 -1
  124. package/esm/core/hooks/useFontsUpdated.js.map +2 -2
  125. package/esm/core/hooks/useMergeRefs.js +3 -1
  126. package/esm/core/hooks/useMergeRefs.js.map +2 -2
  127. package/esm/core/index.js +3 -1
  128. package/esm/core/index.js.map +2 -2
  129. package/esm/core/providers/FocusProvider.js +35 -8
  130. package/esm/core/providers/FocusProvider.js.map +2 -2
  131. package/esm/core/styles/focusRing.css +66 -66
  132. package/esm/core/styles/focusRing.sty.js +2 -2
  133. package/esm/core/styles/focusRing.sty.js.map +1 -1
  134. package/esm/core/styles/useFocusRing.js.map +1 -1
  135. package/esm/core/utils/_is-string-children.js +2 -2
  136. package/esm/core/utils/_is-string-children.js.map +2 -2
  137. package/esm/core/utils/can-receive-default-text-format.js +15 -0
  138. package/esm/core/utils/can-receive-default-text-format.js.map +7 -0
  139. package/esm/core/utils/colorUtils.css +60 -60
  140. package/esm/core/utils/colorUtils.sty.js +2 -2
  141. package/esm/core/utils/colorUtils.sty.js.map +1 -1
  142. package/esm/core/utils/get-inert-value.js +12 -0
  143. package/esm/core/utils/get-inert-value.js.map +7 -0
  144. package/esm/layouts/container/Container.css +4 -4
  145. package/esm/layouts/container/Container.js +7 -6
  146. package/esm/layouts/container/Container.js.map +2 -2
  147. package/esm/layouts/container/Container.sty.js +1 -1
  148. package/esm/layouts/container/Container.sty.js.map +1 -1
  149. package/esm/layouts/divider/Divider.css +6 -6
  150. package/esm/layouts/divider/Divider.js +3 -2
  151. package/esm/layouts/divider/Divider.js.map +2 -2
  152. package/esm/layouts/divider/Divider.sty.js +1 -1
  153. package/esm/layouts/divider/Divider.sty.js.map +1 -1
  154. package/esm/layouts/flex/Flex.js +6 -5
  155. package/esm/layouts/flex/Flex.js.map +2 -2
  156. package/esm/layouts/grid/Grid.js +6 -5
  157. package/esm/layouts/grid/Grid.js.map +2 -2
  158. package/esm/layouts/surface/Surface.css +39 -39
  159. package/esm/layouts/surface/Surface.js +17 -14
  160. package/esm/layouts/surface/Surface.js.map +2 -2
  161. package/esm/layouts/surface/Surface.sty.js +2 -2
  162. package/esm/layouts/surface/Surface.sty.js.map +1 -1
  163. package/esm/layouts/surface/variables.sty.js +1 -1
  164. package/esm/layouts/surface/variables.sty.js.map +1 -1
  165. package/esm/styles/colorUtils.css +60 -60
  166. package/esm/styles/colorUtils.sty.js +2 -2
  167. package/esm/styles/colorUtils.sty.js.map +1 -1
  168. package/esm/styles/container.css +47 -47
  169. package/esm/styles/container.sty.js +2 -2
  170. package/esm/styles/container.sty.js.map +1 -1
  171. package/esm/styles/ellipsis.css +1 -1
  172. package/esm/styles/ellipsis.sty.js +1 -1
  173. package/esm/styles/ellipsis.sty.js.map +1 -1
  174. package/esm/styles/field.css +153 -153
  175. package/esm/styles/field.sty.js +2 -2
  176. package/esm/styles/field.sty.js.map +1 -1
  177. package/esm/styles/getFlexStyles.js.map +1 -1
  178. package/esm/styles/getGridStyles.js.map +1 -1
  179. package/esm/styles/getLayoutSizeStyles.js.map +1 -1
  180. package/esm/styles/sprinkles.css +262 -262
  181. package/esm/styles/sprinkles.sty.js +1 -1
  182. package/esm/styles/sprinkles.sty.js.map +1 -1
  183. package/esm/styles/textStyle.css +8 -8
  184. package/esm/styles/textStyle.sty.js +1 -1
  185. package/esm/styles/textStyle.sty.js.map +1 -1
  186. package/esm/typography/block-quote/Blockquote.css +2 -2
  187. package/esm/typography/block-quote/Blockquote.js +6 -5
  188. package/esm/typography/block-quote/Blockquote.js.map +2 -2
  189. package/esm/typography/block-quote/Blockquote.sty.js +1 -1
  190. package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
  191. package/esm/typography/code/Code.css +1 -1
  192. package/esm/typography/code/Code.js +6 -5
  193. package/esm/typography/code/Code.js.map +2 -2
  194. package/esm/typography/code/Code.sty.js +1 -1
  195. package/esm/typography/code/Code.sty.js.map +1 -1
  196. package/esm/typography/emphasis/Emphasis.css +1 -1
  197. package/esm/typography/emphasis/Emphasis.js +6 -5
  198. package/esm/typography/emphasis/Emphasis.js.map +2 -2
  199. package/esm/typography/emphasis/Emphasis.sty.js +1 -1
  200. package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
  201. package/esm/typography/external-link/ExternalLink.css +6 -6
  202. package/esm/typography/external-link/ExternalLink.js +22 -16
  203. package/esm/typography/external-link/ExternalLink.js.map +2 -2
  204. package/esm/typography/external-link/ExternalLink.sty.js +1 -1
  205. package/esm/typography/external-link/ExternalLink.sty.js.map +1 -1
  206. package/esm/typography/heading/Heading.css +7 -7
  207. package/esm/typography/heading/Heading.js +6 -5
  208. package/esm/typography/heading/Heading.js.map +2 -2
  209. package/esm/typography/heading/Heading.sty.js +1 -1
  210. package/esm/typography/heading/Heading.sty.js.map +1 -1
  211. package/esm/typography/highlight/Highlight.css +1 -1
  212. package/esm/typography/highlight/Highlight.js +31 -18
  213. package/esm/typography/highlight/Highlight.js.map +3 -3
  214. package/esm/typography/highlight/Highlight.sty.js +1 -1
  215. package/esm/typography/highlight/Highlight.sty.js.map +1 -1
  216. package/esm/typography/link/Link.css +4 -4
  217. package/esm/typography/link/Link.js +6 -5
  218. package/esm/typography/link/Link.js.map +2 -2
  219. package/esm/typography/link/Link.sty.js +1 -1
  220. package/esm/typography/link/Link.sty.js.map +1 -1
  221. package/esm/typography/list/List.css +4 -4
  222. package/esm/typography/list/List.js +14 -9
  223. package/esm/typography/list/List.js.map +2 -2
  224. package/esm/typography/list/List.sty.js +2 -2
  225. package/esm/typography/list/List.sty.js.map +1 -1
  226. package/esm/typography/paragraph/Paragraph.css +3 -3
  227. package/esm/typography/paragraph/Paragraph.js +6 -5
  228. package/esm/typography/paragraph/Paragraph.js.map +2 -2
  229. package/esm/typography/paragraph/Paragraph.sty.js +1 -1
  230. package/esm/typography/paragraph/Paragraph.sty.js.map +1 -1
  231. package/esm/typography/strikethrough/Strikethrough.css +1 -1
  232. package/esm/typography/strikethrough/Strikethrough.js +6 -5
  233. package/esm/typography/strikethrough/Strikethrough.js.map +2 -2
  234. package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
  235. package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
  236. package/esm/typography/strong/Strong.css +1 -1
  237. package/esm/typography/strong/Strong.js +6 -5
  238. package/esm/typography/strong/Strong.js.map +2 -2
  239. package/esm/typography/strong/Strong.sty.js +1 -1
  240. package/esm/typography/strong/Strong.sty.js.map +1 -1
  241. package/esm/typography/text/Text.css +3 -3
  242. package/esm/typography/text/Text.js +6 -5
  243. package/esm/typography/text/Text.js.map +2 -2
  244. package/esm/typography/text/Text.sty.js +1 -1
  245. package/esm/typography/text/Text.sty.js.map +1 -1
  246. package/esm/typography/text-ellipsis/TextEllipsis.css +6 -6
  247. package/esm/typography/text-ellipsis/TextEllipsis.js +12 -11
  248. package/esm/typography/text-ellipsis/TextEllipsis.js.map +2 -2
  249. package/esm/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
  250. package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +1 -1
  251. package/layouts/container/Container.css +4 -4
  252. package/layouts/container/Container.js +7 -6
  253. package/layouts/container/Container.sty.js +1 -1
  254. package/layouts/divider/Divider.css +6 -6
  255. package/layouts/divider/Divider.d.ts +1 -2
  256. package/layouts/divider/Divider.js +3 -2
  257. package/layouts/divider/Divider.sty.js +1 -1
  258. package/layouts/flex/Flex.js +6 -5
  259. package/layouts/grid/Grid.d.ts +1 -1
  260. package/layouts/grid/Grid.js +6 -5
  261. package/layouts/surface/Surface.css +39 -39
  262. package/layouts/surface/Surface.js +17 -14
  263. package/layouts/surface/Surface.sty.js +2 -2
  264. package/layouts/surface/variables.sty.js +1 -1
  265. package/layouts/types/layout.types.d.ts +1 -1
  266. package/package.json +2 -2
  267. package/styles/colorUtils.css +60 -60
  268. package/styles/colorUtils.sty.js +2 -2
  269. package/styles/container.css +47 -47
  270. package/styles/container.sty.js +2 -2
  271. package/styles/ellipsis.css +1 -1
  272. package/styles/ellipsis.sty.js +1 -1
  273. package/styles/field.css +153 -153
  274. package/styles/field.sty.js +2 -2
  275. package/styles/getFlexStyles.d.ts +17 -17
  276. package/styles/getGridStyles.d.ts +22 -22
  277. package/styles/getLayoutSizeStyles.d.ts +1 -1
  278. package/styles/sprinkles.css +262 -262
  279. package/styles/sprinkles.sty.js +1 -1
  280. package/styles/textStyle.css +8 -8
  281. package/styles/textStyle.sty.js +1 -1
  282. package/typography/block-quote/Blockquote.css +2 -2
  283. package/typography/block-quote/Blockquote.d.ts +1 -2
  284. package/typography/block-quote/Blockquote.js +6 -5
  285. package/typography/block-quote/Blockquote.sty.js +1 -1
  286. package/typography/code/Code.css +1 -1
  287. package/typography/code/Code.d.ts +1 -2
  288. package/typography/code/Code.js +6 -5
  289. package/typography/code/Code.sty.js +1 -1
  290. package/typography/emphasis/Emphasis.css +1 -1
  291. package/typography/emphasis/Emphasis.d.ts +1 -2
  292. package/typography/emphasis/Emphasis.js +6 -5
  293. package/typography/emphasis/Emphasis.sty.js +1 -1
  294. package/typography/external-link/ExternalLink.css +6 -6
  295. package/typography/external-link/ExternalLink.d.ts +2 -2
  296. package/typography/external-link/ExternalLink.js +22 -16
  297. package/typography/external-link/ExternalLink.sty.js +1 -1
  298. package/typography/heading/Heading.css +7 -7
  299. package/typography/heading/Heading.d.ts +1 -2
  300. package/typography/heading/Heading.js +6 -5
  301. package/typography/heading/Heading.sty.js +1 -1
  302. package/typography/highlight/Highlight.css +1 -1
  303. package/typography/highlight/Highlight.d.ts +1 -1
  304. package/typography/highlight/Highlight.js +21 -17
  305. package/typography/highlight/Highlight.sty.js +1 -1
  306. package/typography/link/Link.css +4 -4
  307. package/typography/link/Link.d.ts +1 -1
  308. package/typography/link/Link.js +6 -5
  309. package/typography/link/Link.sty.js +1 -1
  310. package/typography/list/List.css +4 -4
  311. package/typography/list/List.d.ts +1 -2
  312. package/typography/list/List.js +10 -9
  313. package/typography/list/List.sty.js +2 -2
  314. package/typography/paragraph/Paragraph.css +3 -3
  315. package/typography/paragraph/Paragraph.d.ts +1 -2
  316. package/typography/paragraph/Paragraph.js +6 -5
  317. package/typography/paragraph/Paragraph.sty.js +1 -1
  318. package/typography/strikethrough/Strikethrough.css +1 -1
  319. package/typography/strikethrough/Strikethrough.d.ts +1 -2
  320. package/typography/strikethrough/Strikethrough.js +6 -5
  321. package/typography/strikethrough/Strikethrough.sty.js +1 -1
  322. package/typography/strong/Strong.css +1 -1
  323. package/typography/strong/Strong.d.ts +1 -2
  324. package/typography/strong/Strong.js +6 -5
  325. package/typography/strong/Strong.sty.js +1 -1
  326. package/typography/text/Text.css +3 -3
  327. package/typography/text/Text.js +6 -5
  328. package/typography/text/Text.sty.js +1 -1
  329. package/typography/text-ellipsis/TextEllipsis.css +6 -6
  330. package/typography/text-ellipsis/TextEllipsis.d.ts +2 -2
  331. package/typography/text-ellipsis/TextEllipsis.js +12 -11
  332. package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
@@ -31,8 +31,9 @@ __export(Highlight_exports, {
31
31
  Highlight: () => Highlight
32
32
  });
33
33
  module.exports = __toCommonJS(Highlight_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_react_intl = require("react-intl");
37
38
  var import_react_is = require("react-is");
38
39
  var import_Highlight_css = require("./Highlight.sty.js");
@@ -52,7 +53,7 @@ function highlightChildren(intl, children, term, caseSensitive, dataTestId, data
52
53
  }
53
54
  return term ? [term] : [];
54
55
  })();
55
- return terms.length > 0 ? import_react.default.Children.map(
56
+ return terms.length > 0 ? import_react.Children.map(
56
57
  children,
57
58
  (child) => highlightRecursive(
58
59
  intl,
@@ -65,12 +66,15 @@ function highlightChildren(intl, children, term, caseSensitive, dataTestId, data
65
66
  )
66
67
  ) : children;
67
68
  }
69
+ function isFormattedMessageElement(node) {
70
+ return (0, import_react_is.isElement)(node) && node.type !== void 0 && node.type === import_react_intl.FormattedMessage;
71
+ }
68
72
  function highlightRecursive(intl, sourceElement, terms, caseSensitive, dataTestId, dataDtrumMask, dataDtrumAllow) {
69
73
  if (!sourceElement) {
70
74
  return sourceElement;
71
75
  }
72
76
  let elementToHighlight = sourceElement;
73
- if ((0, import_react_is.isElement)(elementToHighlight) && elementToHighlight.type && elementToHighlight.type === import_react_intl.FormattedMessage) {
77
+ if (isFormattedMessageElement(elementToHighlight)) {
74
78
  const { id, description, defaultMessage, values } = elementToHighlight.props;
75
79
  const messageDescriptor = {
76
80
  id,
@@ -81,7 +85,7 @@ function highlightRecursive(intl, sourceElement, terms, caseSensitive, dataTestI
81
85
  if (Array.isArray(elementToHighlight)) {
82
86
  return highlightRecursive(
83
87
  intl,
84
- import_react.default.createElement(import_react.default.Fragment, { children: elementToHighlight }),
88
+ (0, import_react.createElement)(import_react.Fragment, { children: elementToHighlight }),
85
89
  terms,
86
90
  caseSensitive,
87
91
  dataTestId,
@@ -90,8 +94,8 @@ function highlightRecursive(intl, sourceElement, terms, caseSensitive, dataTestI
90
94
  );
91
95
  }
92
96
  }
93
- if (import_react.default.isValidElement(elementToHighlight)) {
94
- const children = import_react.default.Children.map(
97
+ if ((0, import_react.isValidElement)(elementToHighlight)) {
98
+ const children = import_react.Children.map(
95
99
  elementToHighlight.props.children,
96
100
  (child) => highlightRecursive(
97
101
  intl,
@@ -103,7 +107,7 @@ function highlightRecursive(intl, sourceElement, terms, caseSensitive, dataTestI
103
107
  dataDtrumAllow
104
108
  )
105
109
  );
106
- return import_react.default.cloneElement(
110
+ return (0, import_react.cloneElement)(
107
111
  elementToHighlight,
108
112
  elementToHighlight.props,
109
113
  children
@@ -128,24 +132,24 @@ function highlightLeafElement(textContent, terms, caseSensitive, dataTestId, dat
128
132
  );
129
133
  const termsInLowerCase = terms.map((t) => t.toLowerCase());
130
134
  return getTextTokens(sanitizedTextContent, terms, caseSensitive).map(
131
- (token) => termsInLowerCase.includes(token.toLowerCase()) ? /* @__PURE__ */ import_react.default.createElement(
135
+ (token) => termsInLowerCase.includes(token.toLowerCase()) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
132
136
  "mark",
133
137
  {
134
138
  role: "mark",
135
139
  className: (0, import_clsx.default)(import_Highlight_css.highlightCSS),
136
140
  "data-dtrum-mask": dataDtrumMask,
137
- "data-dtrum-allow": dataDtrumAllow
138
- },
139
- token
140
- ) : /* @__PURE__ */ import_react.default.createElement(
141
+ "data-dtrum-allow": dataDtrumAllow,
142
+ children: token
143
+ }
144
+ ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
141
145
  "span",
142
146
  {
143
147
  style: {
144
148
  whiteSpace: "pre-wrap",
145
149
  flex: "none"
146
- }
147
- },
148
- token
150
+ },
151
+ children: token
152
+ }
149
153
  )
150
154
  );
151
155
  }
@@ -167,7 +171,7 @@ const Highlight = (props) => {
167
171
  "data-dtrum-allow": dataDtrumAllow
168
172
  } = props;
169
173
  const intl = (0, import_react_intl.useIntl)();
170
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, highlightChildren(
174
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: highlightChildren(
171
175
  intl,
172
176
  children,
173
177
  term,
@@ -175,6 +179,6 @@ const Highlight = (props) => {
175
179
  dataTestId,
176
180
  dataDtrumMask,
177
181
  dataDtrumAllow
178
- ));
182
+ ) });
179
183
  };
180
184
  Highlight.displayName = "Highlight";
@@ -22,4 +22,4 @@ __export(Highlight_css_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(Highlight_css_exports);
24
24
  var import_Highlight_css_ts_vanilla = require("./Highlight.css");
25
- var highlightCSS = "_lajjl30-1-5-1";
25
+ var highlightCSS = "_lajjl30-1-6-2";
@@ -1,15 +1,15 @@
1
- ._1iksxp40-1-5-1 {
1
+ ._1iksxp40-1-6-2 {
2
2
  display: inline;
3
3
  color: var(--dt-colors-text-primary-default, #454cc9);
4
4
  text-decoration: underline;
5
5
  overflow-wrap: anywhere;
6
6
  }
7
- ._1iksxp40-1-5-1:hover {
7
+ ._1iksxp40-1-6-2:hover {
8
8
  color: var(--dt-colors-text-primary-default-hover, #3332ae);
9
9
  }
10
- ._1iksxp40-1-5-1:active {
10
+ ._1iksxp40-1-6-2:active {
11
11
  color: var(--dt-colors-text-primary-default-active, #241193);
12
12
  }
13
- ._1iksxp40-1-5-1:focus-visible {
13
+ ._1iksxp40-1-6-2:focus-visible {
14
14
  text-decoration: none;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { ElementType, ReactElement } from 'react';
1
+ import { type ElementType, type ReactElement } from 'react';
2
2
  import { type PolymorphicComponentProps, type DataTestId, type StylingProps, type WithChildren } from '../../core/index.js';
3
3
  import type { MaskingProps } from '../../core/types/masking-props.js';
4
4
  /**
@@ -31,8 +31,9 @@ __export(Link_exports, {
31
31
  Link: () => Link
32
32
  });
33
33
  module.exports = __toCommonJS(Link_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_Link_css = require("./Link.sty.js");
37
38
  var import_core = require("../../core/index.js");
38
39
  var import_useFocusRing = require("../../core/styles/useFocusRing.js");
@@ -52,7 +53,7 @@ const Link = /* @__PURE__ */ (0, import_react.forwardRef)(
52
53
  isMinimal: true
53
54
  });
54
55
  const LinkTag = as || "a";
55
- return /* @__PURE__ */ import_react.default.createElement(
56
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
56
57
  LinkTag,
57
58
  {
58
59
  ref,
@@ -67,9 +68,9 @@ const Link = /* @__PURE__ */ (0, import_react.forwardRef)(
67
68
  // polymorphic inheritance.
68
69
  remainingProps,
69
70
  focusProps
70
- )
71
- },
72
- children
71
+ ),
72
+ children
73
+ }
73
74
  );
74
75
  }
75
76
  );
@@ -22,4 +22,4 @@ __export(Link_css_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(Link_css_exports);
24
24
  var import_Link_css_ts_vanilla = require("./Link.css");
25
- var linkCSS = "_1iksxp40-1-5-1";
25
+ var linkCSS = "_1iksxp40-1-6-2";
@@ -1,16 +1,16 @@
1
- ._16276mt0-1-5-1 {
1
+ ._16276mt0-1-6-2 {
2
2
  margin: 0;
3
3
  padding-left: var(--dt-spacings-size-40, 40px);
4
4
  }
5
- ._16276mt0-1-5-1 ._16276mt0-1-5-1 {
5
+ ._16276mt0-1-6-2 ._16276mt0-1-6-2 {
6
6
  margin-block: var(--dt-spacings-size-4, 4px);
7
7
  padding-left: var(--dt-spacings-size-28, 28px);
8
8
  }
9
- ._16276mt1-1-5-1 {
9
+ ._16276mt1-1-6-2 {
10
10
  position: relative;
11
11
  overflow-wrap: break-word;
12
12
  margin-block: var(--dt-spacings-size-2, 2px);
13
13
  }
14
- ._16276mt1-1-5-1::marker {
14
+ ._16276mt1-1-6-2::marker {
15
15
  font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
16
16
  }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type DataTestId } from '../../core/types/data-props.js';
3
2
  import { type MaskingProps } from '../../core/types/masking-props.js';
4
3
  import { type StylingProps } from '../../core/types/styling-props.js';
@@ -36,4 +35,4 @@ export interface ListProps<TOrdered extends boolean = false> extends WithChildre
36
35
  * (for unordered lists).
37
36
  * @public
38
37
  */
39
- export declare const List: <TOrdered extends boolean = false>(props: ListProps<TOrdered> & React.RefAttributes<TOrdered extends true ? HTMLOListElement : HTMLUListElement>) => React.ReactElement | null;
38
+ export declare const List: <TOrdered extends boolean = false>(props: ListProps<TOrdered> & import("react").RefAttributes<TOrdered extends true ? HTMLOListElement : HTMLUListElement>) => React.ReactElement | null;
@@ -31,14 +31,15 @@ __export(List_exports, {
31
31
  List: () => List
32
32
  });
33
33
  module.exports = __toCommonJS(List_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_List_css = require("./List.sty.js");
37
38
  var import_Text = require("../text/Text.js");
38
39
  function interleaveListItems(listItems) {
39
40
  const items = [];
40
- import_react.default.Children.forEach(listItems, (listItem) => {
41
- if (import_react.default.isValidElement(listItem)) {
41
+ import_react.Children.forEach(listItems, (listItem) => {
42
+ if ((0, import_react.isValidElement)(listItem)) {
42
43
  if (listItem.type === List) {
43
44
  if (items.length === 0) {
44
45
  items.push([listItem]);
@@ -52,13 +53,13 @@ function interleaveListItems(listItems) {
52
53
  });
53
54
  return items.map((values, index) => {
54
55
  const itemKey = `list-item-${getItemKey(values, index)}`;
55
- return /* @__PURE__ */ import_react.default.createElement("li", { key: itemKey, className: import_List_css.listItemCSS }, values);
56
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { className: import_List_css.listItemCSS, children: values }, itemKey);
56
57
  });
57
58
  }
58
59
  function getItemKey(values, index) {
59
60
  const isArray = Array.isArray(values);
60
61
  const value = isArray ? values?.[0] : values;
61
- if (import_react.default.isValidElement(value)) {
62
+ if ((0, import_react.isValidElement)(value)) {
62
63
  if (value.key) {
63
64
  return value.key;
64
65
  } else if (value.props && value.props.children) {
@@ -86,7 +87,7 @@ const List = /* @__PURE__ */ (0, import_react.forwardRef)(
86
87
  style: consumerStyle,
87
88
  ...remainingProps
88
89
  } = props;
89
- return /* @__PURE__ */ import_react.default.createElement(
90
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
90
91
  import_Text.Text,
91
92
  {
92
93
  ref,
@@ -101,9 +102,9 @@ const List = /* @__PURE__ */ (0, import_react.forwardRef)(
101
102
  "data-dtrum-allow": dataDtrumAllow,
102
103
  className: (0, import_clsx.default)(import_List_css.listCSS, consumerClassName),
103
104
  style: consumerStyle,
104
- ...remainingProps
105
- },
106
- interleaveListItems(children)
105
+ ...remainingProps,
106
+ children: interleaveListItems(children)
107
+ }
107
108
  );
108
109
  }
109
110
  );
@@ -23,5 +23,5 @@ __export(List_css_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(List_css_exports);
25
25
  var import_List_css_ts_vanilla = require("./List.css");
26
- var listCSS = "_16276mt0-1-5-1";
27
- var listItemCSS = "_16276mt1-1-5-1";
26
+ var listCSS = "_16276mt0-1-6-2";
27
+ var listItemCSS = "_16276mt1-1-6-2";
@@ -1,17 +1,17 @@
1
- ._487p2n0-1-5-1 {
1
+ ._487p2n0-1-6-2 {
2
2
  margin-top: 0;
3
3
  margin-bottom: 0;
4
4
  overflow-wrap: break-word;
5
5
  color: inherit;
6
6
  font-style: normal;
7
7
  }
8
- ._487p2n1-1-5-1 {
8
+ ._487p2n1-1-6-2 {
9
9
  display: block;
10
10
  white-space: nowrap;
11
11
  text-overflow: ellipsis;
12
12
  overflow: hidden;
13
13
  }
14
- ._487p2n2-1-5-1 {
14
+ ._487p2n2-1-6-2 {
15
15
  display: -webkit-box;
16
16
  -webkit-line-clamp: var(--strato-ellipsis-line-clamp);
17
17
  -webkit-box-orient: vertical;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type DataTestId, type StylingProps, type WithChildren } from '../../core/index.js';
3
2
  import type { DOMProps } from '../../core/types/dom.js';
4
3
  import type { MaskingProps } from '../../core/types/masking-props.js';
@@ -16,4 +15,4 @@ export interface ParagraphProps extends WithChildren, DOMProps, StylingProps, Da
16
15
  * The `Paragraph` component displays a block of text with the default text style and supports text truncation.
17
16
  * @public
18
17
  */
19
- export declare const Paragraph: (props: ParagraphProps & React.RefAttributes<HTMLParagraphElement>) => React.ReactElement | null;
18
+ export declare const Paragraph: (props: ParagraphProps & import("react").RefAttributes<HTMLParagraphElement>) => React.ReactElement | null;
@@ -31,8 +31,9 @@ __export(Paragraph_exports, {
31
31
  Paragraph: () => Paragraph
32
32
  });
33
33
  module.exports = __toCommonJS(Paragraph_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_Paragraph_css = require("./Paragraph.sty.js");
37
38
  var import_textStyle_css = require("../../styles/textStyle.sty.js");
38
39
  const Paragraph = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
@@ -54,7 +55,7 @@ const Paragraph = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
54
55
  } else {
55
56
  ellipsis = "multiLine";
56
57
  }
57
- return /* @__PURE__ */ import_react.default.createElement(
58
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
59
  "p",
59
60
  {
60
61
  ref,
@@ -70,9 +71,9 @@ const Paragraph = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
70
71
  ...consumerStyle,
71
72
  "--strato-ellipsis-line-clamp": maxLines
72
73
  },
73
- ...remainingProps
74
- },
75
- children
74
+ ...remainingProps,
75
+ children
76
+ }
76
77
  );
77
78
  });
78
79
  Paragraph.displayName = "Paragraph";
@@ -23,4 +23,4 @@ __export(Paragraph_css_exports, {
23
23
  module.exports = __toCommonJS(Paragraph_css_exports);
24
24
  var import_Paragraph_css_ts_vanilla = require("./Paragraph.css");
25
25
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
26
- var paragraphCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_487p2n0-1-5-1", variantClassNames: { ellipsis: { singleLine: "_487p2n1-1-5-1", multiLine: "_487p2n2-1-5-1" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var paragraphCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_487p2n0-1-6-2", variantClassNames: { ellipsis: { singleLine: "_487p2n1-1-6-2", multiLine: "_487p2n2-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- ._4oao6y0-1-5-1 {
1
+ ._4oao6y0-1-6-2 {
2
2
  text-decoration: line-through;
3
3
  text-decoration-style: solid;
4
4
  overflow-wrap: break-word;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type DataTestId, type StylingProps, type WithChildren } from '../../core/index.js';
3
2
  import type { MaskingProps } from '../../core/types/masking-props.js';
4
3
  /**
@@ -12,4 +11,4 @@ export interface StrikethroughProps extends WithChildren, StylingProps, DataTest
12
11
  * represent things that are no longer relevant or accurate.
13
12
  * @public
14
13
  */
15
- export declare const Strikethrough: (props: StrikethroughProps & React.RefAttributes<HTMLElement>) => React.ReactElement | null;
14
+ export declare const Strikethrough: (props: StrikethroughProps & import("react").RefAttributes<HTMLElement>) => React.ReactElement | null;
@@ -31,8 +31,9 @@ __export(Strikethrough_exports, {
31
31
  Strikethrough: () => Strikethrough
32
32
  });
33
33
  module.exports = __toCommonJS(Strikethrough_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_Strikethrough_css = require("./Strikethrough.sty.js");
37
38
  const Strikethrough = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
38
39
  const {
@@ -44,7 +45,7 @@ const Strikethrough = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref)
44
45
  style: consumerStyle,
45
46
  ...remainingProps
46
47
  } = props;
47
- return /* @__PURE__ */ import_react.default.createElement(
48
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
48
49
  "s",
49
50
  {
50
51
  ref,
@@ -53,9 +54,9 @@ const Strikethrough = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref)
53
54
  "data-dtrum-allow": dataDtrumAllow,
54
55
  className: (0, import_clsx.default)(import_Strikethrough_css.strikethroughCSS, consumerClassName),
55
56
  style: consumerStyle,
56
- ...remainingProps
57
- },
58
- children
57
+ ...remainingProps,
58
+ children
59
+ }
59
60
  );
60
61
  });
61
62
  Strikethrough.displayName = "Strikethrough";
@@ -22,4 +22,4 @@ __export(Strikethrough_css_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(Strikethrough_css_exports);
24
24
  var import_Strikethrough_css_ts_vanilla = require("./Strikethrough.css");
25
- var strikethroughCSS = "_4oao6y0-1-5-1";
25
+ var strikethroughCSS = "_4oao6y0-1-6-2";
@@ -1,4 +1,4 @@
1
- ._wxp4dd0-1-5-1 {
1
+ ._wxp4dd0-1-6-2 {
2
2
  font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
3
3
  overflow-wrap: break-word;
4
4
  }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type DataTestId, type StylingProps, type WithChildren } from '../../core/index.js';
3
2
  import type { MaskingProps } from '../../core/types/masking-props.js';
4
3
  /**
@@ -11,4 +10,4 @@ export interface StrongProps extends WithChildren, StylingProps, DataTestId, Mas
11
10
  * Use the `Strong` component to render text in bold type to emphasize it.
12
11
  * @public
13
12
  */
14
- export declare const Strong: (props: StrongProps & React.RefAttributes<HTMLElement>) => React.ReactElement | null;
13
+ export declare const Strong: (props: StrongProps & import("react").RefAttributes<HTMLElement>) => React.ReactElement | null;
@@ -31,8 +31,9 @@ __export(Strong_exports, {
31
31
  Strong: () => Strong
32
32
  });
33
33
  module.exports = __toCommonJS(Strong_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_Strong_css = require("./Strong.sty.js");
37
38
  const Strong = /* @__PURE__ */ (0, import_react.forwardRef)(
38
39
  (props, ref) => {
@@ -45,7 +46,7 @@ const Strong = /* @__PURE__ */ (0, import_react.forwardRef)(
45
46
  style: consumerStyle,
46
47
  ...remainingProps
47
48
  } = props;
48
- return /* @__PURE__ */ import_react.default.createElement(
49
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
49
50
  "strong",
50
51
  {
51
52
  ref,
@@ -54,9 +55,9 @@ const Strong = /* @__PURE__ */ (0, import_react.forwardRef)(
54
55
  "data-dtrum-allow": dataDtrumAllow,
55
56
  className: (0, import_clsx.default)(import_Strong_css.strongCSS, consumerClassName),
56
57
  style: consumerStyle,
57
- ...remainingProps
58
- },
59
- children
58
+ ...remainingProps,
59
+ children
60
+ }
60
61
  );
61
62
  }
62
63
  );
@@ -22,4 +22,4 @@ __export(Strong_css_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(Strong_css_exports);
24
24
  var import_Strong_css_ts_vanilla = require("./Strong.css");
25
- var strongCSS = "_wxp4dd0-1-5-1";
25
+ var strongCSS = "_wxp4dd0-1-6-2";
@@ -1,16 +1,16 @@
1
- ._rup8ap0-1-5-1 {
1
+ ._rup8ap0-1-6-2 {
2
2
  margin-top: 0;
3
3
  margin-bottom: 0;
4
4
  min-width: 0;
5
5
  overflow-wrap: break-word;
6
6
  }
7
- ._rup8ap1-1-5-1 {
7
+ ._rup8ap1-1-6-2 {
8
8
  display: block;
9
9
  white-space: nowrap;
10
10
  text-overflow: ellipsis;
11
11
  overflow: hidden;
12
12
  }
13
- ._rup8ap2-1-5-1 {
13
+ ._rup8ap2-1-6-2 {
14
14
  display: -webkit-box;
15
15
  -webkit-line-clamp: var(--strato-ellipsis-line-clamp);
16
16
  -webkit-box-orient: vertical;
@@ -31,8 +31,9 @@ __export(Text_exports, {
31
31
  Text: () => Text
32
32
  });
33
33
  module.exports = __toCommonJS(Text_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
34
35
  var import_clsx = __toESM(require("clsx"));
35
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
36
37
  var import_Text_css = require("./Text.sty.js");
37
38
  var import_textStyle_css = require("../../styles/textStyle.sty.js");
38
39
  const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
@@ -50,7 +51,7 @@ const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
50
51
  }, ref) => {
51
52
  const TextTag = as || "span";
52
53
  let ellipsis;
53
- return /* @__PURE__ */ import_react.default.createElement(
54
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
54
55
  TextTag,
55
56
  {
56
57
  "data-testid": dataTestId,
@@ -63,9 +64,9 @@ const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
63
64
  consumerClassName
64
65
  ]),
65
66
  style: consumerStyle,
66
- ...remainingProps
67
- },
68
- children
67
+ ...remainingProps,
68
+ children
69
+ }
69
70
  );
70
71
  }
71
72
  );
@@ -23,4 +23,4 @@ __export(Text_css_exports, {
23
23
  module.exports = __toCommonJS(Text_css_exports);
24
24
  var import_Text_css_ts_vanilla = require("./Text.css");
25
25
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
26
- var textCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_rup8ap0-1-5-1", variantClassNames: { ellipsis: { singleLine: "_rup8ap1-1-5-1", multiLine: "_rup8ap2-1-5-1" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var textCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_rup8ap0-1-6-2", variantClassNames: { ellipsis: { singleLine: "_rup8ap1-1-6-2", multiLine: "_rup8ap2-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- ._1mnpbqs1-1-5-1 {
1
+ ._1mnpbqs1-1-6-2 {
2
2
  display: inline-block;
3
3
  box-sizing: border-box;
4
4
  vertical-align: middle;
@@ -9,18 +9,18 @@
9
9
  text-decoration: inherit;
10
10
  width: 100%;
11
11
  }
12
- ._1mnpbqs2-1-5-1 {
12
+ ._1mnpbqs2-1-6-2 {
13
13
  text-overflow: ellipsis;
14
14
  direction: rtl;
15
15
  text-align: left;
16
16
  }
17
- ._1mnpbqs2-1-5-1::after {
17
+ ._1mnpbqs2-1-6-2::after {
18
18
  content: "‎";
19
19
  }
20
- ._1mnpbqs3-1-5-1 {
20
+ ._1mnpbqs3-1-6-2 {
21
21
  text-overflow: clip;
22
22
  }
23
- ._1mnpbqs3-1-5-1._1mnpbqs0-1-5-1:after {
23
+ ._1mnpbqs3-1-6-2._1mnpbqs0-1-6-2:after {
24
24
  content: attr(data-sourcetext) / "";
25
25
  color: transparent;
26
26
  display: table;
@@ -28,6 +28,6 @@
28
28
  line-height: 0;
29
29
  user-select: none;
30
30
  }
31
- ._1mnpbqs4-1-5-1 {
31
+ ._1mnpbqs4-1-6-2 {
32
32
  text-overflow: ellipsis;
33
33
  }
@@ -1,4 +1,4 @@
1
- import React, { type HTMLAttributes } from 'react';
1
+ import { type HTMLAttributes } from 'react';
2
2
  import { type DataTestId } from '../../core/types/data-props.js';
3
3
  import { type MaskingProps } from '../../core/types/masking-props.js';
4
4
  import { type StylingProps } from '../../core/types/styling-props.js';
@@ -29,4 +29,4 @@ export interface TextEllipsisProps extends HTMLAttributes<HTMLSpanElement>, Styl
29
29
  * when writing your own components.
30
30
  * @public
31
31
  */
32
- export declare const TextEllipsis: (props: TextEllipsisProps & React.RefAttributes<HTMLSpanElement>) => React.ReactElement | null;
32
+ export declare const TextEllipsis: (props: TextEllipsisProps & import("react").RefAttributes<HTMLSpanElement>) => React.ReactElement | null;