@dynatrace/strato-components 1.4.0 → 1.6.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 (375) hide show
  1. package/buttons/button/Button.css +18 -22
  2. package/buttons/button/Button.d.ts +4 -4
  3. package/buttons/button/Button.js +48 -34
  4. package/buttons/button/Button.sty.js +5 -4
  5. package/buttons/button/Label.d.ts +2 -2
  6. package/buttons/button/Label.js +7 -5
  7. package/buttons/button/Prefix.d.ts +2 -2
  8. package/buttons/button/Prefix.js +7 -15
  9. package/buttons/button/Suffix.d.ts +3 -3
  10. package/buttons/button/Suffix.js +7 -15
  11. package/buttons/button/types/button-aria.js +1 -0
  12. package/buttons/button/utils/focus-without-scrolling.js +1 -0
  13. package/buttons/button/utils/is-virtual-event.js +1 -0
  14. package/buttons/index.js +1 -0
  15. package/buttons/intent-button/IntentButton.d.ts +2 -2
  16. package/buttons/intent-button/IntentButton.js +17 -21
  17. package/buttons/intent-button/useIntentButton.d.ts +4 -3
  18. package/buttons/intent-button/useIntentButton.js +1 -0
  19. package/content/index.js +1 -0
  20. package/content/progress/ProgressBar.css +71 -71
  21. package/content/progress/ProgressBar.d.ts +4 -5
  22. package/content/progress/ProgressBar.js +50 -41
  23. package/content/progress/ProgressBar.sty.js +6 -5
  24. package/content/progress/ProgressBarIcon.css +2 -2
  25. package/content/progress/ProgressBarIcon.d.ts +1 -2
  26. package/content/progress/ProgressBarIcon.js +7 -5
  27. package/content/progress/ProgressBarIcon.sty.js +2 -1
  28. package/content/progress/ProgressBarLabel.css +3 -3
  29. package/content/progress/ProgressBarLabel.d.ts +1 -2
  30. package/content/progress/ProgressBarLabel.js +7 -5
  31. package/content/progress/ProgressBarLabel.sty.js +2 -1
  32. package/content/progress/ProgressBarValue.css +5 -5
  33. package/content/progress/ProgressBarValue.d.ts +1 -2
  34. package/content/progress/ProgressBarValue.js +7 -5
  35. package/content/progress/ProgressBarValue.sty.js +2 -1
  36. package/content/progress/ProgressCircle.css +40 -40
  37. package/content/progress/ProgressCircle.d.ts +1 -2
  38. package/content/progress/ProgressCircle.js +61 -55
  39. package/content/progress/ProgressCircle.sty.js +6 -5
  40. package/content/progress/contexts/SharedProgressBarPropsContext.d.ts +1 -2
  41. package/content/progress/contexts/SharedProgressBarPropsContext.js +3 -12
  42. package/content/progress/hooks/useProgressAriaProps.js +1 -0
  43. package/content/progress/hooks/useProgressBarPropsContext.js +1 -0
  44. package/content/skeleton/Skeleton.css +6 -6
  45. package/content/skeleton/Skeleton.d.ts +2 -2
  46. package/content/skeleton/Skeleton.js +7 -5
  47. package/content/skeleton/Skeleton.sty.js +2 -1
  48. package/content/skeleton/SkeletonText.d.ts +2 -2
  49. package/content/skeleton/SkeletonText.js +10 -18
  50. package/core/components/app-root/AppRoot.d.ts +3 -3
  51. package/core/components/app-root/AppRoot.js +16 -24
  52. package/core/components/app-root/AppRoot.sty.js +1 -0
  53. package/core/components/focus-scope/FocusScope.d.ts +1 -2
  54. package/core/components/focus-scope/FocusScope.js +7 -15
  55. package/core/contexts/FocusContext.js +1 -0
  56. package/core/hooks/useActiveElement.js +1 -0
  57. package/core/hooks/useAriaLabelingProps.js +1 -0
  58. package/core/hooks/useCurrentTheme.js +1 -0
  59. package/core/hooks/useFocusContext.js +1 -0
  60. package/core/hooks/useFontsUpdated.js +2 -1
  61. package/core/hooks/useId.js +1 -0
  62. package/core/hooks/useMergeRefs.d.ts +2 -2
  63. package/core/hooks/useMergeRefs.js +1 -0
  64. package/core/hooks/useSafeForwardProps.js +1 -0
  65. package/core/index.js +1 -0
  66. package/core/providers/FocusProvider.d.ts +1 -2
  67. package/core/providers/FocusProvider.js +7 -15
  68. package/core/styles/focusRing.css +66 -66
  69. package/core/styles/focusRing.sty.js +3 -2
  70. package/core/styles/useFocusRing.d.ts +3 -3
  71. package/core/styles/useFocusRing.js +1 -0
  72. package/core/types/a11y-props.js +1 -0
  73. package/core/types/data-props.js +1 -0
  74. package/core/types/dom.js +1 -0
  75. package/core/types/heading.js +1 -0
  76. package/core/types/masking-props.js +1 -0
  77. package/core/types/polymorph.d.ts +1 -1
  78. package/core/types/polymorph.js +1 -0
  79. package/core/types/styling-props.d.ts +1 -1
  80. package/core/types/styling-props.js +1 -0
  81. package/core/types/with-children.d.ts +1 -1
  82. package/core/types/with-children.js +1 -0
  83. package/core/utils/_is-string-children.d.ts +2 -2
  84. package/core/utils/_is-string-children.js +3 -12
  85. package/core/utils/colorUtils.css +60 -60
  86. package/core/utils/colorUtils.sty.js +3 -2
  87. package/core/utils/focus-management/attempt-focus.js +1 -0
  88. package/core/utils/focus-management/focus-first-descendant.js +1 -0
  89. package/core/utils/focus-management/get-first-focusable-child.js +1 -0
  90. package/core/utils/focus-management/get-last-focusable-child.js +1 -0
  91. package/core/utils/focus-management/is-focusable.js +1 -0
  92. package/core/utils/isBrowser.js +1 -0
  93. package/core/utils/merge-props.js +1 -0
  94. package/core/utils/parse-boolean.js +1 -0
  95. package/core/utils/seed-random.js +1 -0
  96. package/core/utils/uuidv4.js +1 -0
  97. package/esm/buttons/button/Button.css +18 -22
  98. package/esm/buttons/button/Button.js +49 -35
  99. package/esm/buttons/button/Button.js.map +2 -2
  100. package/esm/buttons/button/Button.sty.js +4 -4
  101. package/esm/buttons/button/Button.sty.js.map +1 -1
  102. package/esm/buttons/button/Label.js +6 -5
  103. package/esm/buttons/button/Label.js.map +2 -2
  104. package/esm/buttons/button/Prefix.js +6 -5
  105. package/esm/buttons/button/Prefix.js.map +2 -2
  106. package/esm/buttons/button/Suffix.js +6 -5
  107. package/esm/buttons/button/Suffix.js.map +2 -2
  108. package/esm/buttons/intent-button/IntentButton.js +16 -11
  109. package/esm/buttons/intent-button/IntentButton.js.map +2 -2
  110. package/esm/buttons/intent-button/useIntentButton.js +4 -1
  111. package/esm/buttons/intent-button/useIntentButton.js.map +2 -2
  112. package/esm/content/progress/ProgressBar.css +71 -71
  113. package/esm/content/progress/ProgressBar.js +53 -41
  114. package/esm/content/progress/ProgressBar.js.map +2 -2
  115. package/esm/content/progress/ProgressBar.sty.js +5 -5
  116. package/esm/content/progress/ProgressBar.sty.js.map +1 -1
  117. package/esm/content/progress/ProgressBarIcon.css +2 -2
  118. package/esm/content/progress/ProgressBarIcon.js +6 -5
  119. package/esm/content/progress/ProgressBarIcon.js.map +2 -2
  120. package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
  121. package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
  122. package/esm/content/progress/ProgressBarLabel.css +3 -3
  123. package/esm/content/progress/ProgressBarLabel.js +6 -5
  124. package/esm/content/progress/ProgressBarLabel.js.map +2 -2
  125. package/esm/content/progress/ProgressBarLabel.sty.js +1 -1
  126. package/esm/content/progress/ProgressBarLabel.sty.js.map +1 -1
  127. package/esm/content/progress/ProgressBarValue.css +5 -5
  128. package/esm/content/progress/ProgressBarValue.js +6 -5
  129. package/esm/content/progress/ProgressBarValue.js.map +2 -2
  130. package/esm/content/progress/ProgressBarValue.sty.js +1 -1
  131. package/esm/content/progress/ProgressBarValue.sty.js.map +1 -1
  132. package/esm/content/progress/ProgressCircle.css +40 -40
  133. package/esm/content/progress/ProgressCircle.js +60 -55
  134. package/esm/content/progress/ProgressCircle.js.map +2 -2
  135. package/esm/content/progress/ProgressCircle.sty.js +5 -5
  136. package/esm/content/progress/ProgressCircle.sty.js.map +1 -1
  137. package/esm/content/progress/contexts/SharedProgressBarPropsContext.js +2 -2
  138. package/esm/content/progress/contexts/SharedProgressBarPropsContext.js.map +2 -2
  139. package/esm/content/skeleton/Skeleton.css +6 -6
  140. package/esm/content/skeleton/Skeleton.js +6 -5
  141. package/esm/content/skeleton/Skeleton.js.map +2 -2
  142. package/esm/content/skeleton/Skeleton.sty.js +1 -1
  143. package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
  144. package/esm/content/skeleton/SkeletonText.js +9 -8
  145. package/esm/content/skeleton/SkeletonText.js.map +2 -2
  146. package/esm/core/components/app-root/AppRoot.js +15 -14
  147. package/esm/core/components/app-root/AppRoot.js.map +2 -2
  148. package/esm/core/components/focus-scope/FocusScope.js +6 -5
  149. package/esm/core/components/focus-scope/FocusScope.js.map +2 -2
  150. package/esm/core/hooks/useFontsUpdated.js +1 -1
  151. package/esm/core/hooks/useFontsUpdated.js.map +2 -2
  152. package/esm/core/hooks/useMergeRefs.js +3 -1
  153. package/esm/core/hooks/useMergeRefs.js.map +2 -2
  154. package/esm/core/providers/FocusProvider.js +6 -5
  155. package/esm/core/providers/FocusProvider.js.map +2 -2
  156. package/esm/core/styles/focusRing.css +66 -66
  157. package/esm/core/styles/focusRing.sty.js +2 -2
  158. package/esm/core/styles/focusRing.sty.js.map +1 -1
  159. package/esm/core/styles/useFocusRing.js.map +1 -1
  160. package/esm/core/utils/_is-string-children.js +2 -2
  161. package/esm/core/utils/_is-string-children.js.map +2 -2
  162. package/esm/core/utils/colorUtils.css +60 -60
  163. package/esm/core/utils/colorUtils.sty.js +2 -2
  164. package/esm/core/utils/colorUtils.sty.js.map +1 -1
  165. package/esm/layouts/container/Container.css +4 -4
  166. package/esm/layouts/container/Container.js +7 -6
  167. package/esm/layouts/container/Container.js.map +2 -2
  168. package/esm/layouts/container/Container.sty.js +1 -1
  169. package/esm/layouts/container/Container.sty.js.map +1 -1
  170. package/esm/layouts/divider/Divider.css +6 -6
  171. package/esm/layouts/divider/Divider.js +3 -2
  172. package/esm/layouts/divider/Divider.js.map +2 -2
  173. package/esm/layouts/divider/Divider.sty.js +1 -1
  174. package/esm/layouts/divider/Divider.sty.js.map +1 -1
  175. package/esm/layouts/flex/Flex.js +6 -5
  176. package/esm/layouts/flex/Flex.js.map +2 -2
  177. package/esm/layouts/grid/Grid.js +6 -5
  178. package/esm/layouts/grid/Grid.js.map +2 -2
  179. package/esm/layouts/surface/Surface.css +39 -39
  180. package/esm/layouts/surface/Surface.js +17 -14
  181. package/esm/layouts/surface/Surface.js.map +2 -2
  182. package/esm/layouts/surface/Surface.sty.js +2 -2
  183. package/esm/layouts/surface/Surface.sty.js.map +1 -1
  184. package/esm/layouts/surface/variables.sty.js +1 -1
  185. package/esm/layouts/surface/variables.sty.js.map +1 -1
  186. package/esm/styles/colorUtils.css +60 -60
  187. package/esm/styles/colorUtils.sty.js +2 -2
  188. package/esm/styles/colorUtils.sty.js.map +1 -1
  189. package/esm/styles/container.css +47 -47
  190. package/esm/styles/container.sty.js +2 -2
  191. package/esm/styles/container.sty.js.map +1 -1
  192. package/esm/styles/ellipsis.css +1 -1
  193. package/esm/styles/ellipsis.sty.js +1 -1
  194. package/esm/styles/ellipsis.sty.js.map +1 -1
  195. package/esm/styles/field.css +153 -153
  196. package/esm/styles/field.sty.js +2 -2
  197. package/esm/styles/field.sty.js.map +1 -1
  198. package/esm/styles/getFlexStyles.js.map +1 -1
  199. package/esm/styles/getGridStyles.js.map +1 -1
  200. package/esm/styles/getLayoutSizeStyles.js.map +1 -1
  201. package/esm/styles/sprinkles.css +262 -262
  202. package/esm/styles/sprinkles.sty.js +1 -1
  203. package/esm/styles/sprinkles.sty.js.map +1 -1
  204. package/esm/styles/textStyle.css +8 -8
  205. package/esm/styles/textStyle.sty.js +1 -1
  206. package/esm/styles/textStyle.sty.js.map +1 -1
  207. package/esm/typography/block-quote/Blockquote.css +2 -2
  208. package/esm/typography/block-quote/Blockquote.js +6 -5
  209. package/esm/typography/block-quote/Blockquote.js.map +2 -2
  210. package/esm/typography/block-quote/Blockquote.sty.js +1 -1
  211. package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
  212. package/esm/typography/code/Code.css +1 -1
  213. package/esm/typography/code/Code.js +6 -5
  214. package/esm/typography/code/Code.js.map +2 -2
  215. package/esm/typography/code/Code.sty.js +1 -1
  216. package/esm/typography/code/Code.sty.js.map +1 -1
  217. package/esm/typography/emphasis/Emphasis.css +1 -1
  218. package/esm/typography/emphasis/Emphasis.js +6 -5
  219. package/esm/typography/emphasis/Emphasis.js.map +2 -2
  220. package/esm/typography/emphasis/Emphasis.sty.js +1 -1
  221. package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
  222. package/esm/typography/external-link/ExternalLink.css +6 -6
  223. package/esm/typography/external-link/ExternalLink.js +22 -16
  224. package/esm/typography/external-link/ExternalLink.js.map +2 -2
  225. package/esm/typography/external-link/ExternalLink.sty.js +1 -1
  226. package/esm/typography/external-link/ExternalLink.sty.js.map +1 -1
  227. package/esm/typography/heading/Heading.css +7 -7
  228. package/esm/typography/heading/Heading.js +6 -5
  229. package/esm/typography/heading/Heading.js.map +2 -2
  230. package/esm/typography/heading/Heading.sty.js +1 -1
  231. package/esm/typography/heading/Heading.sty.js.map +1 -1
  232. package/esm/typography/highlight/Highlight.css +2 -1
  233. package/esm/typography/highlight/Highlight.js +31 -18
  234. package/esm/typography/highlight/Highlight.js.map +3 -3
  235. package/esm/typography/highlight/Highlight.sty.js +1 -1
  236. package/esm/typography/highlight/Highlight.sty.js.map +1 -1
  237. package/esm/typography/link/Link.css +4 -4
  238. package/esm/typography/link/Link.js +6 -5
  239. package/esm/typography/link/Link.js.map +2 -2
  240. package/esm/typography/link/Link.sty.js +1 -1
  241. package/esm/typography/link/Link.sty.js.map +1 -1
  242. package/esm/typography/list/List.css +4 -4
  243. package/esm/typography/list/List.js +14 -9
  244. package/esm/typography/list/List.js.map +2 -2
  245. package/esm/typography/list/List.sty.js +2 -2
  246. package/esm/typography/list/List.sty.js.map +1 -1
  247. package/esm/typography/paragraph/Paragraph.css +3 -3
  248. package/esm/typography/paragraph/Paragraph.js +6 -5
  249. package/esm/typography/paragraph/Paragraph.js.map +2 -2
  250. package/esm/typography/paragraph/Paragraph.sty.js +1 -1
  251. package/esm/typography/paragraph/Paragraph.sty.js.map +1 -1
  252. package/esm/typography/strikethrough/Strikethrough.css +1 -1
  253. package/esm/typography/strikethrough/Strikethrough.js +6 -5
  254. package/esm/typography/strikethrough/Strikethrough.js.map +2 -2
  255. package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
  256. package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
  257. package/esm/typography/strong/Strong.css +1 -1
  258. package/esm/typography/strong/Strong.js +6 -5
  259. package/esm/typography/strong/Strong.js.map +2 -2
  260. package/esm/typography/strong/Strong.sty.js +1 -1
  261. package/esm/typography/strong/Strong.sty.js.map +1 -1
  262. package/esm/typography/text/Text.css +3 -3
  263. package/esm/typography/text/Text.js +6 -5
  264. package/esm/typography/text/Text.js.map +2 -2
  265. package/esm/typography/text/Text.sty.js +1 -1
  266. package/esm/typography/text/Text.sty.js.map +1 -1
  267. package/esm/typography/text-ellipsis/TextEllipsis.css +8 -5
  268. package/esm/typography/text-ellipsis/TextEllipsis.js +16 -15
  269. package/esm/typography/text-ellipsis/TextEllipsis.js.map +2 -2
  270. package/esm/typography/text-ellipsis/TextEllipsis.sty.js +4 -4
  271. package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +2 -2
  272. package/index.js +1 -0
  273. package/layouts/container/Container.css +4 -4
  274. package/layouts/container/Container.js +8 -6
  275. package/layouts/container/Container.sty.js +2 -1
  276. package/layouts/divider/Divider.css +6 -6
  277. package/layouts/divider/Divider.d.ts +1 -2
  278. package/layouts/divider/Divider.js +4 -2
  279. package/layouts/divider/Divider.sty.js +2 -1
  280. package/layouts/flex/Flex.js +7 -5
  281. package/layouts/grid/Grid.d.ts +1 -1
  282. package/layouts/grid/Grid.js +7 -5
  283. package/layouts/helpers/spacingToCss.js +1 -0
  284. package/layouts/hooks/useBreakpoint.js +1 -0
  285. package/layouts/hooks/useLayoutSizeProps.js +1 -0
  286. package/layouts/hooks/useLayoutStyles.js +1 -0
  287. package/layouts/hooks/useMarginProps.js +1 -0
  288. package/layouts/hooks/usePaddingProps.js +1 -0
  289. package/layouts/index.js +1 -0
  290. package/layouts/surface/Surface.css +39 -39
  291. package/layouts/surface/Surface.js +18 -14
  292. package/layouts/surface/Surface.sty.js +3 -2
  293. package/layouts/surface/variables.sty.js +2 -1
  294. package/layouts/types/layout.types.d.ts +1 -1
  295. package/layouts/types/layout.types.js +1 -0
  296. package/package.json +5 -5
  297. package/styles/colorUtils.css +60 -60
  298. package/styles/colorUtils.sty.js +3 -2
  299. package/styles/container.css +47 -47
  300. package/styles/container.sty.js +3 -2
  301. package/styles/ellipsis.css +1 -1
  302. package/styles/ellipsis.sty.js +2 -1
  303. package/styles/extract-util.js +1 -0
  304. package/styles/field.css +153 -153
  305. package/styles/field.sty.js +3 -2
  306. package/styles/getFlexStyles.d.ts +17 -17
  307. package/styles/getFlexStyles.js +1 -0
  308. package/styles/getGapSprinkles.js +1 -0
  309. package/styles/getGridFlexPositionSprinkles.js +1 -0
  310. package/styles/getGridStyles.d.ts +22 -22
  311. package/styles/getGridStyles.js +1 -0
  312. package/styles/getLayoutSizeStyles.d.ts +1 -1
  313. package/styles/getLayoutSizeStyles.js +1 -0
  314. package/styles/getSpacingSprinkles.js +1 -0
  315. package/styles/index.js +1 -0
  316. package/styles/safe-sprinkles.js +1 -0
  317. package/styles/sprinkle-properties.js +1 -0
  318. package/styles/sprinkles.css +262 -262
  319. package/styles/sprinkles.sty.js +2 -1
  320. package/styles/textStyle.css +8 -8
  321. package/styles/textStyle.sty.js +2 -1
  322. package/typography/block-quote/Blockquote.css +2 -2
  323. package/typography/block-quote/Blockquote.d.ts +1 -2
  324. package/typography/block-quote/Blockquote.js +7 -5
  325. package/typography/block-quote/Blockquote.sty.js +2 -1
  326. package/typography/code/Code.css +1 -1
  327. package/typography/code/Code.d.ts +1 -2
  328. package/typography/code/Code.js +7 -5
  329. package/typography/code/Code.sty.js +2 -1
  330. package/typography/emphasis/Emphasis.css +1 -1
  331. package/typography/emphasis/Emphasis.d.ts +1 -2
  332. package/typography/emphasis/Emphasis.js +7 -5
  333. package/typography/emphasis/Emphasis.sty.js +2 -1
  334. package/typography/external-link/ExternalLink.css +6 -6
  335. package/typography/external-link/ExternalLink.d.ts +2 -2
  336. package/typography/external-link/ExternalLink.js +23 -16
  337. package/typography/external-link/ExternalLink.sty.js +2 -1
  338. package/typography/heading/Heading.css +7 -7
  339. package/typography/heading/Heading.d.ts +1 -2
  340. package/typography/heading/Heading.js +7 -5
  341. package/typography/heading/Heading.sty.js +2 -1
  342. package/typography/highlight/Highlight.css +2 -1
  343. package/typography/highlight/Highlight.d.ts +1 -1
  344. package/typography/highlight/Highlight.js +22 -17
  345. package/typography/highlight/Highlight.sty.js +2 -1
  346. package/typography/index.js +1 -0
  347. package/typography/link/Link.css +4 -4
  348. package/typography/link/Link.d.ts +1 -1
  349. package/typography/link/Link.js +7 -5
  350. package/typography/link/Link.sty.js +2 -1
  351. package/typography/list/List.css +4 -4
  352. package/typography/list/List.d.ts +1 -2
  353. package/typography/list/List.js +11 -9
  354. package/typography/list/List.sty.js +3 -2
  355. package/typography/paragraph/Paragraph.css +3 -3
  356. package/typography/paragraph/Paragraph.d.ts +1 -2
  357. package/typography/paragraph/Paragraph.js +7 -5
  358. package/typography/paragraph/Paragraph.sty.js +2 -1
  359. package/typography/strikethrough/Strikethrough.css +1 -1
  360. package/typography/strikethrough/Strikethrough.d.ts +1 -2
  361. package/typography/strikethrough/Strikethrough.js +7 -5
  362. package/typography/strikethrough/Strikethrough.sty.js +2 -1
  363. package/typography/strong/Strong.css +1 -1
  364. package/typography/strong/Strong.d.ts +1 -2
  365. package/typography/strong/Strong.js +7 -5
  366. package/typography/strong/Strong.sty.js +2 -1
  367. package/typography/text/Text.css +3 -3
  368. package/typography/text/Text.js +7 -5
  369. package/typography/text/Text.sty.js +2 -1
  370. package/typography/text-ellipsis/TextEllipsis.css +8 -5
  371. package/typography/text-ellipsis/TextEllipsis.d.ts +2 -2
  372. package/typography/text-ellipsis/TextEllipsis.js +17 -15
  373. package/typography/text-ellipsis/TextEllipsis.sty.d.ts +7 -2
  374. package/typography/text-ellipsis/TextEllipsis.sty.js +5 -4
  375. package/typography/utils.js +1 -0
