@dynatrace/strato-components 1.16.1 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/buttons/button/Button.css +16 -16
  2. package/buttons/button/Button.js +12 -9
  3. package/buttons/button/Button.sty.js +4 -4
  4. package/buttons/intent-button/IntentButton.d.ts +2 -0
  5. package/content/progress/ProgressBar.css +71 -71
  6. package/content/progress/ProgressBar.js +3 -1
  7. package/content/progress/ProgressBar.sty.js +5 -5
  8. package/content/progress/ProgressBarIcon.css +2 -2
  9. package/content/progress/ProgressBarIcon.sty.js +1 -1
  10. package/content/progress/ProgressBarLabel.css +3 -3
  11. package/content/progress/ProgressBarLabel.sty.js +1 -1
  12. package/content/progress/ProgressBarValue.css +5 -5
  13. package/content/progress/ProgressBarValue.sty.js +1 -1
  14. package/content/progress/ProgressCircle.css +40 -40
  15. package/content/progress/ProgressCircle.js +3 -1
  16. package/content/progress/ProgressCircle.sty.js +5 -5
  17. package/content/skeleton/Skeleton.css +7 -7
  18. package/content/skeleton/Skeleton.js +3 -0
  19. package/content/skeleton/Skeleton.sty.js +5 -5
  20. package/content/skeleton/SkeletonText.js +3 -0
  21. package/core/index.d.ts +1 -0
  22. package/core/index.js +2 -0
  23. package/core/styles/focusRing.css +66 -66
  24. package/core/styles/focusRing.sty.d.ts +10 -6
  25. package/core/styles/focusRing.sty.js +2 -2
  26. package/core/styles/focusRingStatic.css +44 -0
  27. package/core/styles/focusRingStatic.sty.d.ts +77 -0
  28. package/core/styles/focusRingStatic.sty.js +26 -0
  29. package/core/styles/useFocusRing.d.ts +7 -6
  30. package/core/styles/useFocusRing.js +13 -13
  31. package/core/utils/colorUtils.css +60 -60
  32. package/core/utils/colorUtils.sty.js +2 -2
  33. package/esm/buttons/button/Button.css +16 -16
  34. package/esm/buttons/button/Button.js +12 -9
  35. package/esm/buttons/button/Button.js.map +2 -2
  36. package/esm/buttons/button/Button.sty.js +4 -4
  37. package/esm/buttons/button/Button.sty.js.map +1 -1
  38. package/esm/buttons/index.js.map +1 -1
  39. package/esm/buttons/intent-button/IntentButton.js.map +2 -2
  40. package/esm/content/progress/ProgressBar.css +71 -71
  41. package/esm/content/progress/ProgressBar.js +3 -1
  42. package/esm/content/progress/ProgressBar.js.map +2 -2
  43. package/esm/content/progress/ProgressBar.sty.js +5 -5
  44. package/esm/content/progress/ProgressBar.sty.js.map +1 -1
  45. package/esm/content/progress/ProgressBarIcon.css +2 -2
  46. package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
  47. package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
  48. package/esm/content/progress/ProgressBarLabel.css +3 -3
  49. package/esm/content/progress/ProgressBarLabel.sty.js +1 -1
  50. package/esm/content/progress/ProgressBarLabel.sty.js.map +1 -1
  51. package/esm/content/progress/ProgressBarValue.css +5 -5
  52. package/esm/content/progress/ProgressBarValue.sty.js +1 -1
  53. package/esm/content/progress/ProgressBarValue.sty.js.map +1 -1
  54. package/esm/content/progress/ProgressCircle.css +40 -40
  55. package/esm/content/progress/ProgressCircle.js +3 -1
  56. package/esm/content/progress/ProgressCircle.js.map +2 -2
  57. package/esm/content/progress/ProgressCircle.sty.js +5 -5
  58. package/esm/content/progress/ProgressCircle.sty.js.map +1 -1
  59. package/esm/content/skeleton/Skeleton.css +7 -7
  60. package/esm/content/skeleton/Skeleton.js +3 -0
  61. package/esm/content/skeleton/Skeleton.js.map +2 -2
  62. package/esm/content/skeleton/Skeleton.sty.js +5 -5
  63. package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
  64. package/esm/content/skeleton/SkeletonText.js +3 -0
  65. package/esm/content/skeleton/SkeletonText.js.map +2 -2
  66. package/esm/core/index.js +4 -0
  67. package/esm/core/index.js.map +2 -2
  68. package/esm/core/styles/focusRing.css +66 -66
  69. package/esm/core/styles/focusRing.sty.js +2 -2
  70. package/esm/core/styles/focusRing.sty.js.map +1 -1
  71. package/esm/core/styles/focusRingStatic.css +44 -0
  72. package/esm/core/styles/focusRingStatic.sty.js +7 -0
  73. package/esm/core/styles/focusRingStatic.sty.js.map +7 -0
  74. package/esm/core/styles/useFocusRing.js +15 -15
  75. package/esm/core/styles/useFocusRing.js.map +2 -2
  76. package/esm/core/utils/colorUtils.css +60 -60
  77. package/esm/core/utils/colorUtils.sty.js +2 -2
  78. package/esm/core/utils/colorUtils.sty.js.map +1 -1
  79. package/esm/layouts/container/Container.css +4 -4
  80. package/esm/layouts/container/Container.sty.js +1 -1
  81. package/esm/layouts/container/Container.sty.js.map +1 -1
  82. package/esm/layouts/divider/Divider.css +6 -6
  83. package/esm/layouts/divider/Divider.sty.js +1 -1
  84. package/esm/layouts/divider/Divider.sty.js.map +1 -1
  85. package/esm/layouts/surface/Surface.css +39 -39
  86. package/esm/layouts/surface/Surface.js +2 -6
  87. package/esm/layouts/surface/Surface.js.map +2 -2
  88. package/esm/layouts/surface/Surface.sty.js +2 -2
  89. package/esm/layouts/surface/Surface.sty.js.map +1 -1
  90. package/esm/layouts/surface/variables.sty.js +1 -1
  91. package/esm/layouts/surface/variables.sty.js.map +1 -1
  92. package/esm/styles/colorUtils.css +60 -60
  93. package/esm/styles/colorUtils.sty.js +2 -2
  94. package/esm/styles/colorUtils.sty.js.map +1 -1
  95. package/esm/styles/container.css +47 -47
  96. package/esm/styles/container.sty.js +2 -2
  97. package/esm/styles/container.sty.js.map +1 -1
  98. package/esm/styles/ellipsis.css +1 -1
  99. package/esm/styles/ellipsis.sty.js +1 -1
  100. package/esm/styles/ellipsis.sty.js.map +1 -1
  101. package/esm/styles/field.css +153 -153
  102. package/esm/styles/field.sty.js +2 -2
  103. package/esm/styles/field.sty.js.map +1 -1
  104. package/esm/styles/sprinkles.css +262 -262
  105. package/esm/styles/sprinkles.sty.js +1 -1
  106. package/esm/styles/sprinkles.sty.js.map +1 -1
  107. package/esm/styles/textStyle.css +8 -8
  108. package/esm/styles/textStyle.sty.js +1 -1
  109. package/esm/styles/textStyle.sty.js.map +1 -1
  110. package/esm/typography/block-quote/Blockquote.css +2 -2
  111. package/esm/typography/block-quote/Blockquote.js +3 -1
  112. package/esm/typography/block-quote/Blockquote.js.map +2 -2
  113. package/esm/typography/block-quote/Blockquote.sty.js +1 -1
  114. package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
  115. package/esm/typography/code/Code.css +1 -1
  116. package/esm/typography/code/Code.js +3 -1
  117. package/esm/typography/code/Code.js.map +2 -2
  118. package/esm/typography/code/Code.sty.js +1 -1
  119. package/esm/typography/code/Code.sty.js.map +1 -1
  120. package/esm/typography/emphasis/Emphasis.css +1 -1
  121. package/esm/typography/emphasis/Emphasis.js +3 -1
  122. package/esm/typography/emphasis/Emphasis.js.map +2 -2
  123. package/esm/typography/emphasis/Emphasis.sty.js +1 -1
  124. package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
  125. package/esm/typography/external-link/ExternalLink.css +8 -5
  126. package/esm/typography/external-link/ExternalLink.js +6 -13
  127. package/esm/typography/external-link/ExternalLink.js.map +2 -2
  128. package/esm/typography/external-link/ExternalLink.sty.js +2 -1
  129. package/esm/typography/external-link/ExternalLink.sty.js.map +2 -2
  130. package/esm/typography/heading/Heading.css +7 -7
  131. package/esm/typography/heading/Heading.js +3 -1
  132. package/esm/typography/heading/Heading.js.map +2 -2
  133. package/esm/typography/heading/Heading.sty.js +1 -1
  134. package/esm/typography/heading/Heading.sty.js.map +1 -1
  135. package/esm/typography/highlight/Highlight.css +2 -2
  136. package/esm/typography/highlight/Highlight.js +3 -1
  137. package/esm/typography/highlight/Highlight.js.map +2 -2
  138. package/esm/typography/highlight/Highlight.sty.js +1 -1
  139. package/esm/typography/highlight/Highlight.sty.js.map +1 -1
  140. package/esm/typography/link/Link.css +6 -3
  141. package/esm/typography/link/Link.js +6 -19
  142. package/esm/typography/link/Link.js.map +2 -2
  143. package/esm/typography/link/Link.sty.js +2 -1
  144. package/esm/typography/link/Link.sty.js.map +2 -2
  145. package/esm/typography/list/List.css +4 -4
  146. package/esm/typography/list/List.js +3 -1
  147. package/esm/typography/list/List.js.map +2 -2
  148. package/esm/typography/list/List.sty.js +2 -2
  149. package/esm/typography/list/List.sty.js.map +1 -1
  150. package/esm/typography/paragraph/Paragraph.css +3 -3
  151. package/esm/typography/paragraph/Paragraph.js +3 -1
  152. package/esm/typography/paragraph/Paragraph.js.map +2 -2
  153. package/esm/typography/paragraph/Paragraph.sty.js +1 -1
  154. package/esm/typography/paragraph/Paragraph.sty.js.map +1 -1
  155. package/esm/typography/strikethrough/Strikethrough.css +1 -1
  156. package/esm/typography/strikethrough/Strikethrough.js +3 -1
  157. package/esm/typography/strikethrough/Strikethrough.js.map +2 -2
  158. package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
  159. package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
  160. package/esm/typography/strong/Strong.css +1 -1
  161. package/esm/typography/strong/Strong.js +3 -1
  162. package/esm/typography/strong/Strong.js.map +2 -2
  163. package/esm/typography/strong/Strong.sty.js +1 -1
  164. package/esm/typography/strong/Strong.sty.js.map +1 -1
  165. package/esm/typography/text/Text.css +3 -3
  166. package/esm/typography/text/Text.js +4 -1
  167. package/esm/typography/text/Text.js.map +2 -2
  168. package/esm/typography/text/Text.sty.js +1 -1
  169. package/esm/typography/text/Text.sty.js.map +1 -1
  170. package/esm/typography/text-ellipsis/TextEllipsis.css +6 -6
  171. package/esm/typography/text-ellipsis/TextEllipsis.js +8 -1
  172. package/esm/typography/text-ellipsis/TextEllipsis.js.map +2 -2
  173. package/esm/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
  174. package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +1 -1
  175. package/layouts/container/Container.css +4 -4
  176. package/layouts/container/Container.sty.js +1 -1
  177. package/layouts/divider/Divider.css +6 -6
  178. package/layouts/divider/Divider.sty.js +1 -1
  179. package/layouts/surface/Surface.css +39 -39
  180. package/layouts/surface/Surface.js +2 -6
  181. package/layouts/surface/Surface.sty.js +2 -2
  182. package/layouts/surface/variables.sty.js +1 -1
  183. package/package.json +3 -3
  184. package/styles/colorUtils.css +60 -60
  185. package/styles/colorUtils.sty.js +2 -2
  186. package/styles/container.css +47 -47
  187. package/styles/container.sty.js +2 -2
  188. package/styles/ellipsis.css +1 -1
  189. package/styles/ellipsis.sty.js +1 -1
  190. package/styles/field.css +153 -153
  191. package/styles/field.sty.js +2 -2
  192. package/styles/sprinkles.css +262 -262
  193. package/styles/sprinkles.sty.js +1 -1
  194. package/styles/textStyle.css +8 -8
  195. package/styles/textStyle.sty.js +1 -1
  196. package/typography/block-quote/Blockquote.css +2 -2
  197. package/typography/block-quote/Blockquote.js +3 -1
  198. package/typography/block-quote/Blockquote.sty.js +1 -1
  199. package/typography/code/Code.css +1 -1
  200. package/typography/code/Code.js +3 -1
  201. package/typography/code/Code.sty.js +1 -1
  202. package/typography/emphasis/Emphasis.css +1 -1
  203. package/typography/emphasis/Emphasis.js +3 -1
  204. package/typography/emphasis/Emphasis.sty.js +1 -1
  205. package/typography/external-link/ExternalLink.css +8 -5
  206. package/typography/external-link/ExternalLink.js +6 -13
  207. package/typography/external-link/ExternalLink.sty.js +2 -1
  208. package/typography/heading/Heading.css +7 -7
  209. package/typography/heading/Heading.js +3 -1
  210. package/typography/heading/Heading.sty.js +1 -1
  211. package/typography/highlight/Highlight.css +2 -2
  212. package/typography/highlight/Highlight.js +3 -1
  213. package/typography/highlight/Highlight.sty.js +1 -1
  214. package/typography/link/Link.css +6 -3
  215. package/typography/link/Link.js +6 -19
  216. package/typography/link/Link.sty.js +2 -1
  217. package/typography/list/List.css +4 -4
  218. package/typography/list/List.js +3 -1
  219. package/typography/list/List.sty.js +2 -2
  220. package/typography/paragraph/Paragraph.css +3 -3
  221. package/typography/paragraph/Paragraph.js +3 -1
  222. package/typography/paragraph/Paragraph.sty.js +1 -1
  223. package/typography/strikethrough/Strikethrough.css +1 -1
  224. package/typography/strikethrough/Strikethrough.js +3 -1
  225. package/typography/strikethrough/Strikethrough.sty.js +1 -1
  226. package/typography/strong/Strong.css +1 -1
  227. package/typography/strong/Strong.js +3 -1
  228. package/typography/strong/Strong.sty.js +1 -1
  229. package/typography/text/Text.css +3 -3
  230. package/typography/text/Text.js +4 -1
  231. package/typography/text/Text.sty.js +1 -1
  232. package/typography/text-ellipsis/TextEllipsis.css +6 -6
  233. package/typography/text-ellipsis/TextEllipsis.js +8 -1
  234. package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
