@dynatrace/strato-components 0.84.31 → 0.84.51

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 (404) hide show
  1. package/content/index.d.ts +7 -0
  2. package/content/index.js +25 -0
  3. package/content/progress/ProgressBar.css +52 -0
  4. package/content/progress/ProgressBar.d.ts +56 -0
  5. package/content/progress/ProgressBar.js +191 -0
  6. package/content/progress/ProgressBar.sty.d.ts +42 -0
  7. package/content/progress/ProgressBar.sty.js +28 -0
  8. package/content/progress/ProgressBarIcon.css +5 -0
  9. package/content/progress/ProgressBarIcon.d.ts +15 -0
  10. package/content/progress/ProgressBarIcon.js +68 -0
  11. package/content/progress/ProgressBarIcon.sty.d.ts +1 -0
  12. package/content/progress/ProgressBarIcon.sty.js +25 -0
  13. package/content/progress/ProgressBarLabel.css +9 -0
  14. package/content/progress/ProgressBarLabel.d.ts +15 -0
  15. package/content/progress/ProgressBarLabel.js +75 -0
  16. package/content/progress/ProgressBarLabel.sty.d.ts +13 -0
  17. package/content/progress/ProgressBarLabel.sty.js +26 -0
  18. package/content/progress/ProgressBarValue.css +28 -0
  19. package/content/progress/ProgressBarValue.d.ts +15 -0
  20. package/content/progress/ProgressBarValue.js +72 -0
  21. package/content/progress/ProgressBarValue.sty.d.ts +34 -0
  22. package/content/progress/ProgressBarValue.sty.js +26 -0
  23. package/content/progress/ProgressCircle.css +52 -0
  24. package/content/progress/ProgressCircle.d.ts +51 -0
  25. package/content/progress/ProgressCircle.js +174 -0
  26. package/content/progress/ProgressCircle.sty.d.ts +41 -0
  27. package/content/progress/ProgressCircle.sty.js +37 -0
  28. package/content/progress/contexts/SharedProgressBarPropsContext.d.ts +9 -0
  29. package/content/progress/contexts/SharedProgressBarPropsContext.js +38 -0
  30. package/content/progress/hooks/useProgressAriaProps.d.ts +38 -0
  31. package/content/progress/hooks/useProgressAriaProps.js +63 -0
  32. package/content/progress/hooks/useProgressBarPropsContext.d.ts +2 -0
  33. package/content/progress/hooks/useProgressBarPropsContext.js +32 -0
  34. package/content/progress/utils.d.ts +2 -0
  35. package/content/progress/utils.js +50 -0
  36. package/core/components/app-root/AppRoot.d.ts +4 -4
  37. package/core/hooks/useAriaLabelingProps.d.ts +6 -0
  38. package/core/hooks/useAriaLabelingProps.js +30 -0
  39. package/core/hooks/useCurrentTheme.d.ts +1 -1
  40. package/core/hooks/useFontsUpdated.d.ts +9 -0
  41. package/core/hooks/useFontsUpdated.js +51 -0
  42. package/core/hooks/useId.d.ts +12 -0
  43. package/core/hooks/useId.js +32 -0
  44. package/core/hooks/useMergeRefs.d.ts +7 -0
  45. package/core/hooks/useMergeRefs.js +34 -0
  46. package/core/hooks/useSafeForwardProps.d.ts +10 -0
  47. package/core/hooks/useSafeForwardProps.js +34 -0
  48. package/core/index.d.ts +12 -0
  49. package/core/index.js +12 -0
  50. package/core/styles/focusRing.css +88 -0
  51. package/core/styles/focusRing.sty.d.ts +96 -0
  52. package/core/styles/focusRing.sty.js +27 -0
  53. package/core/styles/useFocusRing.d.ts +49 -0
  54. package/core/styles/useFocusRing.js +83 -0
  55. package/core/types/a11y-props.d.ts +26 -0
  56. package/core/types/a11y-props.js +15 -0
  57. package/core/types/data-props.d.ts +1 -1
  58. package/core/types/dom.d.ts +8 -0
  59. package/core/types/dom.js +15 -0
  60. package/core/types/heading.d.ts +9 -0
  61. package/core/types/heading.js +15 -0
  62. package/core/types/masking-props.d.ts +2 -1
  63. package/core/types/polymorph.d.ts +28 -0
  64. package/core/types/polymorph.js +15 -0
  65. package/core/types/role-variant.d.ts +10 -0
  66. package/core/types/role-variant.js +30 -0
  67. package/core/types/styling-props.d.ts +1 -1
  68. package/core/types/with-children.d.ts +1 -1
  69. package/core/utils/_is-string-children.d.ts +6 -0
  70. package/core/utils/_is-string-children.js +44 -0
  71. package/core/utils/colorUtils.css +80 -0
  72. package/core/utils/colorUtils.sty.d.ts +48 -0
  73. package/core/utils/colorUtils.sty.js +27 -0
  74. package/core/utils/isBrowser.d.ts +1 -1
  75. package/core/utils/merge-props.d.ts +4 -5
  76. package/core/utils/seed-random.d.ts +5 -0
  77. package/core/utils/seed-random.js +34 -0
  78. package/core/utils/uuidv4.d.ts +5 -0
  79. package/core/utils/uuidv4.js +31 -0
  80. package/esm/content/index.js +7 -0
  81. package/esm/content/index.js.map +7 -0
  82. package/esm/content/progress/ProgressBar.css +52 -0
  83. package/esm/content/progress/ProgressBar.js +163 -0
  84. package/esm/content/progress/ProgressBar.js.map +7 -0
  85. package/esm/content/progress/ProgressBar.sty.js +10 -0
  86. package/esm/content/progress/ProgressBar.sty.js.map +7 -0
  87. package/esm/content/progress/ProgressBarIcon.css +5 -0
  88. package/esm/content/progress/ProgressBarIcon.js +40 -0
  89. package/esm/content/progress/ProgressBarIcon.js.map +7 -0
  90. package/esm/content/progress/ProgressBarIcon.sty.js +7 -0
  91. package/esm/content/progress/ProgressBarIcon.sty.js.map +7 -0
  92. package/esm/content/progress/ProgressBarLabel.css +9 -0
  93. package/esm/content/progress/ProgressBarLabel.js +47 -0
  94. package/esm/content/progress/ProgressBarLabel.js.map +7 -0
  95. package/esm/content/progress/ProgressBarLabel.sty.js +8 -0
  96. package/esm/content/progress/ProgressBarLabel.sty.js.map +7 -0
  97. package/esm/content/progress/ProgressBarValue.css +28 -0
  98. package/esm/content/progress/ProgressBarValue.js +44 -0
  99. package/esm/content/progress/ProgressBarValue.js.map +7 -0
  100. package/esm/content/progress/ProgressBarValue.sty.js +8 -0
  101. package/esm/content/progress/ProgressBarValue.sty.js.map +7 -0
  102. package/esm/content/progress/ProgressCircle.css +52 -0
  103. package/esm/content/progress/ProgressCircle.js +153 -0
  104. package/esm/content/progress/ProgressCircle.js.map +7 -0
  105. package/esm/content/progress/ProgressCircle.sty.js +19 -0
  106. package/esm/content/progress/ProgressCircle.sty.js.map +7 -0
  107. package/esm/content/progress/contexts/SharedProgressBarPropsContext.js +10 -0
  108. package/esm/content/progress/contexts/SharedProgressBarPropsContext.js.map +7 -0
  109. package/esm/content/progress/hooks/useProgressAriaProps.js +45 -0
  110. package/esm/content/progress/hooks/useProgressAriaProps.js.map +7 -0
  111. package/esm/content/progress/hooks/useProgressBarPropsContext.js +16 -0
  112. package/esm/content/progress/hooks/useProgressBarPropsContext.js.map +7 -0
  113. package/esm/content/progress/utils.js +22 -0
  114. package/esm/content/progress/utils.js.map +7 -0
  115. package/esm/core/components/app-root/AppRoot.js.map +1 -1
  116. package/esm/core/hooks/useAriaLabelingProps.js +12 -0
  117. package/esm/core/hooks/useAriaLabelingProps.js.map +7 -0
  118. package/esm/core/hooks/useCurrentTheme.js.map +1 -1
  119. package/esm/core/hooks/useFontsUpdated.js +33 -0
  120. package/esm/core/hooks/useFontsUpdated.js.map +7 -0
  121. package/esm/core/hooks/useId.js +14 -0
  122. package/esm/core/hooks/useId.js.map +7 -0
  123. package/esm/core/hooks/useMergeRefs.js +16 -0
  124. package/esm/core/hooks/useMergeRefs.js.map +7 -0
  125. package/esm/core/hooks/useSafeForwardProps.js +16 -0
  126. package/esm/core/hooks/useSafeForwardProps.js.map +7 -0
  127. package/esm/core/index.js +12 -0
  128. package/esm/core/index.js.map +2 -2
  129. package/esm/core/styles/focusRing.css +88 -0
  130. package/esm/core/styles/focusRing.sty.js +9 -0
  131. package/esm/core/styles/focusRing.sty.js.map +7 -0
  132. package/esm/core/styles/useFocusRing.js +69 -0
  133. package/esm/core/styles/useFocusRing.js.map +7 -0
  134. package/esm/core/types/a11y-props.js +1 -0
  135. package/esm/core/types/a11y-props.js.map +7 -0
  136. package/esm/core/types/dom.js +1 -0
  137. package/esm/core/types/dom.js.map +7 -0
  138. package/esm/core/types/heading.js +1 -0
  139. package/esm/core/types/heading.js.map +7 -0
  140. package/esm/core/types/polymorph.js +1 -0
  141. package/esm/core/types/polymorph.js.map +7 -0
  142. package/esm/core/types/role-variant.js +12 -0
  143. package/esm/core/types/role-variant.js.map +7 -0
  144. package/esm/core/utils/_is-string-children.js +16 -0
  145. package/esm/core/utils/_is-string-children.js.map +7 -0
  146. package/esm/core/utils/colorUtils.css +80 -0
  147. package/esm/core/utils/colorUtils.sty.js +9 -0
  148. package/esm/core/utils/colorUtils.sty.js.map +7 -0
  149. package/esm/core/utils/isBrowser.js.map +1 -1
  150. package/esm/core/utils/merge-props.js.map +2 -2
  151. package/esm/core/utils/seed-random.js +16 -0
  152. package/esm/core/utils/seed-random.js.map +7 -0
  153. package/esm/core/utils/uuidv4.js +13 -0
  154. package/esm/core/utils/uuidv4.js.map +7 -0
  155. package/esm/index.js +4 -0
  156. package/esm/index.js.map +2 -2
  157. package/esm/layouts/Divider/Divider.css +23 -0
  158. package/esm/layouts/Divider/Divider.js +39 -0
  159. package/esm/layouts/Divider/Divider.js.map +7 -0
  160. package/esm/layouts/Divider/Divider.sty.js +8 -0
  161. package/esm/layouts/Divider/Divider.sty.js.map +7 -0
  162. package/esm/layouts/container/Container.css +8 -0
  163. package/esm/layouts/container/Container.js +55 -0
  164. package/esm/layouts/container/Container.js.map +7 -0
  165. package/esm/layouts/container/Container.sty.js +7 -0
  166. package/esm/layouts/container/Container.sty.js.map +7 -0
  167. package/esm/layouts/flex/Flex.js +46 -0
  168. package/esm/layouts/flex/Flex.js.map +7 -0
  169. package/esm/layouts/grid/Grid.js +46 -0
  170. package/esm/layouts/grid/Grid.js.map +7 -0
  171. package/esm/layouts/index.js +11 -0
  172. package/esm/layouts/index.js.map +7 -0
  173. package/esm/styles/colorUtils.css +80 -0
  174. package/esm/styles/colorUtils.sty.js +9 -0
  175. package/esm/styles/colorUtils.sty.js.map +7 -0
  176. package/esm/styles/container.css +64 -0
  177. package/esm/styles/container.sty.js +9 -0
  178. package/esm/styles/container.sty.js.map +7 -0
  179. package/esm/styles/ellipsis.css +5 -0
  180. package/esm/styles/ellipsis.sty.js +6 -0
  181. package/esm/styles/ellipsis.sty.js.map +7 -0
  182. package/esm/styles/extract-util.js +15 -0
  183. package/esm/styles/extract-util.js.map +7 -0
  184. package/esm/styles/getFlexStyles.js +69 -0
  185. package/esm/styles/getFlexStyles.js.map +7 -0
  186. package/esm/styles/getGapSprinkles.js +18 -0
  187. package/esm/styles/getGapSprinkles.js.map +7 -0
  188. package/esm/styles/getGridFlexPositionSprinkles.js +25 -0
  189. package/esm/styles/getGridFlexPositionSprinkles.js.map +7 -0
  190. package/esm/styles/getGridStyles.js +78 -0
  191. package/esm/styles/getGridStyles.js.map +7 -0
  192. package/esm/styles/getLayoutSizeStyles.js +21 -0
  193. package/esm/styles/getLayoutSizeStyles.js.map +7 -0
  194. package/esm/styles/getSpacingSprinkles.js +50 -0
  195. package/esm/styles/getSpacingSprinkles.js.map +7 -0
  196. package/esm/styles/index.js +49 -0
  197. package/esm/styles/index.js.map +7 -0
  198. package/esm/styles/safe-sprinkles.js +17 -0
  199. package/esm/styles/safe-sprinkles.js.map +7 -0
  200. package/esm/styles/sprinkle-properties.js +137 -0
  201. package/esm/styles/sprinkle-properties.js.map +7 -0
  202. package/esm/styles/sprinkles.css +786 -0
  203. package/esm/styles/sprinkles.sty.js +9 -0
  204. package/esm/styles/sprinkles.sty.js.map +7 -0
  205. package/esm/styles/textStyle.css +64 -0
  206. package/esm/styles/textStyle.sty.js +7 -0
  207. package/esm/styles/textStyle.sty.js.map +7 -0
  208. package/esm/typography/BlockQuote/Blockquote.css +17 -0
  209. package/esm/typography/BlockQuote/Blockquote.js +34 -0
  210. package/esm/typography/BlockQuote/Blockquote.js.map +7 -0
  211. package/esm/typography/BlockQuote/Blockquote.sty.js +6 -0
  212. package/esm/typography/BlockQuote/Blockquote.sty.js.map +7 -0
  213. package/esm/typography/Code/Code.css +16 -0
  214. package/esm/typography/Code/Code.js +34 -0
  215. package/esm/typography/Code/Code.js.map +7 -0
  216. package/esm/typography/Code/Code.sty.js +6 -0
  217. package/esm/typography/Code/Code.sty.js.map +7 -0
  218. package/esm/typography/Emphasis/Emphasis.css +4 -0
  219. package/esm/typography/Emphasis/Emphasis.js +34 -0
  220. package/esm/typography/Emphasis/Emphasis.js.map +7 -0
  221. package/esm/typography/Emphasis/Emphasis.sty.js +6 -0
  222. package/esm/typography/Emphasis/Emphasis.sty.js.map +7 -0
  223. package/esm/typography/ExternalLink/ExternalLink.css +28 -0
  224. package/esm/typography/ExternalLink/ExternalLink.js +56 -0
  225. package/esm/typography/ExternalLink/ExternalLink.js.map +7 -0
  226. package/esm/typography/ExternalLink/ExternalLink.sty.js +6 -0
  227. package/esm/typography/ExternalLink/ExternalLink.sty.js.map +7 -0
  228. package/esm/typography/Heading/Heading.css +54 -0
  229. package/esm/typography/Heading/Heading.js +36 -0
  230. package/esm/typography/Heading/Heading.js.map +7 -0
  231. package/esm/typography/Heading/Heading.sty.js +7 -0
  232. package/esm/typography/Heading/Heading.sty.js.map +7 -0
  233. package/esm/typography/Highlight/Highlight.css +4 -0
  234. package/esm/typography/Highlight/Highlight.js +111 -0
  235. package/esm/typography/Highlight/Highlight.js.map +7 -0
  236. package/esm/typography/Highlight/Highlight.sty.js +6 -0
  237. package/esm/typography/Highlight/Highlight.sty.js.map +7 -0
  238. package/esm/typography/Link/Link.css +15 -0
  239. package/esm/typography/Link/Link.js +49 -0
  240. package/esm/typography/Link/Link.js.map +7 -0
  241. package/esm/typography/Link/Link.sty.js +6 -0
  242. package/esm/typography/Link/Link.sty.js.map +7 -0
  243. package/esm/typography/List/List.css +16 -0
  244. package/esm/typography/List/List.js +81 -0
  245. package/esm/typography/List/List.js.map +7 -0
  246. package/esm/typography/List/List.sty.js +8 -0
  247. package/esm/typography/List/List.sty.js.map +7 -0
  248. package/esm/typography/Paragraph/Paragraph.css +19 -0
  249. package/esm/typography/Paragraph/Paragraph.js +49 -0
  250. package/esm/typography/Paragraph/Paragraph.js.map +7 -0
  251. package/esm/typography/Paragraph/Paragraph.sty.js +7 -0
  252. package/esm/typography/Paragraph/Paragraph.sty.js.map +7 -0
  253. package/esm/typography/Strikethrough/Strikethrough.css +5 -0
  254. package/esm/typography/Strikethrough/Strikethrough.js +32 -0
  255. package/esm/typography/Strikethrough/Strikethrough.js.map +7 -0
  256. package/esm/typography/Strikethrough/Strikethrough.sty.js +6 -0
  257. package/esm/typography/Strikethrough/Strikethrough.sty.js.map +7 -0
  258. package/esm/typography/Strong/Strong.css +4 -0
  259. package/esm/typography/Strong/Strong.js +34 -0
  260. package/esm/typography/Strong/Strong.js.map +7 -0
  261. package/esm/typography/Strong/Strong.sty.js +6 -0
  262. package/esm/typography/Strong/Strong.sty.js.map +7 -0
  263. package/esm/typography/Text/Text.css +18 -0
  264. package/esm/typography/Text/Text.js +43 -0
  265. package/esm/typography/Text/Text.js.map +7 -0
  266. package/esm/typography/Text/Text.sty.js +7 -0
  267. package/esm/typography/Text/Text.sty.js.map +7 -0
  268. package/esm/typography/TextEllipsis/TextEllipsis.css +22 -0
  269. package/esm/typography/TextEllipsis/TextEllipsis.js +143 -0
  270. package/esm/typography/TextEllipsis/TextEllipsis.js.map +7 -0
  271. package/esm/typography/TextEllipsis/TextEllipsis.sty.js +7 -0
  272. package/esm/typography/TextEllipsis/TextEllipsis.sty.js.map +7 -0
  273. package/esm/typography/index.js +43 -0
  274. package/esm/typography/index.js.map +7 -0
  275. package/esm/typography/utils.js +101 -0
  276. package/esm/typography/utils.js.map +7 -0
  277. package/index.d.ts +4 -0
  278. package/index.js +4 -0
  279. package/lang/en.json +12 -0
  280. package/lang/uncompiled/en.json +10 -1
  281. package/layouts/Divider/Divider.css +23 -0
  282. package/layouts/Divider/Divider.d.ts +39 -0
  283. package/layouts/Divider/Divider.js +67 -0
  284. package/layouts/Divider/Divider.sty.d.ts +16 -0
  285. package/layouts/Divider/Divider.sty.js +26 -0
  286. package/layouts/container/Container.css +8 -0
  287. package/layouts/container/Container.d.ts +34 -0
  288. package/layouts/container/Container.js +80 -0
  289. package/layouts/container/Container.sty.d.ts +1 -0
  290. package/layouts/container/Container.sty.js +25 -0
  291. package/layouts/flex/Flex.d.ts +23 -0
  292. package/layouts/flex/Flex.js +72 -0
  293. package/layouts/grid/Grid.d.ts +23 -0
  294. package/layouts/grid/Grid.js +72 -0
  295. package/layouts/index.d.ts +6 -0
  296. package/layouts/index.js +29 -0
  297. package/package.json +34 -4
  298. package/styles/colorUtils.css +80 -0
  299. package/styles/colorUtils.sty.d.ts +56 -0
  300. package/styles/colorUtils.sty.js +27 -0
  301. package/styles/container.css +64 -0
  302. package/styles/container.sty.d.ts +54 -0
  303. package/styles/container.sty.js +27 -0
  304. package/styles/ellipsis.css +5 -0
  305. package/styles/ellipsis.sty.d.ts +5 -0
  306. package/styles/ellipsis.sty.js +24 -0
  307. package/styles/extract-util.d.ts +9 -0
  308. package/styles/extract-util.js +33 -0
  309. package/styles/getFlexStyles.d.ts +64 -0
  310. package/styles/getFlexStyles.js +95 -0
  311. package/styles/getGapSprinkles.d.ts +19 -0
  312. package/styles/getGapSprinkles.js +36 -0
  313. package/styles/getGridFlexPositionSprinkles.d.ts +35 -0
  314. package/styles/getGridFlexPositionSprinkles.js +43 -0
  315. package/styles/getGridStyles.d.ts +74 -0
  316. package/styles/getGridStyles.js +100 -0
  317. package/styles/getLayoutSizeStyles.d.ts +29 -0
  318. package/styles/getLayoutSizeStyles.js +39 -0
  319. package/styles/getSpacingSprinkles.d.ts +74 -0
  320. package/styles/getSpacingSprinkles.js +68 -0
  321. package/styles/index.d.ts +11 -0
  322. package/styles/index.js +47 -0
  323. package/styles/safe-sprinkles.d.ts +6 -0
  324. package/styles/safe-sprinkles.js +35 -0
  325. package/styles/sprinkle-properties.d.ts +257 -0
  326. package/styles/sprinkle-properties.js +165 -0
  327. package/styles/sprinkles.css +786 -0
  328. package/styles/sprinkles.sty.d.ts +913 -0
  329. package/styles/sprinkles.sty.js +27 -0
  330. package/styles/textStyle.css +64 -0
  331. package/styles/textStyle.sty.d.ts +13 -0
  332. package/styles/textStyle.sty.js +25 -0
  333. package/testing/mocks/canvas-mock.js +6 -1
  334. package/testing/mocks/text-ellipsis-mock.d.ts +1 -1
  335. package/testing/mocks/text-ellipsis-mock.js +8 -3
  336. package/typography/BlockQuote/Blockquote.css +17 -0
  337. package/typography/BlockQuote/Blockquote.d.ts +19 -0
  338. package/typography/BlockQuote/Blockquote.js +62 -0
  339. package/typography/BlockQuote/Blockquote.sty.d.ts +1 -0
  340. package/typography/BlockQuote/Blockquote.sty.js +24 -0
  341. package/typography/Code/Code.css +16 -0
  342. package/typography/Code/Code.d.ts +17 -0
  343. package/typography/Code/Code.js +62 -0
  344. package/typography/Code/Code.sty.d.ts +1 -0
  345. package/typography/Code/Code.sty.js +24 -0
  346. package/typography/Emphasis/Emphasis.css +4 -0
  347. package/typography/Emphasis/Emphasis.d.ts +14 -0
  348. package/typography/Emphasis/Emphasis.js +62 -0
  349. package/typography/Emphasis/Emphasis.sty.d.ts +1 -0
  350. package/typography/Emphasis/Emphasis.sty.js +24 -0
  351. package/typography/ExternalLink/ExternalLink.css +28 -0
  352. package/typography/ExternalLink/ExternalLink.d.ts +21 -0
  353. package/typography/ExternalLink/ExternalLink.js +82 -0
  354. package/typography/ExternalLink/ExternalLink.sty.d.ts +1 -0
  355. package/typography/ExternalLink/ExternalLink.sty.js +24 -0
  356. package/typography/Heading/Heading.css +54 -0
  357. package/typography/Heading/Heading.d.ts +24 -0
  358. package/typography/Heading/Heading.js +64 -0
  359. package/typography/Heading/Heading.sty.d.ts +52 -0
  360. package/typography/Heading/Heading.sty.js +25 -0
  361. package/typography/Highlight/Highlight.css +4 -0
  362. package/typography/Highlight/Highlight.d.ts +27 -0
  363. package/typography/Highlight/Highlight.js +139 -0
  364. package/typography/Highlight/Highlight.sty.d.ts +1 -0
  365. package/typography/Highlight/Highlight.sty.js +24 -0
  366. package/typography/Link/Link.css +15 -0
  367. package/typography/Link/Link.d.ts +16 -0
  368. package/typography/Link/Link.js +75 -0
  369. package/typography/Link/Link.sty.d.ts +1 -0
  370. package/typography/Link/Link.sty.js +24 -0
  371. package/typography/List/List.css +16 -0
  372. package/typography/List/List.d.ts +39 -0
  373. package/typography/List/List.js +109 -0
  374. package/typography/List/List.sty.d.ts +2 -0
  375. package/typography/List/List.sty.js +26 -0
  376. package/typography/Paragraph/Paragraph.css +19 -0
  377. package/typography/Paragraph/Paragraph.d.ts +19 -0
  378. package/typography/Paragraph/Paragraph.js +77 -0
  379. package/typography/Paragraph/Paragraph.sty.d.ts +16 -0
  380. package/typography/Paragraph/Paragraph.sty.js +25 -0
  381. package/typography/Strikethrough/Strikethrough.css +5 -0
  382. package/typography/Strikethrough/Strikethrough.d.ts +15 -0
  383. package/typography/Strikethrough/Strikethrough.js +60 -0
  384. package/typography/Strikethrough/Strikethrough.sty.d.ts +1 -0
  385. package/typography/Strikethrough/Strikethrough.sty.js +24 -0
  386. package/typography/Strong/Strong.css +4 -0
  387. package/typography/Strong/Strong.d.ts +14 -0
  388. package/typography/Strong/Strong.js +62 -0
  389. package/typography/Strong/Strong.sty.d.ts +1 -0
  390. package/typography/Strong/Strong.sty.js +24 -0
  391. package/typography/Text/Text.css +18 -0
  392. package/typography/Text/Text.d.ts +26 -0
  393. package/typography/Text/Text.js +71 -0
  394. package/typography/Text/Text.sty.d.ts +16 -0
  395. package/typography/Text/Text.sty.js +25 -0
  396. package/typography/TextEllipsis/TextEllipsis.css +22 -0
  397. package/typography/TextEllipsis/TextEllipsis.d.ts +32 -0
  398. package/typography/TextEllipsis/TextEllipsis.js +167 -0
  399. package/typography/TextEllipsis/TextEllipsis.sty.d.ts +15 -0
  400. package/typography/TextEllipsis/TextEllipsis.sty.js +25 -0
  401. package/typography/index.d.ts +28 -0
  402. package/typography/index.js +54 -0
  403. package/typography/utils.d.ts +52 -0
  404. package/typography/utils.js +119 -0
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { type DataTestId } from '../../core/types/data-props.js';
3
+ import { type StylingProps } from '../../core/types/styling-props.js';
4
+ /** @public
5
+ * Divider component props.
6
+ */
7
+ export interface DividerProps extends StylingProps, DataTestId {
8
+ /**
9
+ * Orientation of the Divider component.
10
+ * @defaultValue 'horizontal'
11
+ */
12
+ orientation?: 'horizontal' | 'vertical';
13
+ /**
14
+ * Control the HTML tag used for rendering the Divider.
15
+ * @defaultValue 'div'
16
+ */
17
+ as?: 'hr' | 'div';
18
+ /**
19
+ * Indicate whether the Divider is used inside a Flex component to apply the right styling.
20
+ * If set to false, make sure to have an explicit width/height style set on a parent HTML tag.
21
+ * @defaultValue true
22
+ */
23
+ flexItem?: boolean;
24
+ /**
25
+ * The color of the Divider.
26
+ * @defaultValue 'neutral'
27
+ */
28
+ color?: 'primary' | 'neutral' | 'success' | 'warning' | 'critical';
29
+ /**
30
+ * The visual style of the Divider.
31
+ * @defaultValue 'default'
32
+ */
33
+ variant?: 'default' | 'accent';
34
+ }
35
+ /**
36
+ * The `Divider` component visually separates groups of content.
37
+ * @public
38
+ */
39
+ export declare const Divider: (props: DividerProps & React.RefAttributes<HTMLDivElement | HTMLHRElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -0,0 +1,67 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
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
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var Divider_exports = {};
29
+ __export(Divider_exports, {
30
+ Divider: () => Divider
31
+ });
32
+ module.exports = __toCommonJS(Divider_exports);
33
+ var import_clsx = __toESM(require("clsx"));
34
+ var import_react = __toESM(require("react"));
35
+ var import_Divider_css = require("./Divider.sty.js");
36
+ var import_colorUtils_css = require("../../core/utils/colorUtils.sty.js");
37
+ const Divider = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
38
+ const {
39
+ orientation = "horizontal",
40
+ flexItem = true,
41
+ as = "div",
42
+ color = "neutral",
43
+ variant = "default",
44
+ "data-testid": dataTestId,
45
+ className: consumerClassName,
46
+ style: consumerStyle,
47
+ ...remainingProps
48
+ } = props;
49
+ const DividerTag = as;
50
+ return /* @__PURE__ */ import_react.default.createElement(
51
+ DividerTag,
52
+ {
53
+ role: "separator",
54
+ "aria-orientation": orientation === "vertical" ? orientation : void 0,
55
+ ref,
56
+ "data-testid": dataTestId,
57
+ className: (0, import_clsx.default)(
58
+ (0, import_colorUtils_css.colorUtilsCSS)({ color, variant }),
59
+ (0, import_Divider_css.dividerCSS)({ orientation, flexItem }),
60
+ consumerClassName
61
+ ),
62
+ style: consumerStyle,
63
+ ...remainingProps
64
+ }
65
+ );
66
+ });
67
+ Divider.displayName = "Divider";
@@ -0,0 +1,16 @@
1
+ export declare const dividerCSS: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ orientation: {
3
+ horizontal: {
4
+ width: "100%";
5
+ height: string;
6
+ };
7
+ vertical: {
8
+ width: string;
9
+ height: "100%";
10
+ };
11
+ };
12
+ flexItem: {
13
+ true: {};
14
+ false: {};
15
+ };
16
+ }>;
@@ -0,0 +1,26 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var Divider_css_exports = {};
19
+ __export(Divider_css_exports, {
20
+ dividerCSS: () => dividerCSS
21
+ });
22
+ module.exports = __toCommonJS(Divider_css_exports);
23
+ var import_colorUtils_css_ts_vanilla = require("../../core/utils/colorUtils.css");
24
+ var import_Divider_css_ts_vanilla = require("./Divider.css");
25
+ var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
26
+ var dividerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "Divider_dividerCSS__1ljcfp90", variantClassNames: { orientation: { horizontal: "Divider_dividerCSS_orientation_horizontal__1ljcfp91", vertical: "Divider_dividerCSS_orientation_vertical__1ljcfp92" }, flexItem: { true: "Divider_dividerCSS_flexItem_true__1ljcfp93", false: "Divider_dividerCSS_flexItem_false__1ljcfp94" } }, defaultVariants: {}, compoundVariants: [[{ orientation: "horizontal", flexItem: false }, "Divider_dividerCSS_compound_0__1ljcfp95"], [{ orientation: "vertical", flexItem: true }, "Divider_dividerCSS_compound_1__1ljcfp96"]] });
@@ -0,0 +1,8 @@
1
+ .Container_containerCSS__f32lcd0 {
2
+ border-style: var(--dt-borders-style-default, solid);
3
+ border-width: var(--dt-borders-width-emphasized, 2px);
4
+ border-radius: var(--dt-borders-radius-container-default, 12px);
5
+ color: var(--vars_text__6levse0);
6
+ border-color: var(--vars_borderColor__6levse2);
7
+ background-color: var(--vars_background__6levse1);
8
+ }
@@ -0,0 +1,34 @@
1
+ import { type ElementType, type ReactElement } from 'react';
2
+ import type { DataTestId } from '../../core/types/data-props.js';
3
+ import type { MaskingProps } from '../../core/types/masking-props.js';
4
+ import type { PolymorphicComponentProps } from '../../core/types/polymorph.js';
5
+ import type { StylingProps } from '../../core/types/styling-props.js';
6
+ import type { WithChildren } from '../../core/types/with-children.js';
7
+ import { type LayoutSizeProps, type SpacingProps } from '../../styles/index.js';
8
+ /**
9
+ * Accepted properties for Container
10
+ * @public
11
+ */
12
+ export interface ContainerOwnProps extends WithChildren, DataTestId, StylingProps, SpacingProps, LayoutSizeProps, MaskingProps {
13
+ /**
14
+ * The visual style of the container.
15
+ * @defaultValue 'default'
16
+ */
17
+ variant?: 'minimal' | 'default' | 'emphasized' | 'accent';
18
+ /**
19
+ * The color of the container. This should be chosen based on the context
20
+ * the container is used in.
21
+ * @defaultValue 'neutral'
22
+ */
23
+ color?: 'primary' | 'neutral' | 'success' | 'warning' | 'critical';
24
+ }
25
+ /**
26
+ * Merge own props with others inherited from the underlying element type
27
+ * @public
28
+ */
29
+ export type ContainerProps<E extends ElementType> = PolymorphicComponentProps<E, ContainerOwnProps>;
30
+ /**
31
+ * Containers can be used to group content that is related. Additionally, they emphasize and highlight your grouped content.
32
+ * @public
33
+ */
34
+ export declare const Container: <E extends ElementType = 'div'>(props: ContainerProps<E>) => ReactElement | null;
@@ -0,0 +1,80 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
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
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var Container_exports = {};
29
+ __export(Container_exports, {
30
+ Container: () => Container
31
+ });
32
+ module.exports = __toCommonJS(Container_exports);
33
+ var import_clsx = __toESM(require("clsx"));
34
+ var import_react = __toESM(require("react"));
35
+ var import_Container_css = require("./Container.sty.js");
36
+ var import_container_css = require("../../styles/container.sty.js");
37
+ var import_styles = require("../../styles/index.js");
38
+ const Container = /* @__PURE__ */ (0, import_react.forwardRef)(
39
+ ({
40
+ as,
41
+ children,
42
+ variant = "default",
43
+ color = "neutral",
44
+ className: consumerClassName,
45
+ style: consumerStyle,
46
+ "data-testid": dataTestId,
47
+ "data-dtrum-mask": dataDtrumMask,
48
+ "data-dtrum-allow": dataDtrumAllow,
49
+ ...remainingProps
50
+ }, ref) => {
51
+ const [spacingClasses, sprinkleRestProps] = (0, import_styles._getSpacingSprinkles)(
52
+ remainingProps,
53
+ { padding: 16 }
54
+ );
55
+ const [sizeStyles, sizeRestProps] = (0, import_styles._getLayoutSizeStyles)(sprinkleRestProps);
56
+ const Component = as || "div";
57
+ return /* @__PURE__ */ import_react.default.createElement(
58
+ Component,
59
+ {
60
+ ref,
61
+ className: (0, import_clsx.default)(
62
+ (0, import_container_css.containerColorsCSS)({ color, variant }),
63
+ import_Container_css.containerCSS,
64
+ spacingClasses,
65
+ consumerClassName
66
+ ),
67
+ style: {
68
+ ...sizeStyles,
69
+ ...consumerStyle
70
+ },
71
+ "data-testid": dataTestId,
72
+ "data-dtrum-mask": dataDtrumMask,
73
+ "data-dtrum-allow": dataDtrumAllow,
74
+ ...sizeRestProps
75
+ },
76
+ children
77
+ );
78
+ }
79
+ );
80
+ Container.displayName = "Container";
@@ -0,0 +1 @@
1
+ export declare const containerCSS: string;
@@ -0,0 +1,25 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var Container_css_exports = {};
19
+ __export(Container_css_exports, {
20
+ containerCSS: () => containerCSS
21
+ });
22
+ module.exports = __toCommonJS(Container_css_exports);
23
+ var import_container_css_ts_vanilla = require("../../styles/container.css");
24
+ var import_Container_css_ts_vanilla = require("./Container.css");
25
+ var containerCSS = "Container_containerCSS__f32lcd0";
@@ -0,0 +1,23 @@
1
+ import { type ElementType, type ReactElement } from 'react';
2
+ import { type DataTestId } from '../../core/types/data-props.js';
3
+ import { type MaskingProps } from '../../core/types/masking-props.js';
4
+ import { type PolymorphicComponentProps } from '../../core/types/polymorph.js';
5
+ import { type StylingProps } from '../../core/types/styling-props.js';
6
+ import { type WithChildren } from '../../core/types/with-children.js';
7
+ import { type FlexStyleProps } from '../../styles/getFlexStyles.js';
8
+ /**
9
+ * Flex own props.
10
+ * @public
11
+ */
12
+ export type FlexOwnProps = WithChildren & StylingProps & FlexStyleProps & DataTestId & MaskingProps;
13
+ /**
14
+ * Merge own props with others inherited from the underlying element type.
15
+ * @public
16
+ */
17
+ export type FlexProps<E extends ElementType> = PolymorphicComponentProps<E, FlexOwnProps>;
18
+ /**
19
+ * The `Flex` component can be used to layout its children with Flexbox.
20
+ * The component can be customized with flexbox props.
21
+ * @public
22
+ */
23
+ export declare const Flex: <E extends ElementType = 'div'>(props: FlexProps<E>) => ReactElement | null;
@@ -0,0 +1,72 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
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
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var Flex_exports = {};
29
+ __export(Flex_exports, {
30
+ Flex: () => Flex
31
+ });
32
+ module.exports = __toCommonJS(Flex_exports);
33
+ var import_clsx = __toESM(require("clsx"));
34
+ var import_react = __toESM(require("react"));
35
+ var import_getFlexStyles = require("../../styles/getFlexStyles.js");
36
+ const Flex = /* @__PURE__ */ (0, import_react.forwardRef)(
37
+ (props, forwardedRef) => {
38
+ const {
39
+ children,
40
+ id,
41
+ as,
42
+ className: consumerClassName,
43
+ style: consumerStyle,
44
+ "data-testid": dataTestId,
45
+ "data-dtrum-mask": dataDtrumMask,
46
+ "data-dtrum-allow": dataDtrumAllow,
47
+ ...remainingProps
48
+ } = props;
49
+ const [flexClassNames, flexStyles, nonFlexStyleProps] = (0, import_getFlexStyles.getFlexStyles)(
50
+ remainingProps,
51
+ { gap: 8 }
52
+ );
53
+ const Component = as ?? "div";
54
+ return /* @__PURE__ */ import_react.default.createElement(
55
+ Component,
56
+ {
57
+ ref: forwardedRef,
58
+ id,
59
+ "data-testid": dataTestId,
60
+ "data-dtrum-mask": dataDtrumMask,
61
+ "data-dtrum-allow": dataDtrumAllow,
62
+ className: (0, import_clsx.default)(flexClassNames, consumerClassName),
63
+ style: {
64
+ ...flexStyles,
65
+ ...consumerStyle
66
+ },
67
+ ...nonFlexStyleProps
68
+ },
69
+ children
70
+ );
71
+ }
72
+ );
@@ -0,0 +1,23 @@
1
+ import { ElementType, ReactElement } from 'react';
2
+ import { type DataTestId } from '../../core/types/data-props.js';
3
+ import { type MaskingProps } from '../../core/types/masking-props.js';
4
+ import { type PolymorphicComponentProps } from '../../core/types/polymorph.js';
5
+ import { type StylingProps } from '../../core/types/styling-props.js';
6
+ import { type WithChildren } from '../../core/types/with-children.js';
7
+ import { type GridStyleProps } from '../../styles/getGridStyles.js';
8
+ /**
9
+ * Defines grid own props.
10
+ * @public
11
+ */
12
+ export type GridOwnProps = WithChildren & StylingProps & GridStyleProps & DataTestId & MaskingProps;
13
+ /**
14
+ * Merge own props with others inherited from the underlying element type.
15
+ * @public
16
+ */
17
+ export type GridProps<E extends ElementType> = PolymorphicComponentProps<E, GridOwnProps>;
18
+ /**
19
+ * The `Grid` component can be used to layout its children with the help of CSS Grid.
20
+ * The component can be customized with CSS grid props.
21
+ * @public
22
+ */
23
+ export declare const Grid: <E extends ElementType = 'div'>(props: GridProps<E>) => ReactElement | null;
@@ -0,0 +1,72 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
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
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var Grid_exports = {};
29
+ __export(Grid_exports, {
30
+ Grid: () => Grid
31
+ });
32
+ module.exports = __toCommonJS(Grid_exports);
33
+ var import_clsx = __toESM(require("clsx"));
34
+ var import_react = __toESM(require("react"));
35
+ var import_getGridStyles = require("../../styles/getGridStyles.js");
36
+ const Grid = /* @__PURE__ */ (0, import_react.forwardRef)(
37
+ (props, forwardedRef) => {
38
+ const {
39
+ children,
40
+ id,
41
+ as = "div",
42
+ className: consumerClassName,
43
+ style: consumerStyle,
44
+ "data-testid": dataTestId,
45
+ "data-dtrum-mask": dataDtrumMask,
46
+ "data-dtrum-allow": dataDtrumAllow,
47
+ ...remainingProps
48
+ } = props;
49
+ const [gridClassNames, gridStyles, nonGridStyleProps] = (0, import_getGridStyles.getGridStyles)(
50
+ remainingProps,
51
+ { gap: 8 }
52
+ );
53
+ const Component = as ?? "div";
54
+ return /* @__PURE__ */ import_react.default.createElement(
55
+ Component,
56
+ {
57
+ ref: forwardedRef,
58
+ "data-testid": dataTestId,
59
+ "data-dtrum-mask": dataDtrumMask,
60
+ "data-dtrum-allow": dataDtrumAllow,
61
+ id,
62
+ className: (0, import_clsx.default)(gridClassNames, consumerClassName),
63
+ style: {
64
+ ...gridStyles,
65
+ ...consumerStyle
66
+ },
67
+ ...nonGridStyleProps
68
+ },
69
+ children
70
+ );
71
+ }
72
+ );
@@ -0,0 +1,6 @@
1
+ export { Flex, type FlexOwnProps, type FlexProps } from './flex/Flex.js';
2
+ export { Grid, type GridOwnProps, type GridProps } from './grid/Grid.js';
3
+ export { Divider } from './Divider/Divider.js';
4
+ export type { DividerProps } from './Divider/Divider.js';
5
+ export { Container } from './container/Container.js';
6
+ export type { ContainerOwnProps, ContainerProps, } from './container/Container.js';
@@ -0,0 +1,29 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var layouts_exports = {};
19
+ __export(layouts_exports, {
20
+ Container: () => import_Container.Container,
21
+ Divider: () => import_Divider.Divider,
22
+ Flex: () => import_Flex.Flex,
23
+ Grid: () => import_Grid.Grid
24
+ });
25
+ module.exports = __toCommonJS(layouts_exports);
26
+ var import_Flex = require("./flex/Flex.js");
27
+ var import_Grid = require("./grid/Grid.js");
28
+ var import_Divider = require("./Divider/Divider.js");
29
+ var import_Container = require("./container/Container.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/strato-components",
3
- "version": "0.84.31",
3
+ "version": "0.84.51",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "lang": "lang/uncompiled",
@@ -19,6 +19,13 @@
19
19
  "module": "./esm/index.js",
20
20
  "import": "./esm/index.js"
21
21
  },
