@dynatrace/strato-components 1.14.0 → 1.15.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 (218) hide show
  1. package/buttons/button/Button.css +16 -16
  2. package/buttons/button/Button.js +10 -10
  3. package/buttons/button/Button.sty.d.ts +4 -4
  4. package/buttons/button/Button.sty.js +8 -8
  5. package/buttons/button/Label.js +1 -1
  6. package/content/progress/ProgressBar.css +71 -71
  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.js +3 -3
  12. package/content/progress/ProgressBarLabel.sty.d.ts +1 -1
  13. package/content/progress/ProgressBarLabel.sty.js +2 -2
  14. package/content/progress/ProgressBarValue.css +5 -5
  15. package/content/progress/ProgressBarValue.js +2 -2
  16. package/content/progress/ProgressBarValue.sty.d.ts +1 -1
  17. package/content/progress/ProgressBarValue.sty.js +2 -2
  18. package/content/progress/ProgressCircle.css +40 -40
  19. package/content/progress/ProgressCircle.js +1 -1
  20. package/content/progress/ProgressCircle.sty.js +5 -5
  21. package/content/skeleton/Skeleton.css +7 -7
  22. package/content/skeleton/Skeleton.sty.js +5 -5
  23. package/core/styles/focusRing.css +66 -66
  24. package/core/styles/focusRing.sty.js +2 -2
  25. package/core/utils/colorUtils.css +60 -60
  26. package/core/utils/colorUtils.sty.js +2 -2
  27. package/core/utils/is-node-environment.d.ts +15 -0
  28. package/core/utils/is-node-environment.js +34 -0
  29. package/core/utils/logging.d.ts +8 -0
  30. package/core/utils/logging.js +33 -0
  31. package/esm/buttons/button/Button.css +16 -16
  32. package/esm/buttons/button/Button.js +11 -11
  33. package/esm/buttons/button/Button.js.map +2 -2
  34. package/esm/buttons/button/Button.sty.js +8 -8
  35. package/esm/buttons/button/Button.sty.js.map +2 -2
  36. package/esm/buttons/button/Label.js +2 -2
  37. package/esm/buttons/button/Label.js.map +2 -2
  38. package/esm/content/progress/ProgressBar.css +71 -71
  39. package/esm/content/progress/ProgressBar.sty.js +5 -5
  40. package/esm/content/progress/ProgressBar.sty.js.map +1 -1
  41. package/esm/content/progress/ProgressBarIcon.css +2 -2
  42. package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
  43. package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
  44. package/esm/content/progress/ProgressBarLabel.css +3 -3
  45. package/esm/content/progress/ProgressBarLabel.js +6 -6
  46. package/esm/content/progress/ProgressBarLabel.js.map +2 -2
  47. package/esm/content/progress/ProgressBarLabel.sty.js +2 -2
  48. package/esm/content/progress/ProgressBarLabel.sty.js.map +2 -2
  49. package/esm/content/progress/ProgressBarValue.css +5 -5
  50. package/esm/content/progress/ProgressBarValue.js +4 -4
  51. package/esm/content/progress/ProgressBarValue.js.map +2 -2
  52. package/esm/content/progress/ProgressBarValue.sty.js +2 -2
  53. package/esm/content/progress/ProgressBarValue.sty.js.map +2 -2
  54. package/esm/content/progress/ProgressCircle.css +40 -40
  55. package/esm/content/progress/ProgressCircle.js +2 -2
  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.sty.js +5 -5
  61. package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
  62. package/esm/core/hooks/useId.js.map +2 -2
  63. package/esm/core/styles/focusRing.css +66 -66
  64. package/esm/core/styles/focusRing.sty.js +2 -2
  65. package/esm/core/styles/focusRing.sty.js.map +1 -1
  66. package/esm/core/utils/colorUtils.css +60 -60
  67. package/esm/core/utils/colorUtils.sty.js +2 -2
  68. package/esm/core/utils/colorUtils.sty.js.map +1 -1
  69. package/esm/core/utils/is-node-environment.js +15 -0
  70. package/esm/core/utils/is-node-environment.js.map +7 -0
  71. package/esm/core/utils/logging.js +14 -0
  72. package/esm/core/utils/logging.js.map +7 -0
  73. package/esm/layouts/container/Container.css +4 -4
  74. package/esm/layouts/container/Container.sty.js +1 -1
  75. package/esm/layouts/container/Container.sty.js.map +1 -1
  76. package/esm/layouts/divider/Divider.css +6 -6
  77. package/esm/layouts/divider/Divider.sty.js +1 -1
  78. package/esm/layouts/divider/Divider.sty.js.map +1 -1
  79. package/esm/layouts/surface/Surface.css +39 -39
  80. package/esm/layouts/surface/Surface.js +4 -4
  81. package/esm/layouts/surface/Surface.js.map +2 -2
  82. package/esm/layouts/surface/Surface.sty.js +2 -2
  83. package/esm/layouts/surface/Surface.sty.js.map +1 -1
  84. package/esm/layouts/surface/variables.sty.js +1 -1
  85. package/esm/layouts/surface/variables.sty.js.map +1 -1
  86. package/esm/styles/colorUtils.css +60 -60
  87. package/esm/styles/colorUtils.sty.js +3 -3
  88. package/esm/styles/colorUtils.sty.js.map +2 -2
  89. package/esm/styles/container.css +47 -47
  90. package/esm/styles/container.sty.js +2 -2
  91. package/esm/styles/container.sty.js.map +1 -1
  92. package/esm/styles/ellipsis.css +1 -1
  93. package/esm/styles/ellipsis.sty.js +2 -2
  94. package/esm/styles/ellipsis.sty.js.map +2 -2
  95. package/esm/styles/field.css +153 -153
  96. package/esm/styles/field.sty.js +3 -3
  97. package/esm/styles/field.sty.js.map +2 -2
  98. package/esm/styles/index.js +2 -2
  99. package/esm/styles/index.js.map +2 -2
  100. package/esm/styles/sprinkles.css +262 -262
  101. package/esm/styles/sprinkles.sty.js +1 -1
  102. package/esm/styles/sprinkles.sty.js.map +1 -1
  103. package/esm/styles/textStyle.css +8 -8
  104. package/esm/styles/textStyle.sty.js +2 -2
  105. package/esm/styles/textStyle.sty.js.map +2 -2
  106. package/esm/typography/block-quote/Blockquote.css +2 -2
  107. package/esm/typography/block-quote/Blockquote.sty.js +1 -1
  108. package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
  109. package/esm/typography/code/Code.css +1 -1
  110. package/esm/typography/code/Code.sty.js +1 -1
  111. package/esm/typography/code/Code.sty.js.map +1 -1
  112. package/esm/typography/emphasis/Emphasis.css +1 -1
  113. package/esm/typography/emphasis/Emphasis.sty.js +1 -1
  114. package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
  115. package/esm/typography/external-link/ExternalLink.css +5 -5
  116. package/esm/typography/external-link/ExternalLink.sty.js +1 -1
  117. package/esm/typography/external-link/ExternalLink.sty.js.map +1 -1
  118. package/esm/typography/heading/Heading.css +7 -7
  119. package/esm/typography/heading/Heading.sty.js +1 -1
  120. package/esm/typography/heading/Heading.sty.js.map +1 -1
  121. package/esm/typography/highlight/Highlight.css +5 -6
  122. package/esm/typography/highlight/Highlight.js +45 -138
  123. package/esm/typography/highlight/Highlight.js.map +3 -3
  124. package/esm/typography/highlight/Highlight.sty.js +2 -4
  125. package/esm/typography/highlight/Highlight.sty.js.map +2 -2
  126. package/esm/typography/highlight/utils/create-ranged-highlights.js +51 -0
  127. package/esm/typography/highlight/utils/create-ranged-highlights.js.map +7 -0
  128. package/esm/typography/highlight/utils/get-or-create-shared-highlight.js +25 -0
  129. package/esm/typography/highlight/utils/get-or-create-shared-highlight.js.map +7 -0
  130. package/esm/typography/link/Link.css +3 -3
  131. package/esm/typography/link/Link.sty.js +1 -1
  132. package/esm/typography/link/Link.sty.js.map +1 -1
  133. package/esm/typography/list/List.css +4 -4
  134. package/esm/typography/list/List.sty.js +2 -2
  135. package/esm/typography/list/List.sty.js.map +1 -1
  136. package/esm/typography/paragraph/Paragraph.css +3 -3
  137. package/esm/typography/paragraph/Paragraph.js +3 -7
  138. package/esm/typography/paragraph/Paragraph.js.map +2 -2
  139. package/esm/typography/paragraph/Paragraph.sty.js +2 -2
  140. package/esm/typography/paragraph/Paragraph.sty.js.map +2 -2
  141. package/esm/typography/strikethrough/Strikethrough.css +1 -1
  142. package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
  143. package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
  144. package/esm/typography/strong/Strong.css +1 -1
  145. package/esm/typography/strong/Strong.sty.js +1 -1
  146. package/esm/typography/strong/Strong.sty.js.map +1 -1
  147. package/esm/typography/text/Text.css +3 -3
  148. package/esm/typography/text/Text.js +5 -5
  149. package/esm/typography/text/Text.js.map +2 -2
  150. package/esm/typography/text/Text.sty.js +2 -2
  151. package/esm/typography/text/Text.sty.js.map +2 -2
  152. package/esm/typography/text-ellipsis/TextEllipsis.css +6 -6
  153. package/esm/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
  154. package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +1 -1
  155. package/layouts/container/Container.css +4 -4
  156. package/layouts/container/Container.sty.js +1 -1
  157. package/layouts/divider/Divider.css +6 -6
  158. package/layouts/divider/Divider.sty.js +1 -1
  159. package/layouts/surface/Surface.css +39 -39
  160. package/layouts/surface/Surface.js +2 -2
  161. package/layouts/surface/Surface.sty.js +2 -2
  162. package/layouts/surface/variables.sty.js +1 -1
  163. package/package.json +3 -3
  164. package/styles/colorUtils.css +60 -60
  165. package/styles/colorUtils.sty.d.ts +1 -1
  166. package/styles/colorUtils.sty.js +3 -3
  167. package/styles/container.css +47 -47
  168. package/styles/container.sty.js +2 -2
  169. package/styles/ellipsis.css +1 -1
  170. package/styles/ellipsis.sty.d.ts +1 -1
  171. package/styles/ellipsis.sty.js +2 -2
  172. package/styles/field.css +153 -153
  173. package/styles/field.sty.d.ts +1 -1
  174. package/styles/field.sty.js +3 -3
  175. package/styles/index.d.ts +1 -1
  176. package/styles/index.js +1 -1
  177. package/styles/sprinkles.css +262 -262
  178. package/styles/sprinkles.sty.js +1 -1
  179. package/styles/textStyle.css +8 -8
  180. package/styles/textStyle.sty.d.ts +1 -1
  181. package/styles/textStyle.sty.js +2 -2
  182. package/typography/block-quote/Blockquote.css +2 -2
  183. package/typography/block-quote/Blockquote.sty.js +1 -1
  184. package/typography/code/Code.css +1 -1
  185. package/typography/code/Code.sty.js +1 -1
  186. package/typography/emphasis/Emphasis.css +1 -1
  187. package/typography/emphasis/Emphasis.sty.js +1 -1
  188. package/typography/external-link/ExternalLink.css +5 -5
  189. package/typography/external-link/ExternalLink.sty.js +1 -1
  190. package/typography/heading/Heading.css +7 -7
  191. package/typography/heading/Heading.sty.js +1 -1
  192. package/typography/highlight/Highlight.css +5 -6
  193. package/typography/highlight/Highlight.d.ts +1 -1
  194. package/typography/highlight/Highlight.js +43 -127
  195. package/typography/highlight/Highlight.sty.d.ts +1 -2
  196. package/typography/highlight/Highlight.sty.js +2 -4
  197. package/typography/highlight/utils/create-ranged-highlights.d.ts +10 -0
  198. package/typography/highlight/utils/create-ranged-highlights.js +70 -0
  199. package/typography/highlight/utils/get-or-create-shared-highlight.d.ts +7 -0
  200. package/typography/highlight/utils/get-or-create-shared-highlight.js +44 -0
  201. package/typography/link/Link.css +3 -3
  202. package/typography/link/Link.sty.js +1 -1
  203. package/typography/list/List.css +4 -4
  204. package/typography/list/List.sty.js +2 -2
  205. package/typography/paragraph/Paragraph.css +3 -3
  206. package/typography/paragraph/Paragraph.js +1 -5
  207. package/typography/paragraph/Paragraph.sty.d.ts +1 -1
  208. package/typography/paragraph/Paragraph.sty.js +2 -2
  209. package/typography/strikethrough/Strikethrough.css +1 -1
  210. package/typography/strikethrough/Strikethrough.sty.js +1 -1
  211. package/typography/strong/Strong.css +1 -1
  212. package/typography/strong/Strong.sty.js +1 -1
  213. package/typography/text/Text.css +3 -3
  214. package/typography/text/Text.js +3 -3
  215. package/typography/text/Text.sty.d.ts +1 -1
  216. package/typography/text/Text.sty.js +2 -2
  217. package/typography/text-ellipsis/TextEllipsis.css +6 -6
  218. package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