@@ -1,4 +1,4 @@
1
- @keyframes _kvldjh3-1-4-0 {
1
+ @keyframes _kvldjh3-1-6-0 {
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-4-0 {
9
+ ._kvldjh4-1-6-0 {
10
10
  display: inline-block;
11
11
  }
12
- ._kvldjh5-1-4-0 {
12
+ ._kvldjh5-1-6-0 {
13
13
  display: block;
14
14
  transform: rotate(-90deg);
15
15
  }
16
- ._kvldjh6-1-4-0 {
17
- stroke: var(--_kvldjh2-1-4-0);
16
+ ._kvldjh6-1-6-0 {
17
+ stroke: var(--_kvldjh2-1-6-0);
18
18
  transform-origin: center;
19
19
  }
20
- ._kvldjh7-1-4-0 {
20
+ ._kvldjh7-1-6-0 {
21
21
  stroke-dasharray: 90 360;
22
22
  transform-origin: 50% 50%;
23
- animation-name: _kvldjh3-1-4-0;
23
+ animation-name: _kvldjh3-1-6-0;
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-4-0 {
28
+ ._kvldjh8-1-6-0 {
29
29
  animation-duration: var(--dt-timings-fast-moderate, 200ms);
30
30
  transition-property: stroke-dashoffset;
31
31
  }
32
- ._kvldjh9-1-4-0 {
33
- stroke: var(--_kvldjh1-1-4-0);
32
+ ._kvldjh9-1-6-0 {
33
+ stroke: var(--_kvldjh1-1-6-0);
34
34
  }
35
- ._kvldjha-1-4-0 {
35
+ ._kvldjha-1-6-0 {
36
36
  display: flex;
37
37
  flex-direction: column;
38
38
  align-items: center;
39
- color: var(--_kvldjh0-1-4-0);
39
+ color: var(--_kvldjh0-1-6-0);
40
40
  }
41
- ._kvldjhb-1-4-0 {
41
+ ._kvldjhb-1-6-0 {
42
42
  gap: var(--dt-spacings-size-8, 8px);
43
43
  }
44
- ._kvldjhc-1-4-0 {
44
+ ._kvldjhc-1-6-0 {
45
45
  gap: var(--dt-spacings-size-12, 12px);
46
46
  }
47
- ._kvldjhd-1-4-0 {
48
- --_kvldjh2-1-4-0: var(--dt-colors-border-critical-accent, #b80031);
47
+ ._kvldjhd-1-6-0 {
48
+ --_kvldjh2-1-6-0: var(--dt-colors-border-critical-accent, #b80031);
49
49
  }
50
- ._kvldjhe-1-4-0 {
51
- --_kvldjh2-1-4-0: var(--dt-colors-border-neutral-accent, #545587);
50
+ ._kvldjhe-1-6-0 {
51
+ --_kvldjh2-1-6-0: var(--dt-colors-border-neutral-accent, #545587);
52
52
  }
53
- ._kvldjhf-1-4-0 {
54
- --_kvldjh2-1-4-0: var(--dt-colors-border-primary-accent, #454cc9);
53
+ ._kvldjhf-1-6-0 {
54
+ --_kvldjh2-1-6-0: var(--dt-colors-border-primary-accent, #454cc9);
55
55
  }
56
- ._kvldjhg-1-4-0 {
57
- --_kvldjh2-1-4-0: var(--dt-colors-border-success-accent, #2c6360);
56
+ ._kvldjhg-1-6-0 {
57
+ --_kvldjh2-1-6-0: var(--dt-colors-border-success-accent, #2c6360);
58
58
  }
59
- ._kvldjhh-1-4-0 {
60
- --_kvldjh2-1-4-0: var(--dt-colors-border-warning-accent, #805100);
59
+ ._kvldjhh-1-6-0 {
60
+ --_kvldjh2-1-6-0: var(--dt-colors-border-warning-accent, #805100);
61
61
  }
62
- ._kvldjhi-1-4-0 {
63
- --_kvldjh0-1-4-0: var(--dt-colors-text-neutral-default, #2b2a58);
64
- --_kvldjh1-1-4-0: var(--dt-colors-border-neutral-default, #d2d3e1);
62
+ ._kvldjhi-1-6-0 {
63
+ --_kvldjh0-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
64
+ --_kvldjh1-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
65
65
  }
66
- ._kvldjhj-1-4-0 {
67
- --_kvldjh0-1-4-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
68
- --_kvldjh1-1-4-0: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
66
+ ._kvldjhj-1-6-0 {
67
+ --_kvldjh0-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
68
+ --_kvldjh1-1-6-0: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
69
69
  }
70
- ._kvldjhk-1-4-0 {
71
- --_kvldjh2-1-4-0: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
70
+ ._kvldjhk-1-6-0 {
71
+ --_kvldjh2-1-6-0: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
72
72
  }
73
- ._kvldjhl-1-4-0 {
74
- --_kvldjh2-1-4-0: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
73
+ ._kvldjhl-1-6-0 {
74
+ --_kvldjh2-1-6-0: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
75
75
  }
76
- ._kvldjhm-1-4-0 {
77
- --_kvldjh2-1-4-0: var(--dt-colors-border-warning-on-accent-default, #272025);
76
+ ._kvldjhm-1-6-0 {
77
+ --_kvldjh2-1-6-0: var(--dt-colors-border-warning-on-accent-default, #272025);
78
78
  }
79
- ._kvldjhn-1-4-0 {
80
- --_kvldjh2-1-4-0: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
79
+ ._kvldjhn-1-6-0 {
80
+ --_kvldjh2-1-6-0: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
81
81
  }
82
- ._kvldjho-1-4-0 {
83
- --_kvldjh2-1-4-0: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
82
+ ._kvldjho-1-6-0 {
83
+ --_kvldjh2-1-6-0: 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;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -30,8 +31,9 @@ __export(ProgressCircle_exports, {
30
31
  ProgressCircle: () => ProgressCircle
31
32
  });
32
33
  module.exports = __toCommonJS(ProgressCircle_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
33
35
  var import_clsx = __toESM(require("clsx"));
34
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
35
37
  var import_useProgressAriaProps = require("./hooks/useProgressAriaProps.js");
36
38
  var import_ProgressCircle_css = require("./ProgressCircle.sty.js");
37
39
  var import_useAriaLabelingProps = require("../../core/hooks/useAriaLabelingProps.js");
@@ -92,7 +94,7 @@ const ProgressCircle = (0, import_react.forwardRef)(
92
94
  "If no label is provided please make sure to provide an aria label on your progressCircle element."
93
95
  );
94
96
  }
95
- return /* @__PURE__ */ import_react.default.createElement(
97
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
96
98
  "div",
97
99
  {
98
100
  "data-testid": dataTestId,
@@ -112,65 +114,69 @@ const ProgressCircle = (0, import_react.forwardRef)(
112
114
  })
113
115
  ),
114
116
  style: consumerStyle,
115
- ...forwardProps
116
- },
117
- /* @__PURE__ */ import_react.default.createElement(
118
- "span",
119
- {
120
- id,
121
- className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleRootCSS),
122
- style: {
123
- height: `${progressCircleSizes[size]}px`,
124
- width: `${progressCircleSizes[size]}px`
125
- },
126
- ...ariaLabelingProps,
127
- ...progressAriaProps,
128
- ...rootProps
129
- },
130
- /* @__PURE__ */ import_react.default.createElement(
131
- "svg",
132
- {
133
- className: import_ProgressCircle_css.progressCircleSvgCss,
134
- viewBox: `0 0 ${progressCircleSizes[size]} ${progressCircleSizes[size]}`,
135
- width: "100%",
136
- height: "100%"
137
- },
138
- /* @__PURE__ */ import_react.default.createElement(
139
- "circle",
117
+ ...forwardProps,
118
+ children: [
119
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
120
+ "span",
140
121
  {
141
- fill: "none",
142
- className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleBackgroundCSS),
143
- cx: progressCircleSizes[size] / 2,
144
- cy: progressCircleSizes[size] / 2,
145
- r: (progressCircleSizes[size] - progressCircleThickness) / 2,
146
- 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
+ )
147
166
  }
148
167
  ),
149
- /* @__PURE__ */ import_react.default.createElement(
150
- "circle",
168
+ children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
169
+ "label",
151
170
  {
152
- style: circleStyles,
153
- className: (0, import_ProgressCircle_css.progressCircleCSS)({ indeterminate: isIndeterminate }),
154
- fill: "none",
155
- pathLength: isIndeterminate ? 360 : circleStyles["strokeDasharray"],
156
- cx: progressCircleSizes[size] / 2,
157
- cy: progressCircleSizes[size] / 2,
158
- r: (progressCircleSizes[size] - progressCircleThickness) / 2,
159
- 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
160
176
  }
161
177
  )
162
- )
163
- ),
164
- children && /* @__PURE__ */ import_react.default.createElement(
165
- "label",
166
- {
167
- className: (0, import_clsx.default)(
168
- (0, import_textStyle_css.textStyleCSS)({ textStyle: size === "small" ? "small" : "base" })
169
- ),
170
- htmlFor: id
171
- },
172
- children
173
- )
178
+ ]
179
+ }
174
180
  );
175
181
  }
176
182
  );
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -26,8 +27,8 @@ __export(ProgressCircle_css_exports, {
26
27
  module.exports = __toCommonJS(ProgressCircle_css_exports);
27
28
  var import_ProgressCircle_css_ts_vanilla = require("./ProgressCircle.css");
28
29
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
29
- var progressCircleBackgroundCSS = "_kvldjh9-1-4-0";
30
- var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-4-0", variantClassNames: { indeterminate: { true: "_kvldjh7-1-4-0", false: "_kvldjh8-1-4-0" } }, defaultVariants: {}, compoundVariants: [] });
31
- var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-4-0", variantClassNames: { size: { small: "_kvldjhb-1-4-0", large: "_kvldjhc-1-4-0" }, color: { critical: "_kvldjhd-1-4-0", neutral: "_kvldjhe-1-4-0", primary: "_kvldjhf-1-4-0", success: "_kvldjhg-1-4-0", warning: "_kvldjhh-1-4-0" }, variant: { "default": "_kvldjhi-1-4-0", accent: "_kvldjhj-1-4-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_kvldjhk-1-4-0"], [{ color: "success", variant: "accent" }, "_kvldjhl-1-4-0"], [{ color: "warning", variant: "accent" }, "_kvldjhm-1-4-0"], [{ color: "critical", variant: "accent" }, "_kvldjhn-1-4-0"], [{ color: "neutral", variant: "accent" }, "_kvldjho-1-4-0"]] });
32
- var progressCircleRootCSS = "_kvldjh4-1-4-0";
33
- var progressCircleSvgCss = "_kvldjh5-1-4-0";
30
+ var progressCircleBackgroundCSS = "_kvldjh9-1-6-0";
31
+ var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-6-0", variantClassNames: { indeterminate: { true: "_kvldjh7-1-6-0", false: "_kvldjh8-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
32
+ var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-6-0", variantClassNames: { size: { small: "_kvldjhb-1-6-0", large: "_kvldjhc-1-6-0" }, color: { critical: "_kvldjhd-1-6-0", neutral: "_kvldjhe-1-6-0", primary: "_kvldjhf-1-6-0", success: "_kvldjhg-1-6-0", warning: "_kvldjhh-1-6-0" }, variant: { "default": "_kvldjhi-1-6-0", accent: "_kvldjhj-1-6-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_kvldjhk-1-6-0"], [{ color: "success", variant: "accent" }, "_kvldjhl-1-6-0"], [{ color: "warning", variant: "accent" }, "_kvldjhm-1-6-0"], [{ color: "critical", variant: "accent" }, "_kvldjhn-1-6-0"], [{ color: "neutral", variant: "accent" }, "_kvldjho-1-6-0"]] });
33
+ var progressCircleRootCSS = "_kvldjh4-1-6-0";
34
+ var progressCircleSvgCss = "_kvldjh5-1-6-0";
@@ -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,8 +1,7 @@
1
- var __create = Object.create;
1
+ "use strict";
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
8
7
  for (var name in all)
@@ -16,22 +15,14 @@ var __copyProps = (to, from, except, desc) => {
16
15
  }
17
16
  return to;
18
17
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
19
  var SharedProgressBarPropsContext_exports = {};
29
20
  __export(SharedProgressBarPropsContext_exports, {
30
21
  SharedProgressBarPropsContext: () => SharedProgressBarPropsContext
31
22
  });
32
23
  module.exports = __toCommonJS(SharedProgressBarPropsContext_exports);
33
- var import_react = __toESM(require("react"));
34
- const SharedProgressBarPropsContext = import_react.default.createContext({
24
+ var import_react = require("react");
25
+ const SharedProgressBarPropsContext = (0, import_react.createContext)({
35
26
  id: "",
36
27
  density: "default"
37
28
  });
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- @keyframes _1a1ozfd0-1-4-0 {
1
+ @keyframes _1a1ozfd0-1-6-0 {
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-4-0 {
9
+ ._1a1ozfd1-1-6-0 {
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-4-0:after {
14
+ ._1a1ozfd1-1-6-0: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-4-0;
24
+ animation-name: _1a1ozfd0-1-6-0;
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-4-0 {
28
+ ._1a1ozfd2-1-6-0 {
29
29
  border-radius: var(--dt-borders-radius-container-subdued, 8px);
30
30
  }
31
- ._1a1ozfd3-1-4-0 {
31
+ ._1a1ozfd3-1-6-0 {
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;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -30,8 +31,9 @@ __export(Skeleton_exports, {
30
31
  Skeleton: () => Skeleton
31
32
  });
32
33
  module.exports = __toCommonJS(Skeleton_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
33
35
  var import_clsx = __toESM(require("clsx"));
34
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
35
37
  var import_Skeleton_css = require("./Skeleton.sty.js");
36
38
  const Skeleton = (0, import_react.forwardRef)(
37
39
  (props, forwardedRef) => {
@@ -45,16 +47,16 @@ const Skeleton = (0, import_react.forwardRef)(
45
47
  "data-testid": dataTestId,
46
48
  ...remainingProps
47
49
  } = props;
48
- return /* @__PURE__ */ import_react.default.createElement(
50
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
49
51
  "div",
50
52
  {
51
53
  "data-testid": dataTestId,
52
54
  ref: forwardedRef,
53
55
  className: (0, import_clsx.default)((0, import_Skeleton_css.skeletonPlaceholderCSS)({ variant }), consumerClassName),
54
56
  style: { width, height, ...consumerStyle },
55
- ...remainingProps
56
- },
57
- children
57
+ ...remainingProps,
58
+ children
59
+ }
58
60
  );
59
61
  }
60
62
  );
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -22,4 +23,4 @@ __export(Skeleton_css_exports, {
22
23
  module.exports = __toCommonJS(Skeleton_css_exports);
23
24
  var import_Skeleton_css_ts_vanilla = require("./Skeleton.css");
24
25
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
25
- var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd1-1-4-0", variantClassNames: { variant: { "default": "_1a1ozfd2-1-4-0", rounded: "_1a1ozfd3-1-4-0" } }, defaultVariants: {}, compoundVariants: [] });
26
+ var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd1-1-6-0", variantClassNames: { variant: { "default": "_1a1ozfd2-1-6-0", rounded: "_1a1ozfd3-1-6-0" } }, 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,8 +1,7 @@
1
- var __create = Object.create;
1
+ "use strict";
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
8
7
  for (var name in all)
@@ -16,21 +15,14 @@ var __copyProps = (to, from, except, desc) => {
16
15
  }
17
16
  return to;
18
17
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
19
  var SkeletonText_exports = {};
29
20
  __export(SkeletonText_exports, {
30
21
  SkeletonText: () => SkeletonText
31
22
  });
32
23
  module.exports = __toCommonJS(SkeletonText_exports);
33
- var import_react = __toESM(require("react"));
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_react = require("react");
34
26
  var import_Skeleton = require("./Skeleton.js");
35
27
  var import_Flex = require("../../layouts/flex/Flex.js");
36
28
  const SkeletonText = (0, import_react.forwardRef)(
@@ -54,19 +46,19 @@ const SkeletonText = (0, import_react.forwardRef)(
54
46
  for (let line = 0; line < lines2; line++) {
55
47
  const width2 = `calc(100% - ${getSkeletonLinesMargin(line, lines2)}px)`;
56
48
  render.push(
57
- /* @__PURE__ */ import_react.default.createElement(
49
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
50
  import_Skeleton.Skeleton,
59
51
  {
60
- key: `${lines2}-${line}`,
61
52
  width: width2,
62
53
  height: "12px"
63
- }
54
+ },
55
+ `${lines2}-${line}`
64
56
  )
65
57
  );
66
58
  }
67
59
  return render;
68
60
  };
69
- return /* @__PURE__ */ import_react.default.createElement(
61
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
70
62
  import_Flex.Flex,
71
63
  {
72
64
  "data-testid": dataTestId,
@@ -76,9 +68,9 @@ const SkeletonText = (0, import_react.forwardRef)(
76
68
  paddingY: 4,
77
69
  className: consumerClassName,
78
70
  style: { width, ...consumerStyle },
79
- ...remainingProps
80
- },
81
- getSkeletonLines(lines)
71
+ ...remainingProps,
72
+ children: getSkeletonLines(lines)
73
+ }
82
74
  );
83
75
  }
84
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,8 +1,7 @@
1
- var __create = Object.create;
1
+ "use strict";
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
6
  var __export = (target, all) => {
8
7
  for (var name in all)
@@ -16,22 +15,15 @@ var __copyProps = (to, from, except, desc) => {
16
15
  }
17
16
  return to;
18
17
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
19
  var AppRoot_exports = {};
29
20
  __export(AppRoot_exports, {
30
21
  AppRoot: () => AppRoot
31
22
  });
32
23
  module.exports = __toCommonJS(AppRoot_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
33
25
  var import_lodash_es = require("lodash");
34
- var import_react = __toESM(require("react"));
26
+ var import_react = require("react");
35
27
  var import_react_intl = require("react-intl");
36
28
  var import_wicg_inert = require("wicg-inert");
37
29
  var import_user_preferences = require("@dynatrace-sdk/user-preferences");
@@ -89,7 +81,7 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
89
81
  setMessages((prev) => (0, import_lodash_es.isEmpty)(prev) ? prev : {});
90
82
  });
91
83
  }, [language]);
92
- return /* @__PURE__ */ import_react.default.createElement(
84
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
93
85
  "div",
94
86
  {
95
87
  ref: forwardedRef,
@@ -98,18 +90,18 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
98
90
  style: consumerStyle,
99
91
  "data-theme": theme,
100
92
  "data-dtrum-mask": dataDtrumMask,
101
- "data-dtrum-allow": dataDtrumAllow
102
- },
103
- /* @__PURE__ */ import_react.default.createElement(
104
- import_react_intl.IntlProvider,
105
- {
106
- locale: language,
107
- timeZone: timezone,
108
- messages,
109
- defaultLocale: defaultLanguage
110
- },
111
- /* @__PURE__ */ import_react.default.createElement(import_FocusProvider.FocusProvider, null, children)
112
- )
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
+ }
113
105
  );
114
106
  }
115
107
  );
@@ -1 +1,2 @@
1
+ "use strict";
1
2
  var import_AppRoot_css_ts_vanilla = require("./AppRoot.css");
@@ -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
  };