@@ -36,6 +36,7 @@ var import_clsx = __toESM(require("clsx"));
36
36
  var import_react = require("react");
37
37
  var import_Paragraph_css = require("./Paragraph.sty.js");
38
38
  var import_textStyle_css = require("../../styles/textStyle.sty.js");
39
+ const COMPONENT_NAME = "Paragraph";
39
40
  const Paragraph = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
40
41
  const {
41
42
  children,
@@ -68,8 +69,9 @@ const Paragraph = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
68
69
  "--strato-ellipsis-line-clamp": maxLines
69
70
  },
70
71
  ...remainingProps,
72
+ "data-dt-component": COMPONENT_NAME,
71
73
  children
72
74
  }
73
75
  );
74
76
  });
75
- Paragraph.displayName = "Paragraph";
77
+ Paragraph.displayName = COMPONENT_NAME;
@@ -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 paragraph = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_487p2n0-1-16-1", variantClassNames: { ellipsis: { singleLine: "_487p2n1-1-16-1", multiLine: "_487p2n2-1-16-1" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var paragraph = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_487p2n0-1-17-0", variantClassNames: { ellipsis: { singleLine: "_487p2n1-1-17-0", multiLine: "_487p2n2-1-17-0" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- ._4oao6y0-1-16-1 {
1
+ ._4oao6y0-1-17-0 {
2
2
  text-decoration: line-through;
3
3
  text-decoration-style: solid;
4
4
  overflow-wrap: break-word;
@@ -35,6 +35,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
35
35
  var import_clsx = __toESM(require("clsx"));
36
36
  var import_react = require("react");
37
37
  var import_Strikethrough_css = require("./Strikethrough.sty.js");
38
+ const COMPONENT_NAME = "Strikethrough";
38
39
  const Strikethrough = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
39
40
  const {
40
41
  children,
@@ -55,8 +56,9 @@ const Strikethrough = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref)
55
56
  className: (0, import_clsx.default)(import_Strikethrough_css.strikethroughCSS, consumerClassName),
56
57
  style: consumerStyle,
57
58
  ...remainingProps,
59
+ "data-dt-component": COMPONENT_NAME,
58
60
  children
59
61
  }
60
62
  );
61
63
  });
62
- Strikethrough.displayName = "Strikethrough";
64
+ Strikethrough.displayName = COMPONENT_NAME;
@@ -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-16-1";
25
+ var strikethroughCSS = "_4oao6y0-1-17-0";
@@ -1,4 +1,4 @@
1
- ._wxp4dd0-1-16-1 {
1
+ ._wxp4dd0-1-17-0 {
2
2
  font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
3
3
  overflow-wrap: break-word;
4
4
  }
@@ -35,6 +35,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
35
35
  var import_clsx = __toESM(require("clsx"));
36
36
  var import_react = require("react");
37
37
  var import_Strong_css = require("./Strong.sty.js");
38
+ const COMPONENT_NAME = "Strong";
38
39
  const Strong = /* @__PURE__ */ (0, import_react.forwardRef)(
39
40
  (props, ref) => {
40
41
  const {
@@ -56,9 +57,10 @@ const Strong = /* @__PURE__ */ (0, import_react.forwardRef)(
56
57
  className: (0, import_clsx.default)(import_Strong_css.strongCSS, consumerClassName),
57
58
  style: consumerStyle,
58
59
  ...remainingProps,
60
+ "data-dt-component": COMPONENT_NAME,
59
61
  children
60
62
  }
61
63
  );
62
64
  }
63
65
  );
64
- Strong.displayName = "Strong";
66
+ Strong.displayName = COMPONENT_NAME;
@@ -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-16-1";
25
+ var strongCSS = "_wxp4dd0-1-17-0";
@@ -1,16 +1,16 @@
1
- ._rup8ap0-1-16-1 {
1
+ ._rup8ap0-1-17-0 {
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-16-1 {
7
+ ._rup8ap1-1-17-0 {
8
8
  display: block;
9
9
  white-space: nowrap;
10
10
  text-overflow: ellipsis;
11
11
  overflow: hidden;
12
12
  }
13
- ._rup8ap2-1-16-1 {
13
+ ._rup8ap2-1-17-0 {
14
14
  display: -webkit-box;
15
15
  -webkit-line-clamp: var(--strato-ellipsis-line-clamp);
16
16
  -webkit-box-orient: vertical;
@@ -36,6 +36,7 @@ var import_clsx = __toESM(require("clsx"));
36
36
  var import_react = require("react");
37
37
  var import_Text_css = require("./Text.sty.js");
38
38
  var import_textStyle_css = require("../../styles/textStyle.sty.js");
39
+ const COMPONENT_NAME = "Text";
39
40
  const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
40
41
  ({
41
42
  children,
@@ -47,6 +48,7 @@ const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
47
48
  "data-testid": dataTestId,
48
49
  "data-dtrum-mask": dataDtrumMask,
49
50
  "data-dtrum-allow": dataDtrumAllow,
51
+ "data-dt-component": dataDtComponent = COMPONENT_NAME,
50
52
  ...remainingProps
51
53
  }, ref) => {
52
54
  const TextTag = as || "span";
@@ -57,6 +59,7 @@ const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
57
59
  "data-testid": dataTestId,
58
60
  "data-dtrum-mask": dataDtrumMask,
59
61
  "data-dtrum-allow": dataDtrumAllow,
62
+ "data-dt-component": dataDtComponent,
60
63
  ref,
61
64
  className: (0, import_clsx.default)([
62
65
  (0, import_Text_css.text)({ ellipsis }),
@@ -70,4 +73,4 @@ const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
70
73
  );
71
74
  }
72
75
  );
73
- Text.displayName = "Text";
76
+ Text.displayName = COMPONENT_NAME;
@@ -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 text = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_rup8ap0-1-16-1", variantClassNames: { ellipsis: { singleLine: "_rup8ap1-1-16-1", multiLine: "_rup8ap2-1-16-1" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var text = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_rup8ap0-1-17-0", variantClassNames: { ellipsis: { singleLine: "_rup8ap1-1-17-0", multiLine: "_rup8ap2-1-17-0" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- ._1mnpbqs1-1-16-1 {
1
+ ._1mnpbqs1-1-17-0 {
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-16-1 {
12
+ ._1mnpbqs2-1-17-0 {
13
13
  text-overflow: ellipsis;
14
14
  direction: rtl;
15
15
  text-align: left;
16
16
  }
17
- ._1mnpbqs2-1-16-1::after, ._1mnpbqs2-1-16-1::before {
17
+ ._1mnpbqs2-1-17-0::after, ._1mnpbqs2-1-17-0::before {
18
18
  content: "‎";
19
19
  }
20
- ._1mnpbqs3-1-16-1 {
20
+ ._1mnpbqs3-1-17-0 {
21
21
  text-overflow: clip;
22
22
  }
23
- ._1mnpbqs3-1-16-1._1mnpbqs0-1-16-1:after {
23
+ ._1mnpbqs3-1-17-0._1mnpbqs0-1-17-0: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-16-1 {
31
+ ._1mnpbqs4-1-17-0 {
32
32
  text-overflow: ellipsis;
33
33
  }
@@ -39,6 +39,7 @@ var import_useFontsUpdated = require("../../core/hooks/useFontsUpdated.js");
39
39
  var import_useMergeRefs = require("../../core/hooks/useMergeRefs.js");
40
40
  var import_utils = require("../utils.js");
41
41
  var styles = __toESM(require("./TextEllipsis.sty.js"));
42
+ const COMPONENT_NAME = "TextEllipsis";
42
43
  function getFontProps(innerSpanElement) {
43
44
  const computedStyle = window.getComputedStyle(innerSpanElement, null);
44
45
  return {
@@ -141,6 +142,7 @@ const ComputedTextEllipsis = /* @__PURE__ */ (0, import_react.forwardRef)((props
141
142
  }),
142
143
  style: consumerStyle,
143
144
  ...remainingProps,
145
+ "data-dt-component": COMPONENT_NAME,
144
146
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children })
145
147
  }
146
148
  );
@@ -152,6 +154,8 @@ const CssTextEllipsis = /* @__PURE__ */ (0, import_react.forwardRef)((props, for
152
154
  onTextOverflow,
153
155
  className: consumerClassName,
154
156
  style: consumerStyle,
157
+ "data-dtrum-mask": dataDtrumMask,
158
+ "data-dtrum-allow": dataDtrumAllow,
155
159
  "data-testid": dataTestId,
156
160
  ...remainingProps
157
161
  } = props;
@@ -162,9 +166,12 @@ const CssTextEllipsis = /* @__PURE__ */ (0, import_react.forwardRef)((props, for
162
166
  "aria-label": children,
163
167
  "data-ellipsis": true,
164
168
  "data-testid": dataTestId,
169
+ "data-dtrum-mask": dataDtrumMask,
170
+ "data-dtrum-allow": dataDtrumAllow,
165
171
  className: (0, import_clsx.default)(styles.ellipsis({ truncationMode }), consumerClassName),
166
172
  style: consumerStyle,
167
173
  ...remainingProps,
174
+ "data-dt-component": COMPONENT_NAME,
168
175
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children })
169
176
  }
170
177
  );
@@ -173,4 +180,4 @@ const TextEllipsis = /* @__PURE__ */ (0, import_react.forwardRef)((props, forwar
173
180
  const cssOnlyEllipsis = !props.onTextOverflow && props.truncationMode !== "middle";
174
181
  return cssOnlyEllipsis ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CssTextEllipsis, { ref: forwardedRef, ...props }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ComputedTextEllipsis, { ref: forwardedRef, ...props });
175
182
  });
176
- TextEllipsis.displayName = "TextEllipsis";
183
+ TextEllipsis.displayName = COMPONENT_NAME;
@@ -24,5 +24,5 @@ __export(TextEllipsis_css_exports, {
24
24
  module.exports = __toCommonJS(TextEllipsis_css_exports);
25
25
  var import_TextEllipsis_css_ts_vanilla = require("./TextEllipsis.css");
26
26
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
27
- var active = "_1mnpbqs0-1-16-1";
28
- var ellipsis = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1mnpbqs1-1-16-1", variantClassNames: { truncationMode: { start: "_1mnpbqs2-1-16-1", middle: "_1mnpbqs3-1-16-1", end: "_1mnpbqs4-1-16-1" } }, defaultVariants: {}, compoundVariants: [] });
27
+ var active = "_1mnpbqs0-1-17-0";
28
+ var ellipsis = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1mnpbqs1-1-17-0", variantClassNames: { truncationMode: { start: "_1mnpbqs2-1-17-0", middle: "_1mnpbqs3-1-17-0", end: "_1mnpbqs4-1-17-0" } }, defaultVariants: {}, compoundVariants: [] });