@@ -0,0 +1,7 @@
1
+ export declare const HIGHLIGHT_NAME = "strato-typography-highlight";
2
+ /**
3
+ * Gets or creates the shared text highlight.
4
+ * All Highlight components share the same highlight instance.
5
+ * @internal
6
+ */
7
+ export declare function getOrCreateSharedHighlight(): Set<AbstractRange> | Highlight;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var get_or_create_shared_highlight_exports = {};
20
+ __export(get_or_create_shared_highlight_exports, {
21
+ HIGHLIGHT_NAME: () => HIGHLIGHT_NAME,
22
+ getOrCreateSharedHighlight: () => getOrCreateSharedHighlight
23
+ });
24
+ module.exports = __toCommonJS(get_or_create_shared_highlight_exports);
25
+ var import_logging = require("../../../core/utils/logging.js");
26
+ const HIGHLIGHT_NAME = "strato-typography-highlight";
27
+ let sharedHighlight = null;
28
+ function getOrCreateSharedHighlight() {
29
+ if (sharedHighlight) {
30
+ return sharedHighlight;
31
+ }
32
+ if ("Highlight" in window) {
33
+ sharedHighlight = new Highlight();
34
+ if (sharedHighlight instanceof Highlight) {
35
+ CSS.highlights.set(HIGHLIGHT_NAME, sharedHighlight);
36
+ }
37
+ } else {
38
+ sharedHighlight = /* @__PURE__ */ new Set();
39
+ (0, import_logging.devLog)(
40
+ "CSS Highlight API is not supported in this browser. Text highlighting will not be visible."
41
+ );
42
+ }
43
+ return sharedHighlight;
44
+ }
@@ -1,12 +1,12 @@
1
- ._1iksxp40-1-14-0 {
1
+ ._1iksxp40-1-15-0 {
2
2
  display: inline;
3
3
  color: var(--dt-colors-text-primary-default, #464cce);
4
4
  text-decoration: underline;
5
5
  overflow-wrap: anywhere;
6
6
  }
7
- ._1iksxp40-1-14-0:hover {
7
+ ._1iksxp40-1-15-0:hover {
8
8
  color: var(--dt-colors-text-primary-default-hover, #3431b3);
9
9
  }
10
- ._1iksxp40-1-14-0:active {
10
+ ._1iksxp40-1-15-0:active {
11
11
  color: var(--dt-colors-text-primary-default-active, #250f98);
12
12
  }
@@ -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 link = "_1iksxp40-1-14-0";
25
+ var link = "_1iksxp40-1-15-0";
@@ -1,16 +1,16 @@
1
- ._16276mt0-1-14-0 {
1
+ ._16276mt0-1-15-0 {
2
2
  margin: 0;
3
3
  padding-left: var(--dt-spacings-size-40, 40px);
4
4
  }
5
- ._16276mt0-1-14-0 ._16276mt0-1-14-0 {
5
+ ._16276mt0-1-15-0 ._16276mt0-1-15-0 {
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-14-0 {
9
+ ._16276mt1-1-15-0 {
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-14-0::marker {
14
+ ._16276mt1-1-15-0::marker {
15
15
  font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
16
16
  }
@@ -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-14-0";
27
- var listItemCSS = "_16276mt1-1-14-0";
26
+ var listCSS = "_16276mt0-1-15-0";
27
+ var listItemCSS = "_16276mt1-1-15-0";
@@ -1,17 +1,17 @@
1
- ._487p2n0-1-14-0 {
1
+ ._487p2n0-1-15-0 {
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-14-0 {
8
+ ._487p2n1-1-15-0 {
9
9
  display: block;
10
10
  white-space: nowrap;
11
11
  text-overflow: ellipsis;
12
12
  overflow: hidden;
13
13
  }
14
- ._487p2n2-1-14-0 {
14
+ ._487p2n2-1-15-0 {
15
15
  display: -webkit-box;
16
16
  -webkit-line-clamp: var(--strato-ellipsis-line-clamp);
17
17
  -webkit-box-orient: vertical;
@@ -62,11 +62,7 @@ const Paragraph = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
62
62
  "data-testid": dataTestId,
63
63
  "data-dtrum-mask": dataDtrumMask,
64
64
  "data-dtrum-allow": dataDtrumAllow,
65
- className: (0, import_clsx.default)(
66
- (0, import_Paragraph_css.paragraphCSS)({ ellipsis }),
67
- (0, import_textStyle_css.textStyleCSS)(),
68
- consumerClassName
69
- ),
65
+ className: (0, import_clsx.default)((0, import_Paragraph_css.paragraph)({ ellipsis }), (0, import_textStyle_css.textStyle)(), consumerClassName),
70
66
  style: {
71
67
  ...consumerStyle,
72
68
  "--strato-ellipsis-line-clamp": maxLines
@@ -1,4 +1,4 @@
1
- export declare const paragraphCSS: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const paragraph: import("@vanilla-extract/recipes").RuntimeFn<{
2
2
  ellipsis: {
3
3
  singleLine: {
4
4
  display: "block";
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Paragraph_css_exports = {};
20
20
  __export(Paragraph_css_exports, {
21
- paragraphCSS: () => paragraphCSS
21
+ paragraph: () => paragraph
22
22
  });
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-14-0", variantClassNames: { ellipsis: { singleLine: "_487p2n1-1-14-0", multiLine: "_487p2n2-1-14-0" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var paragraph = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_487p2n0-1-15-0", variantClassNames: { ellipsis: { singleLine: "_487p2n1-1-15-0", multiLine: "_487p2n2-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- ._4oao6y0-1-14-0 {
1
+ ._4oao6y0-1-15-0 {
2
2
  text-decoration: line-through;
3
3
  text-decoration-style: solid;
4
4
  overflow-wrap: break-word;
@@ -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-14-0";
25
+ var strikethroughCSS = "_4oao6y0-1-15-0";
@@ -1,4 +1,4 @@
1
- ._wxp4dd0-1-14-0 {
1
+ ._wxp4dd0-1-15-0 {
2
2
  font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
3
3
  overflow-wrap: break-word;
4
4
  }
@@ -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-14-0";
25
+ var strongCSS = "_wxp4dd0-1-15-0";
@@ -1,16 +1,16 @@
1
- ._rup8ap0-1-14-0 {
1
+ ._rup8ap0-1-15-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-14-0 {
7
+ ._rup8ap1-1-15-0 {
8
8
  display: block;
9
9
  white-space: nowrap;
10
10
  text-overflow: ellipsis;
11
11
  overflow: hidden;
12
12
  }
13
- ._rup8ap2-1-14-0 {
13
+ ._rup8ap2-1-15-0 {
14
14
  display: -webkit-box;
15
15
  -webkit-line-clamp: var(--strato-ellipsis-line-clamp);
16
16
  -webkit-box-orient: vertical;
@@ -39,7 +39,7 @@ var import_textStyle_css = require("../../styles/textStyle.sty.js");
39
39
  const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
40
40
  ({
41
41
  children,
42
- textStyle,
42
+ textStyle: textStyleProp,
43
43
  fontStyle,
44
44
  as,
45
45
  className: consumerClassName,
@@ -59,8 +59,8 @@ const Text = /* @__PURE__ */ (0, import_react.forwardRef)(
59
59
  "data-dtrum-allow": dataDtrumAllow,
60
60
  ref,
61
61
  className: (0, import_clsx.default)([
62
- (0, import_Text_css.textCSS)({ ellipsis }),
63
- (fontStyle || textStyle) && (0, import_textStyle_css.textStyleCSS)({ fontStyle, textStyle }),
62
+ (0, import_Text_css.text)({ ellipsis }),
63
+ (fontStyle || textStyleProp) && (0, import_textStyle_css.textStyle)({ fontStyle, textStyle: textStyleProp }),
64
64
  consumerClassName
65
65
  ]),
66
66
  style: consumerStyle,
@@ -1,4 +1,4 @@
1
- export declare const textCSS: import("@vanilla-extract/recipes").RuntimeFn<{
1
+ export declare const text: import("@vanilla-extract/recipes").RuntimeFn<{
2
2
  ellipsis: {
3
3
  singleLine: {
4
4
  display: "block";
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Text_css_exports = {};
20
20
  __export(Text_css_exports, {
21
- textCSS: () => textCSS
21
+ text: () => text
22
22
  });
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-14-0", variantClassNames: { ellipsis: { singleLine: "_rup8ap1-1-14-0", multiLine: "_rup8ap2-1-14-0" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var text = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_rup8ap0-1-15-0", variantClassNames: { ellipsis: { singleLine: "_rup8ap1-1-15-0", multiLine: "_rup8ap2-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- ._1mnpbqs1-1-14-0 {
1
+ ._1mnpbqs1-1-15-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-14-0 {
12
+ ._1mnpbqs2-1-15-0 {
13
13
  text-overflow: ellipsis;
14
14
  direction: rtl;
15
15
  text-align: left;
16
16
  }
17
- ._1mnpbqs2-1-14-0::after, ._1mnpbqs2-1-14-0::before {
17
+ ._1mnpbqs2-1-15-0::after, ._1mnpbqs2-1-15-0::before {
18
18
  content: "‎";
19
19
  }
20
- ._1mnpbqs3-1-14-0 {
20
+ ._1mnpbqs3-1-15-0 {
21
21
  text-overflow: clip;
22
22
  }
23
- ._1mnpbqs3-1-14-0._1mnpbqs0-1-14-0:after {
23
+ ._1mnpbqs3-1-15-0._1mnpbqs0-1-15-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-14-0 {
31
+ ._1mnpbqs4-1-15-0 {
32
32
  text-overflow: ellipsis;
33
33
  }
@@ -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-14-0";
28
- var ellipsis = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1mnpbqs1-1-14-0", variantClassNames: { truncationMode: { start: "_1mnpbqs2-1-14-0", middle: "_1mnpbqs3-1-14-0", end: "_1mnpbqs4-1-14-0" } }, defaultVariants: {}, compoundVariants: [] });
27
+ var active = "_1mnpbqs0-1-15-0";
28
+ var ellipsis = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1mnpbqs1-1-15-0", variantClassNames: { truncationMode: { start: "_1mnpbqs2-1-15-0", middle: "_1mnpbqs3-1-15-0", end: "_1mnpbqs4-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });