@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
@@ -1,4 +1,4 @@
1
- @keyframes _kvldjh3-1-5-1 {
1
+ @keyframes _kvldjh3-1-6-2 {
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -6,79 +6,79 @@
6
6
  transform: rotate(360deg);
7
7
  }
8
8
  }
9
- ._kvldjh4-1-5-1 {
9
+ ._kvldjh4-1-6-2 {
10
10
  display: inline-block;
11
11
  }
12
- ._kvldjh5-1-5-1 {
12
+ ._kvldjh5-1-6-2 {
13
13
  display: block;
14
14
  transform: rotate(-90deg);
15
15
  }
16
- ._kvldjh6-1-5-1 {
17
- stroke: var(--_kvldjh2-1-5-1);
16
+ ._kvldjh6-1-6-2 {
17
+ stroke: var(--_kvldjh2-1-6-2);
18
18
  transform-origin: center;
19
19
  }
20
- ._kvldjh7-1-5-1 {
20
+ ._kvldjh7-1-6-2 {
21
21
  stroke-dasharray: 90 360;
22
22
  transform-origin: 50% 50%;
23
- animation-name: _kvldjh3-1-5-1;
23
+ animation-name: _kvldjh3-1-6-2;
24
24
  animation-duration: var(--dt-timings-slow-gentle, 800ms);
25
25
  animation-timing-function: cubic-bezier(0.5, 0.15, 0.5, 0.8);
26
26
  animation-iteration-count: infinite;
27
27
  }
28
- ._kvldjh8-1-5-1 {
28
+ ._kvldjh8-1-6-2 {
29
29
  animation-duration: var(--dt-timings-fast-moderate, 200ms);
30
30
  transition-property: stroke-dashoffset;
31
31
  }
32
- ._kvldjh9-1-5-1 {
33
- stroke: var(--_kvldjh1-1-5-1);
32
+ ._kvldjh9-1-6-2 {
33
+ stroke: var(--_kvldjh1-1-6-2);
34
34
  }
35
- ._kvldjha-1-5-1 {
35
+ ._kvldjha-1-6-2 {
36
36
  display: flex;
37
37
  flex-direction: column;
38
38
  align-items: center;
39
- color: var(--_kvldjh0-1-5-1);
39
+ color: var(--_kvldjh0-1-6-2);
40
40
  }
41
- ._kvldjhb-1-5-1 {
41
+ ._kvldjhb-1-6-2 {
42
42
  gap: var(--dt-spacings-size-8, 8px);
43
43
  }
44
- ._kvldjhc-1-5-1 {
44
+ ._kvldjhc-1-6-2 {
45
45
  gap: var(--dt-spacings-size-12, 12px);
46
46
  }
47
- ._kvldjhd-1-5-1 {
48
- --_kvldjh2-1-5-1: var(--dt-colors-border-critical-accent, #b80031);
47
+ ._kvldjhd-1-6-2 {
48
+ --_kvldjh2-1-6-2: var(--dt-colors-border-critical-accent, #b80031);
49
49
  }
50
- ._kvldjhe-1-5-1 {
51
- --_kvldjh2-1-5-1: var(--dt-colors-border-neutral-accent, #545587);
50
+ ._kvldjhe-1-6-2 {
51
+ --_kvldjh2-1-6-2: var(--dt-colors-border-neutral-accent, #545587);
52
52
  }
53
- ._kvldjhf-1-5-1 {
54
- --_kvldjh2-1-5-1: var(--dt-colors-border-primary-accent, #454cc9);
53
+ ._kvldjhf-1-6-2 {
54
+ --_kvldjh2-1-6-2: var(--dt-colors-border-primary-accent, #454cc9);
55
55
  }
56
- ._kvldjhg-1-5-1 {
57
- --_kvldjh2-1-5-1: var(--dt-colors-border-success-accent, #2c6360);
56
+ ._kvldjhg-1-6-2 {
57
+ --_kvldjh2-1-6-2: var(--dt-colors-border-success-accent, #2c6360);
58
58
  }
59
- ._kvldjhh-1-5-1 {
60
- --_kvldjh2-1-5-1: var(--dt-colors-border-warning-accent, #805100);
59
+ ._kvldjhh-1-6-2 {
60
+ --_kvldjh2-1-6-2: var(--dt-colors-border-warning-accent, #805100);
61
61
  }
62
- ._kvldjhi-1-5-1 {
63
- --_kvldjh0-1-5-1: var(--dt-colors-text-neutral-default, #2b2a58);
64
- --_kvldjh1-1-5-1: var(--dt-colors-border-neutral-default, #d2d3e1);
62
+ ._kvldjhi-1-6-2 {
63
+ --_kvldjh0-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
64
+ --_kvldjh1-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
65
65
  }
66
- ._kvldjhj-1-5-1 {
67
- --_kvldjh0-1-5-1: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
68
- --_kvldjh1-1-5-1: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
66
+ ._kvldjhj-1-6-2 {
67
+ --_kvldjh0-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
68
+ --_kvldjh1-1-6-2: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
69
69
  }
70
- ._kvldjhk-1-5-1 {
71
- --_kvldjh2-1-5-1: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
70
+ ._kvldjhk-1-6-2 {
71
+ --_kvldjh2-1-6-2: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
72
72
  }
73
- ._kvldjhl-1-5-1 {
74
- --_kvldjh2-1-5-1: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
73
+ ._kvldjhl-1-6-2 {
74
+ --_kvldjh2-1-6-2: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
75
75
  }
76
- ._kvldjhm-1-5-1 {
77
- --_kvldjh2-1-5-1: var(--dt-colors-border-warning-on-accent-default, #272025);
76
+ ._kvldjhm-1-6-2 {
77
+ --_kvldjh2-1-6-2: var(--dt-colors-border-warning-on-accent-default, #272025);
78
78
  }
79
- ._kvldjhn-1-5-1 {
80
- --_kvldjh2-1-5-1: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
79
+ ._kvldjhn-1-6-2 {
80
+ --_kvldjh2-1-6-2: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
81
81
  }
82
- ._kvldjho-1-5-1 {
83
- --_kvldjh2-1-5-1: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
82
+ ._kvldjho-1-6-2 {
83
+ --_kvldjh2-1-6-2: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
84
84
  }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type AriaLabelingProps } from '../../core/types/a11y-props.js';
3
2
  import { type DataTestId } from '../../core/types/data-props.js';
4
3
  import { type DOMProps } from '../../core/types/dom.js';
@@ -47,4 +46,4 @@ export interface ProgressCircleProps extends WithChildren, DOMProps, AriaLabelin
47
46
  * The `ProgressCircle` component is used to indicate the progress or completion status of a task or process.
48
47
  * @public
49
48
  * */
50
- export declare const ProgressCircle: (props: ProgressCircleProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
49
+ export declare const ProgressCircle: (props: ProgressCircleProps & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
@@ -31,8 +31,9 @@ __export(ProgressCircle_exports, {
31
31
  ProgressCircle: () => ProgressCircle
32
32
  });
33
33
  module.exports = __toCommonJS(ProgressCircle_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_useProgressAriaProps = require("./hooks/useProgressAriaProps.js");
37
38
  var import_ProgressCircle_css = require("./ProgressCircle.sty.js");
38
39
  var import_useAriaLabelingProps = require("../../core/hooks/useAriaLabelingProps.js");
@@ -93,7 +94,7 @@ const ProgressCircle = (0, import_react.forwardRef)(
93
94
  "If no label is provided please make sure to provide an aria label on your progressCircle element."
94
95
  );
95
96
  }
96
- return /* @__PURE__ */ import_react.default.createElement(
97
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
97
98
  "div",
98
99
  {
99
100
  "data-testid": dataTestId,
@@ -113,65 +114,69 @@ const ProgressCircle = (0, import_react.forwardRef)(
113
114
  })
114
115
  ),
115
116
  style: consumerStyle,
116
- ...forwardProps
117
- },
118
- /* @__PURE__ */ import_react.default.createElement(
119
- "span",
120
- {
121
- id,
122
- className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleRootCSS),
123
- style: {
124
- height: `${progressCircleSizes[size]}px`,
125
- width: `${progressCircleSizes[size]}px`
126
- },
127
- ...ariaLabelingProps,
128
- ...progressAriaProps,
129
- ...rootProps
130
- },
131
- /* @__PURE__ */ import_react.default.createElement(
132
- "svg",
133
- {
134
- className: import_ProgressCircle_css.progressCircleSvgCss,
135
- viewBox: `0 0 ${progressCircleSizes[size]} ${progressCircleSizes[size]}`,
136
- width: "100%",
137
- height: "100%"
138
- },
139
- /* @__PURE__ */ import_react.default.createElement(
140
- "circle",
117
+ ...forwardProps,
118
+ children: [
119
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
120
+ "span",
141
121
  {
142
- fill: "none",
143
- className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleBackgroundCSS),
144
- cx: progressCircleSizes[size] / 2,
145
- cy: progressCircleSizes[size] / 2,
146
- r: (progressCircleSizes[size] - progressCircleThickness) / 2,
147
- strokeWidth: progressCircleThickness
122
+ id,
123
+ className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleRootCSS),
124
+ style: {
125
+ height: `${progressCircleSizes[size]}px`,
126
+ width: `${progressCircleSizes[size]}px`
127
+ },
128
+ ...ariaLabelingProps,
129
+ ...progressAriaProps,
130
+ ...rootProps,
131
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
132
+ "svg",
133
+ {
134
+ className: import_ProgressCircle_css.progressCircleSvgCss,
135
+ viewBox: `0 0 ${progressCircleSizes[size]} ${progressCircleSizes[size]}`,
136
+ width: "100%",
137
+ height: "100%",
138
+ children: [
139
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
140
+ "circle",
141
+ {
142
+ fill: "none",
143
+ className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleBackgroundCSS),
144
+ cx: progressCircleSizes[size] / 2,
145
+ cy: progressCircleSizes[size] / 2,
146
+ r: (progressCircleSizes[size] - progressCircleThickness) / 2,
147
+ strokeWidth: progressCircleThickness
148
+ }
149
+ ),
150
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
151
+ "circle",
152
+ {
153
+ style: circleStyles,
154
+ className: (0, import_ProgressCircle_css.progressCircleCSS)({ indeterminate: isIndeterminate }),
155
+ fill: "none",
156
+ pathLength: isIndeterminate ? 360 : circleStyles["strokeDasharray"],
157
+ cx: progressCircleSizes[size] / 2,
158
+ cy: progressCircleSizes[size] / 2,
159
+ r: (progressCircleSizes[size] - progressCircleThickness) / 2,
160
+ strokeWidth: progressCircleThickness
161
+ }
162
+ )
163
+ ]
164
+ }
165
+ )
148
166
  }
149
167
  ),
150
- /* @__PURE__ */ import_react.default.createElement(
151
- "circle",
168
+ children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
169
+ "label",
152
170
  {
153
- style: circleStyles,
154
- className: (0, import_ProgressCircle_css.progressCircleCSS)({ indeterminate: isIndeterminate }),
155
- fill: "none",
156
- pathLength: isIndeterminate ? 360 : circleStyles["strokeDasharray"],
157
- cx: progressCircleSizes[size] / 2,
158
- cy: progressCircleSizes[size] / 2,
159
- r: (progressCircleSizes[size] - progressCircleThickness) / 2,
160
- strokeWidth: progressCircleThickness
171
+ className: (0, import_clsx.default)(
172
+ (0, import_textStyle_css.textStyleCSS)({ textStyle: size === "small" ? "small" : "base" })
173
+ ),
174
+ htmlFor: id,
175
+ children
161
176
  }
162
177
  )
163
- )
164
- ),
165
- children && /* @__PURE__ */ import_react.default.createElement(
166
- "label",
167
- {
168
- className: (0, import_clsx.default)(
169
- (0, import_textStyle_css.textStyleCSS)({ textStyle: size === "small" ? "small" : "base" })
170
- ),
171
- htmlFor: id
172
- },
173
- children
174
- )
178
+ ]
179
+ }
175
180
  );
176
181
  }
177
182
  );
@@ -27,8 +27,8 @@ __export(ProgressCircle_css_exports, {
27
27
  module.exports = __toCommonJS(ProgressCircle_css_exports);
28
28
  var import_ProgressCircle_css_ts_vanilla = require("./ProgressCircle.css");
29
29
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
30
- var progressCircleBackgroundCSS = "_kvldjh9-1-5-1";
31
- var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-5-1", variantClassNames: { indeterminate: { true: "_kvldjh7-1-5-1", false: "_kvldjh8-1-5-1" } }, defaultVariants: {}, compoundVariants: [] });
32
- var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-5-1", variantClassNames: { size: { small: "_kvldjhb-1-5-1", large: "_kvldjhc-1-5-1" }, color: { critical: "_kvldjhd-1-5-1", neutral: "_kvldjhe-1-5-1", primary: "_kvldjhf-1-5-1", success: "_kvldjhg-1-5-1", warning: "_kvldjhh-1-5-1" }, variant: { "default": "_kvldjhi-1-5-1", accent: "_kvldjhj-1-5-1" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_kvldjhk-1-5-1"], [{ color: "success", variant: "accent" }, "_kvldjhl-1-5-1"], [{ color: "warning", variant: "accent" }, "_kvldjhm-1-5-1"], [{ color: "critical", variant: "accent" }, "_kvldjhn-1-5-1"], [{ color: "neutral", variant: "accent" }, "_kvldjho-1-5-1"]] });
33
- var progressCircleRootCSS = "_kvldjh4-1-5-1";
34
- var progressCircleSvgCss = "_kvldjh5-1-5-1";
30
+ var progressCircleBackgroundCSS = "_kvldjh9-1-6-2";
31
+ var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-6-2", variantClassNames: { indeterminate: { true: "_kvldjh7-1-6-2", false: "_kvldjh8-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
32
+ var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-6-2", variantClassNames: { size: { small: "_kvldjhb-1-6-2", large: "_kvldjhc-1-6-2" }, color: { critical: "_kvldjhd-1-6-2", neutral: "_kvldjhe-1-6-2", primary: "_kvldjhf-1-6-2", success: "_kvldjhg-1-6-2", warning: "_kvldjhh-1-6-2" }, variant: { "default": "_kvldjhi-1-6-2", accent: "_kvldjhj-1-6-2" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_kvldjhk-1-6-2"], [{ color: "success", variant: "accent" }, "_kvldjhl-1-6-2"], [{ color: "warning", variant: "accent" }, "_kvldjhm-1-6-2"], [{ color: "critical", variant: "accent" }, "_kvldjhn-1-6-2"], [{ color: "neutral", variant: "accent" }, "_kvldjho-1-6-2"]] });
33
+ var progressCircleRootCSS = "_kvldjh4-1-6-2";
34
+ var progressCircleSvgCss = "_kvldjh5-1-6-2";
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  export type SharedProgressBarProps = {
3
2
  id: string;
4
3
  density: 'default' | 'condensed';
5
4
  };
6
5
  /** Context provider for `ProgressBarProps` props meant to be provided to all its progressbar-related child nodes. */
7
- export declare const SharedProgressBarPropsContext: React.Context<SharedProgressBarProps>;
6
+ export declare const SharedProgressBarPropsContext: import("react").Context<SharedProgressBarProps>;
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,22 +15,14 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
  var SharedProgressBarPropsContext_exports = {};
30
20
  __export(SharedProgressBarPropsContext_exports, {
31
21
  SharedProgressBarPropsContext: () => SharedProgressBarPropsContext
32
22
  });
33
23
  module.exports = __toCommonJS(SharedProgressBarPropsContext_exports);
34
- var import_react = __toESM(require("react"));
35
- const SharedProgressBarPropsContext = import_react.default.createContext({
24
+ var import_react = require("react");
25
+ const SharedProgressBarPropsContext = (0, import_react.createContext)({
36
26
  id: "",
37
27
  density: "default"
38
28
  });
@@ -1,4 +1,4 @@
1
- @keyframes _1a1ozfd0-1-5-1 {
1
+ @keyframes _1a1ozfd0-1-6-2 {
2
2
  0% {
3
3
  transform: translateX(-100%) scaleX(0);
4
4
  }
@@ -6,12 +6,12 @@
6
6
  transform: translateX(100%) scaleX(1.5);
7
7
  }
8
8
  }
9
- ._1a1ozfd1-1-5-1 {
9
+ ._1a1ozfd1-1-6-2 {
10
10
  position: relative;
11
11
  overflow: hidden;
12
12
  background-color: var(--dt-colors-background-field-neutral-disabled, #dadbe780);
13
13
  }
14
- ._1a1ozfd1-1-5-1:after {
14
+ ._1a1ozfd1-1-6-2:after {
15
15
  content: "";
16
16
  position: absolute;
17
17
  top: 0;
@@ -21,13 +21,13 @@
21
21
  background-color: var(--dt-colors-background-field-neutral-disabled, #dadbe780);
22
22
  animation-iteration-count: infinite;
23
23
  transform-origin: left center;
24
- animation-name: _1a1ozfd0-1-5-1;
24
+ animation-name: _1a1ozfd0-1-6-2;
25
25
  animation-duration: var(--dt-timings-slow-gentle, 800ms);
26
26
  animation-timing-function: var(--dt-easings-fast-in-slow-out, cubic-bezier(0.4, 0, 0.2, 1));
27
27
  }
28
- ._1a1ozfd2-1-5-1 {
28
+ ._1a1ozfd2-1-6-2 {
29
29
  border-radius: var(--dt-borders-radius-container-subdued, 8px);
30
30
  }
31
- ._1a1ozfd3-1-5-1 {
31
+ ._1a1ozfd3-1-6-2 {
32
32
  border-radius: 9999px;
33
33
  }
@@ -1,4 +1,4 @@
1
- import React, { CSSProperties } from 'react';
1
+ import { type CSSProperties } from 'react';
2
2
  import { type DataTestId } from '../../core/types/data-props.js';
3
3
  import { type StylingProps } from '../../core/types/styling-props.js';
4
4
  import { type WithChildren } from '../../core/types/with-children.js';
@@ -27,4 +27,4 @@ export interface SkeletonProps extends WithChildren, StylingProps, DataTestId {
27
27
  * The `Skeleton` component renders a colored block with an animated background, indicating that something is loading.
28
28
  * @public
29
29
  */
30
- export declare const Skeleton: (props: SkeletonProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
30
+ export declare const Skeleton: (props: SkeletonProps & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
@@ -31,8 +31,9 @@ __export(Skeleton_exports, {
31
31
  Skeleton: () => Skeleton
32
32
  });
33
33
  module.exports = __toCommonJS(Skeleton_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_Skeleton_css = require("./Skeleton.sty.js");
37
38
  const Skeleton = (0, import_react.forwardRef)(
38
39
  (props, forwardedRef) => {
@@ -46,16 +47,16 @@ const Skeleton = (0, import_react.forwardRef)(
46
47
  "data-testid": dataTestId,
47
48
  ...remainingProps
48
49
  } = props;
49
- return /* @__PURE__ */ import_react.default.createElement(
50
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
50
51
  "div",
51
52
  {
52
53
  "data-testid": dataTestId,
53
54
  ref: forwardedRef,
54
55
  className: (0, import_clsx.default)((0, import_Skeleton_css.skeletonPlaceholderCSS)({ variant }), consumerClassName),
55
56
  style: { width, height, ...consumerStyle },
56
- ...remainingProps
57
- },
58
- children
57
+ ...remainingProps,
58
+ children
59
+ }
59
60
  );
60
61
  }
61
62
  );
@@ -23,4 +23,4 @@ __export(Skeleton_css_exports, {
23
23
  module.exports = __toCommonJS(Skeleton_css_exports);
24
24
  var import_Skeleton_css_ts_vanilla = require("./Skeleton.css");
25
25
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
26
- var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd1-1-5-1", variantClassNames: { variant: { "default": "_1a1ozfd2-1-5-1", rounded: "_1a1ozfd3-1-5-1" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd1-1-6-2", variantClassNames: { variant: { "default": "_1a1ozfd2-1-6-2", rounded: "_1a1ozfd3-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- import React, { type CSSProperties } from 'react';
1
+ import { type CSSProperties } from 'react';
2
2
  import { type DataTestId } from '../../core/types/data-props.js';
3
3
  import { type StylingProps } from '../../core/types/styling-props.js';
4
4
  /**
@@ -21,4 +21,4 @@ export interface SkeletonTextProps extends StylingProps, DataTestId {
21
21
  * The `SkeletonText` component renders a specified number of placeholder boxes for lines of text with an animated background.
22
22
  * @public
23
23
  */
24
- export declare const SkeletonText: (props: SkeletonTextProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
24
+ export declare const SkeletonText: (props: SkeletonTextProps & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,21 +15,14 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
  var SkeletonText_exports = {};
30
20
  __export(SkeletonText_exports, {
31
21
  SkeletonText: () => SkeletonText
32
22
  });
33
23
  module.exports = __toCommonJS(SkeletonText_exports);
34
- var import_react = __toESM(require("react"));
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_react = require("react");
35
26
  var import_Skeleton = require("./Skeleton.js");
36
27
  var import_Flex = require("../../layouts/flex/Flex.js");
37
28
  const SkeletonText = (0, import_react.forwardRef)(
@@ -55,19 +46,19 @@ const SkeletonText = (0, import_react.forwardRef)(
55
46
  for (let line = 0; line < lines2; line++) {
56
47
  const width2 = `calc(100% - ${getSkeletonLinesMargin(line, lines2)}px)`;
57
48
  render.push(
58
- /* @__PURE__ */ import_react.default.createElement(
49
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
59
50
  import_Skeleton.Skeleton,
60
51
  {
61
- key: `${lines2}-${line}`,
62
52
  width: width2,
63
53
  height: "12px"
64
- }
54
+ },
55
+ `${lines2}-${line}`
65
56
  )
66
57
  );
67
58
  }
68
59
  return render;
69
60
  };
70
- return /* @__PURE__ */ import_react.default.createElement(
61
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
71
62
  import_Flex.Flex,
72
63
  {
73
64
  "data-testid": dataTestId,
@@ -77,9 +68,9 @@ const SkeletonText = (0, import_react.forwardRef)(
77
68
  paddingY: 4,
78
69
  className: consumerClassName,
79
70
  style: { width, ...consumerStyle },
80
- ...remainingProps
81
- },
82
- getSkeletonLines(lines)
71
+ ...remainingProps,
72
+ children: getSkeletonLines(lines)
73
+ }
83
74
  );
84
75
  }
85
76
  );
@@ -1,4 +1,4 @@
1
- import React, { type PropsWithChildren } from 'react';
1
+ import { type PropsWithChildren } from 'react';
2
2
  import 'wicg-inert';
3
3
  import './AppRoot.sty.js';
4
4
  import { type DataTestId } from '../../types/data-props.js';
@@ -18,5 +18,5 @@ export type AppRootProps = PropsWithChildren<DataTestId & StylingProps & Masking
18
18
  * @public
19
19
  */
20
20
  export declare const AppRoot: (props: DataTestId & StylingProps & MaskingProps & {
21
- children?: React.ReactNode | undefined;
22
- } & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
21
+ children?: import("react").ReactNode | undefined;
22
+ } & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,22 +15,15 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
  var AppRoot_exports = {};
30
20
  __export(AppRoot_exports, {
31
21
  AppRoot: () => AppRoot
32
22
  });
33
23
  module.exports = __toCommonJS(AppRoot_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
34
25
  var import_lodash_es = require("lodash");
35
- var import_react = __toESM(require("react"));
26
+ var import_react = require("react");
36
27
  var import_react_intl = require("react-intl");
37
28
  var import_wicg_inert = require("wicg-inert");
38
29
  var import_user_preferences = require("@dynatrace-sdk/user-preferences");
@@ -90,7 +81,7 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
90
81
  setMessages((prev) => (0, import_lodash_es.isEmpty)(prev) ? prev : {});
91
82
  });
92
83
  }, [language]);
93
- return /* @__PURE__ */ import_react.default.createElement(
84
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
94
85
  "div",
95
86
  {
96
87
  ref: forwardedRef,
@@ -99,18 +90,18 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
99
90
  style: consumerStyle,
100
91
  "data-theme": theme,
101
92
  "data-dtrum-mask": dataDtrumMask,
102
- "data-dtrum-allow": dataDtrumAllow
103
- },
104
- /* @__PURE__ */ import_react.default.createElement(
105
- import_react_intl.IntlProvider,
106
- {
107
- locale: language,
108
- timeZone: timezone,
109
- messages,
110
- defaultLocale: defaultLanguage
111
- },
112
- /* @__PURE__ */ import_react.default.createElement(import_FocusProvider.FocusProvider, null, children)
113
- )
93
+ "data-dtrum-allow": dataDtrumAllow,
94
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
95
+ import_react_intl.IntlProvider,
96
+ {
97
+ locale: language,
98
+ timeZone: timezone,
99
+ messages,
100
+ defaultLocale: defaultLanguage,
101
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_FocusProvider.FocusProvider, { children })
102
+ }
103
+ )
104
+ }
114
105
  );
115
106
  }
116
107
  );
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type { WithChildren } from '../../types/with-children.js';
3
2
  /**
4
3
  * Prop definition of the `FocusScope` component.
@@ -24,6 +23,6 @@ export interface FocusScopeProps extends WithChildren {
24
23
  * @public
25
24
  */
26
25
  export declare const FocusScope: {
27
- (props: FocusScopeProps): React.JSX.Element;
26
+ (props: FocusScopeProps): import("react/jsx-runtime.js").JSX.Element;
28
27
  displayName: string;
29
28
  };