22
+ "./content": {
23
+ "types": "./content/index.d.ts",
24
+ "require": "./content/index.js",
25
+ "browser": "./esm/content/index.js",
26
+ "module": "./esm/content/index.js",
27
+ "import": "./esm/content/index.js"
28
+ },
22
29
  "./core": {
23
30
  "types": "./core/index.d.ts",
24
31
  "require": "./core/index.js",
@@ -26,6 +33,27 @@
26
33
  "module": "./esm/core/index.js",
27
34
  "import": "./esm/core/index.js"
28
35
  },
36
+ "./layouts": {
37
+ "types": "./layouts/index.d.ts",
38
+ "require": "./layouts/index.js",
39
+ "browser": "./esm/layouts/index.js",
40
+ "module": "./esm/layouts/index.js",
41
+ "import": "./esm/layouts/index.js"
42
+ },
43
+ "./styles": {
44
+ "types": "./styles/index.d.ts",
45
+ "require": "./styles/index.js",
46
+ "browser": "./esm/styles/index.js",
47
+ "module": "./esm/styles/index.js",
48
+ "import": "./esm/styles/index.js"
49
+ },
50
+ "./typography": {
51
+ "types": "./typography/index.d.ts",
52
+ "require": "./typography/index.js",
53
+ "browser": "./esm/typography/index.js",
54
+ "module": "./esm/typography/index.js",
55
+ "import": "./esm/typography/index.js"
56
+ },
29
57
  "./testing": {
30
58
  "types": "./testing/index.d.ts",
31
59
  "require": "./testing/index.js"
@@ -36,14 +64,16 @@
36
64
  }
37
65
  },
38
66
  "dependencies": {
67
+ "@dynatrace-sdk/units": "^0.13.1",
39
68
  "@dynatrace/devkit": "^0.3.2",
40
69
  "@formatjs/icu-messageformat-parser": "^2.0.18",
41
70
  "@jest/globals": "^29.7.0",
42
- "clsx": "^2.1.0",
71
+ "clsx": "^2.1.1",
43
72
  "lodash-es": "^4.17.21",
44
73
  "wicg-inert": "^3.1.2",
45
- "@dynatrace/strato-design-tokens": "0.20.20",
46
- "@dynatrace/strato-icons": "0.37.0"
74
+ "use-resize-observer": "^9.1.0",
75
+ "@dynatrace/strato-design-tokens": "0.20.30",
76
+ "@dynatrace/strato-icons": "0.38.0"
47
77
  },
48
78
  "peerDependencies": {
49
79
  "@dynatrace-sdk/app-environment": ">= 1.0.0 < 2",