@dynatrace/strato-components 0.85.10 → 0.85.21

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 (230) hide show
  1. package/buttons/button/Button.css +1 -0
  2. package/buttons/index.d.ts +2 -0
  3. package/buttons/index.js +2 -0
  4. package/buttons/intent-button/IntentButton.d.ts +44 -0
  5. package/buttons/intent-button/IntentButton.js +102 -0
  6. package/buttons/intent-button/useIntentButton.d.ts +12 -0
  7. package/buttons/intent-button/useIntentButton.js +72 -0
  8. package/content/index.d.ts +4 -0
  9. package/content/index.js +5 -1
  10. package/content/skeleton/Skeleton.css +33 -0
  11. package/content/skeleton/Skeleton.d.ts +30 -0
  12. package/content/skeleton/Skeleton.js +60 -0
  13. package/content/skeleton/Skeleton.sty.d.ts +10 -0
  14. package/content/skeleton/Skeleton.sty.js +25 -0
  15. package/content/skeleton/SkeletonText.d.ts +24 -0
  16. package/content/skeleton/SkeletonText.js +84 -0
  17. package/esm/buttons/button/Button.css +1 -0
  18. package/esm/buttons/index.js +2 -0
  19. package/esm/buttons/index.js.map +2 -2
  20. package/esm/buttons/intent-button/IntentButton.js +74 -0
  21. package/esm/buttons/intent-button/IntentButton.js.map +7 -0
  22. package/esm/buttons/intent-button/useIntentButton.js +57 -0
  23. package/esm/buttons/intent-button/useIntentButton.js.map +7 -0
  24. package/esm/content/index.js +5 -1
  25. package/esm/content/index.js.map +2 -2
  26. package/esm/content/skeleton/Skeleton.css +33 -0
  27. package/esm/content/skeleton/Skeleton.js +32 -0
  28. package/esm/content/skeleton/Skeleton.js.map +7 -0
  29. package/esm/content/skeleton/Skeleton.sty.js +7 -0
  30. package/esm/content/skeleton/Skeleton.sty.js.map +7 -0
  31. package/esm/content/skeleton/SkeletonText.js +56 -0
  32. package/esm/content/skeleton/SkeletonText.js.map +7 -0
  33. package/esm/layouts/{Divider → divider}/Divider.css +5 -5
  34. package/esm/layouts/{Divider → divider}/Divider.js.map +1 -1
  35. package/esm/layouts/{Divider → divider}/Divider.sty.js +1 -1
  36. package/esm/layouts/{Divider → divider}/Divider.sty.js.map +2 -2
  37. package/esm/layouts/helpers/spacingToCss.js +13 -0
  38. package/esm/layouts/helpers/spacingToCss.js.map +7 -0
  39. package/esm/layouts/hooks/useLayoutSizeProps.js +15 -0
  40. package/esm/layouts/hooks/useLayoutSizeProps.js.map +7 -0
  41. package/esm/layouts/hooks/useLayoutStyles.js +105 -0
  42. package/esm/layouts/hooks/useLayoutStyles.js.map +7 -0
  43. package/esm/layouts/hooks/useMarginProps.js +55 -0
  44. package/esm/layouts/hooks/useMarginProps.js.map +7 -0
  45. package/esm/layouts/hooks/usePaddingProps.js +59 -0
  46. package/esm/layouts/hooks/usePaddingProps.js.map +7 -0
  47. package/esm/layouts/index.js +6 -2
  48. package/esm/layouts/index.js.map +2 -2
  49. package/esm/layouts/surface/Surface.css +95 -0
  50. package/esm/layouts/surface/Surface.js +84 -0
  51. package/esm/layouts/surface/Surface.js.map +7 -0
  52. package/esm/layouts/surface/Surface.sty.js +10 -0
  53. package/esm/layouts/surface/Surface.sty.js.map +7 -0
  54. package/esm/layouts/surface/variables.sty.js +5 -0
  55. package/esm/layouts/surface/variables.sty.js.map +7 -0
  56. package/esm/layouts/types/layout.types.js +1 -0
  57. package/esm/layouts/types/layout.types.js.map +7 -0
  58. package/esm/typography/{BlockQuote → block-quote}/Blockquote.css +2 -2
  59. package/esm/typography/{BlockQuote → block-quote}/Blockquote.js.map +2 -2
  60. package/esm/typography/{BlockQuote → block-quote}/Blockquote.sty.js +1 -1
  61. package/esm/typography/{BlockQuote → block-quote}/Blockquote.sty.js.map +2 -2
  62. package/{typography/Code → esm/typography/code}/Code.css +1 -1
  63. package/esm/typography/{Code → code}/Code.js.map +2 -2
  64. package/esm/typography/{Code → code}/Code.sty.js +1 -1
  65. package/esm/typography/{Code → code}/Code.sty.js.map +2 -2
  66. package/esm/typography/{Emphasis → emphasis}/Emphasis.css +1 -1
  67. package/esm/typography/{Emphasis → emphasis}/Emphasis.js.map +2 -2
  68. package/esm/typography/{Emphasis → emphasis}/Emphasis.sty.js +1 -1
  69. package/esm/typography/{Emphasis → emphasis}/Emphasis.sty.js.map +2 -2
  70. package/{typography/ExternalLink → esm/typography/external-link}/ExternalLink.css +6 -6
  71. package/esm/typography/{ExternalLink → external-link}/ExternalLink.js.map +2 -2
  72. package/esm/typography/{ExternalLink → external-link}/ExternalLink.sty.js +1 -1
  73. package/esm/typography/{ExternalLink → external-link}/ExternalLink.sty.js.map +2 -2
  74. package/esm/typography/{Heading → heading}/Heading.css +7 -7
  75. package/esm/typography/heading/Heading.js.map +7 -0
  76. package/esm/typography/heading/Heading.sty.js +7 -0
  77. package/esm/typography/{Heading → heading}/Heading.sty.js.map +2 -2
  78. package/esm/typography/{Highlight → highlight}/Highlight.css +1 -1
  79. package/esm/typography/{Highlight → highlight}/Highlight.js.map +2 -2
  80. package/esm/typography/{Highlight → highlight}/Highlight.sty.js +1 -1
  81. package/esm/typography/{Highlight → highlight}/Highlight.sty.js.map +2 -2
  82. package/esm/typography/index.js +13 -13
  83. package/esm/typography/index.js.map +1 -1
  84. package/{typography/Link → esm/typography/link}/Link.css +4 -4
  85. package/esm/typography/{Link → link}/Link.js +1 -1
  86. package/esm/typography/link/Link.js.map +7 -0
  87. package/esm/typography/{Link → link}/Link.sty.js +1 -1
  88. package/esm/typography/{Link → link}/Link.sty.js.map +2 -2
  89. package/esm/typography/{List → list}/List.css +4 -4
  90. package/esm/typography/{List → list}/List.js +1 -1
  91. package/esm/typography/{List → list}/List.js.map +2 -2
  92. package/esm/typography/{List → list}/List.sty.js +2 -2
  93. package/esm/typography/{List → list}/List.sty.js.map +2 -2
  94. package/esm/typography/{Paragraph → paragraph}/Paragraph.css +3 -3
  95. package/esm/typography/{Paragraph → paragraph}/Paragraph.js.map +2 -2
  96. package/esm/typography/{Paragraph → paragraph}/Paragraph.sty.js +1 -1
  97. package/esm/typography/{Paragraph → paragraph}/Paragraph.sty.js.map +2 -2
  98. package/{typography/Strikethrough → esm/typography/strikethrough}/Strikethrough.css +1 -1
  99. package/esm/typography/strikethrough/Strikethrough.js.map +7 -0
  100. package/esm/typography/{Strikethrough → strikethrough}/Strikethrough.sty.js +1 -1
  101. package/esm/typography/{Strikethrough → strikethrough}/Strikethrough.sty.js.map +2 -2
  102. package/{typography/Strong → esm/typography/strong}/Strong.css +1 -1
  103. package/esm/typography/{Strong → strong}/Strong.js.map +2 -2
  104. package/esm/typography/{Strong → strong}/Strong.sty.js +1 -1
  105. package/esm/typography/{Strong → strong}/Strong.sty.js.map +2 -2
  106. package/{typography/Text → esm/typography/text}/Text.css +3 -3
  107. package/esm/typography/text/Text.js.map +7 -0
  108. package/esm/typography/{Text → text}/Text.sty.js +1 -1
  109. package/esm/typography/{Text → text}/Text.sty.js.map +2 -2
  110. package/{typography/TextEllipsis → esm/typography/text-ellipsis}/TextEllipsis.css +4 -4
  111. package/esm/typography/text-ellipsis/TextEllipsis.js.map +7 -0
  112. package/esm/typography/text-ellipsis/TextEllipsis.sty.js +7 -0
  113. package/esm/typography/{TextEllipsis → text-ellipsis}/TextEllipsis.sty.js.map +2 -2
  114. package/lang/en.json +6 -0
  115. package/lang/ja.json +24 -0
  116. package/lang/uncompiled/en.json +4 -0
  117. package/lang/uncompiled/ja.json +14 -1
  118. package/layouts/{Divider → divider}/Divider.css +5 -5
  119. package/layouts/{Divider → divider}/Divider.sty.js +1 -1
  120. package/layouts/helpers/spacingToCss.d.ts +6 -0
  121. package/layouts/helpers/spacingToCss.js +29 -0
  122. package/layouts/hooks/useLayoutSizeProps.d.ts +6 -0
  123. package/layouts/hooks/useLayoutSizeProps.js +33 -0
  124. package/layouts/hooks/useLayoutStyles.d.ts +7 -0
  125. package/layouts/hooks/useLayoutStyles.js +123 -0
  126. package/layouts/hooks/useMarginProps.d.ts +7 -0
  127. package/layouts/hooks/useMarginProps.js +73 -0
  128. package/layouts/hooks/usePaddingProps.d.ts +7 -0
  129. package/layouts/hooks/usePaddingProps.js +77 -0
  130. package/layouts/index.d.ts +6 -2
  131. package/layouts/index.js +6 -2
  132. package/layouts/surface/Surface.css +95 -0
  133. package/layouts/surface/Surface.d.ts +46 -0
  134. package/layouts/surface/Surface.js +110 -0
  135. package/layouts/surface/Surface.sty.d.ts +43 -0
  136. package/layouts/surface/Surface.sty.js +28 -0
  137. package/layouts/surface/variables.sty.d.ts +1 -0
  138. package/layouts/surface/variables.sty.js +23 -0
  139. package/layouts/types/layout.types.d.ts +64 -0
  140. package/layouts/types/layout.types.js +15 -0
  141. package/package.json +2 -2
  142. package/typography/{BlockQuote → block-quote}/Blockquote.css +2 -2
  143. package/typography/{BlockQuote → block-quote}/Blockquote.sty.js +1 -1
  144. package/{esm/typography/Code → typography/code}/Code.css +1 -1
  145. package/typography/{Code → code}/Code.sty.js +1 -1
  146. package/typography/{Emphasis → emphasis}/Emphasis.css +1 -1
  147. package/typography/{Emphasis → emphasis}/Emphasis.sty.js +1 -1
  148. package/{esm/typography/ExternalLink → typography/external-link}/ExternalLink.css +6 -6
  149. package/typography/{ExternalLink → external-link}/ExternalLink.sty.js +1 -1
  150. package/typography/{Heading → heading}/Heading.css +7 -7
  151. package/typography/{Heading → heading}/Heading.d.ts +3 -2
  152. package/typography/{Heading → heading}/Heading.sty.js +1 -1
  153. package/typography/{Highlight → highlight}/Highlight.css +1 -1
  154. package/typography/{Highlight → highlight}/Highlight.sty.js +1 -1
  155. package/typography/index.d.ts +26 -26
  156. package/typography/index.js +13 -13
  157. package/{esm/typography/Link → typography/link}/Link.css +4 -4
  158. package/typography/{Link → link}/Link.js +1 -1
  159. package/typography/{Link → link}/Link.sty.js +1 -1
  160. package/typography/{List → list}/List.css +4 -4
  161. package/typography/{List → list}/List.js +1 -1
  162. package/typography/{List → list}/List.sty.js +2 -2
  163. package/typography/{Paragraph → paragraph}/Paragraph.css +3 -3
  164. package/typography/{Paragraph → paragraph}/Paragraph.sty.js +1 -1
  165. package/{esm/typography/Strikethrough → typography/strikethrough}/Strikethrough.css +1 -1
  166. package/typography/{Strikethrough → strikethrough}/Strikethrough.d.ts +2 -2
  167. package/typography/{Strikethrough → strikethrough}/Strikethrough.sty.js +1 -1
  168. package/{esm/typography/Strong → typography/strong}/Strong.css +1 -1
  169. package/typography/{Strong → strong}/Strong.sty.js +1 -1
  170. package/{esm/typography/Text → typography/text}/Text.css +3 -3
  171. package/typography/{Text → text}/Text.d.ts +3 -2
  172. package/typography/{Text → text}/Text.sty.js +1 -1
  173. package/{esm/typography/TextEllipsis → typography/text-ellipsis}/TextEllipsis.css +4 -4
  174. package/typography/{TextEllipsis → text-ellipsis}/TextEllipsis.d.ts +3 -3
  175. package/typography/{TextEllipsis → text-ellipsis}/TextEllipsis.sty.js +1 -1
  176. package/esm/typography/Heading/Heading.js.map +0 -7
  177. package/esm/typography/Heading/Heading.sty.js +0 -7
  178. package/esm/typography/Link/Link.js.map +0 -7
  179. package/esm/typography/Strikethrough/Strikethrough.js.map +0 -7
  180. package/esm/typography/Text/Text.js.map +0 -7
  181. package/esm/typography/TextEllipsis/TextEllipsis.js.map +0 -7
  182. package/esm/typography/TextEllipsis/TextEllipsis.sty.js +0 -7
  183. package/esm/layouts/{Divider → divider}/Divider.js +0 -0
  184. package/esm/typography/{BlockQuote → block-quote}/Blockquote.js +0 -0
  185. package/esm/typography/{Code → code}/Code.js +0 -0
  186. package/esm/typography/{Emphasis → emphasis}/Emphasis.js +0 -0
  187. package/esm/typography/{ExternalLink → external-link}/ExternalLink.js +0 -0
  188. package/esm/typography/{Heading → heading}/Heading.js +0 -0
  189. package/esm/typography/{Highlight → highlight}/Highlight.js +0 -0
  190. package/esm/typography/{Paragraph → paragraph}/Paragraph.js +0 -0
  191. package/esm/typography/{Strikethrough → strikethrough}/Strikethrough.js +0 -0
  192. package/esm/typography/{Strong → strong}/Strong.js +0 -0
  193. package/esm/typography/{Text → text}/Text.js +0 -0
  194. package/esm/typography/{TextEllipsis → text-ellipsis}/TextEllipsis.js +0 -0
  195. package/layouts/{Divider → divider}/Divider.d.ts +0 -0
  196. package/layouts/{Divider → divider}/Divider.js +0 -0
  197. package/layouts/{Divider → divider}/Divider.sty.d.ts +0 -0
  198. package/typography/{BlockQuote → block-quote}/Blockquote.d.ts +1 -1
  199. package/typography/{BlockQuote → block-quote}/Blockquote.js +0 -0
  200. package/typography/{BlockQuote → block-quote}/Blockquote.sty.d.ts +0 -0
  201. package/typography/{Code → code}/Code.d.ts +1 -1
  202. package/typography/{Code → code}/Code.js +0 -0
  203. package/typography/{Code → code}/Code.sty.d.ts +0 -0
  204. package/typography/{Emphasis → emphasis}/Emphasis.d.ts +1 -1
  205. package/typography/{Emphasis → emphasis}/Emphasis.js +0 -0
  206. package/typography/{Emphasis → emphasis}/Emphasis.sty.d.ts +0 -0
  207. package/typography/{ExternalLink → external-link}/ExternalLink.d.ts +1 -1
  208. package/typography/{ExternalLink → external-link}/ExternalLink.js +0 -0
  209. package/typography/{ExternalLink → external-link}/ExternalLink.sty.d.ts +0 -0
  210. package/typography/{Heading → heading}/Heading.js +0 -0
  211. package/typography/{Heading → heading}/Heading.sty.d.ts +0 -0
  212. package/typography/{Highlight → highlight}/Highlight.d.ts +1 -1
  213. package/typography/{Highlight → highlight}/Highlight.js +0 -0
  214. package/typography/{Highlight → highlight}/Highlight.sty.d.ts +0 -0
  215. package/typography/{Link → link}/Link.d.ts +1 -1
  216. package/typography/{Link → link}/Link.sty.d.ts +0 -0
  217. package/typography/{List → list}/List.d.ts +1 -1
  218. package/typography/{List → list}/List.sty.d.ts +0 -0
  219. package/typography/{Paragraph → paragraph}/Paragraph.d.ts +1 -1
  220. package/typography/{Paragraph → paragraph}/Paragraph.js +0 -0
  221. package/typography/{Paragraph → paragraph}/Paragraph.sty.d.ts +0 -0
  222. package/typography/{Strikethrough → strikethrough}/Strikethrough.js +0 -0
  223. package/typography/{Strikethrough → strikethrough}/Strikethrough.sty.d.ts +0 -0
  224. package/typography/{Strong → strong}/Strong.d.ts +1 -1
  225. /package/typography/{Strong → strong}/Strong.js +0 -0
  226. /package/typography/{Strong → strong}/Strong.sty.d.ts +0 -0
  227. /package/typography/{Text → text}/Text.js +0 -0
  228. /package/typography/{Text → text}/Text.sty.d.ts +0 -0
  229. /package/typography/{TextEllipsis → text-ellipsis}/TextEllipsis.js +0 -0
  230. /package/typography/{TextEllipsis → text-ellipsis}/TextEllipsis.sty.d.ts +0 -0
@@ -0,0 +1,110 @@
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 Surface_exports = {};
29
+ __export(Surface_exports, {
30
+ Surface: () => Surface
31
+ });
32
+ module.exports = __toCommonJS(Surface_exports);
33
+ var import_clsx = __toESM(require("clsx"));
34
+ var import_react = __toESM(require("react"));
35
+ var import_Surface_css = require("./Surface.sty.js");
36
+ var import_useAriaLabelingProps = require("../../core/hooks/useAriaLabelingProps.js");
37
+ var import_useFocusRing = require("../../core/styles/useFocusRing.js");
38
+ var import_merge_props = require("../../core/utils/merge-props.js");
39
+ var import_colorUtils_css = require("../../styles/colorUtils.sty.js");
40
+ var import_getSpacingSprinkles = require("../../styles/getSpacingSprinkles.js");
41
+ var import_textStyle_css = require("../../styles/textStyle.sty.js");
42
+ var import_useLayoutStyles = require("../hooks/useLayoutStyles.js");
43
+ const Surface = /* @__PURE__ */ (0, import_react.forwardRef)(
44
+ (props, forwardedRef) => {
45
+ const {
46
+ elevation = "flat",
47
+ dragged = false,
48
+ selected = false,
49
+ color = "neutral",
50
+ children,
51
+ className: consumerClassName,
52
+ style: consumerStyle,
53
+ "data-testid": dataTestId,
54
+ "data-dtrum-mask": dataDtrumMask,
55
+ "data-dtrum-allow": dataDtrumAllow,
56
+ as,
57
+ ...remainingProps
58
+ } = props;
59
+ const ariaLabelingProps = (0, import_useAriaLabelingProps.useAriaLabelingProps)(remainingProps);
60
+ const { layoutSizeStyles, remainingProps: surfaceProps } = (0, import_useLayoutStyles.useLayoutStyles)(
61
+ remainingProps,
62
+ { paddingDefaults: { padding: 24 } }
63
+ );
64
+ const { focusProps, focusClassName } = (0, import_useFocusRing.useFocusRing)({
65
+ variant: color
66
+ });
67
+ const surfaceMergedProps = {
68
+ ...(0, import_merge_props.mergeProps)(
69
+ // Need to cast this one as the inference of mergeProps would generate
70
+ // a not allowed overlap. The remainingProps type is too complex due to the
71
+ // polymorphic inheritance.
72
+ surfaceProps,
73
+ focusProps,
74
+ ariaLabelingProps
75
+ )
76
+ };
77
+ const Component = as ?? "div";
78
+ return /* @__PURE__ */ import_react.default.createElement(
79
+ Component,
80
+ {
81
+ ...surfaceMergedProps,
82
+ "data-testid": dataTestId,
83
+ "data-dtrum-mask": dataDtrumMask,
84
+ "data-dtrum-allow": dataDtrumAllow,
85
+ ref: forwardedRef,
86
+ className: (0, import_clsx.default)(
87
+ "strato-surface",
88
+ (0, import_colorUtils_css.colorUtilsCSS)({ color, variant: selected ? "accent" : "default" }),
89
+ (0, import_Surface_css.surfaceCSS)({ selected }),
90
+ focusClassName,
91
+ consumerClassName,
92
+ (0, import_getSpacingSprinkles.getSpacingSprinkles)(remainingProps, { padding: 24 }),
93
+ (0, import_textStyle_css.textStyleCSS)({ textStyle: "base" })
94
+ ),
95
+ style: { ...layoutSizeStyles, ...consumerStyle }
96
+ },
97
+ /* @__PURE__ */ import_react.default.createElement(
98
+ "div",
99
+ {
100
+ className: (0, import_clsx.default)(
101
+ "surface-background",
102
+ (0, import_Surface_css.pseudoElementCSS)({ elevation, dragged })
103
+ ),
104
+ "aria-hidden": true
105
+ }
106
+ ),
107
+ children
108
+ );
109
+ }
110
+ );
@@ -0,0 +1,43 @@
1
+ export declare const surfaceCSS: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ selected: {
3
+ true: {
4
+ vars: {
5
+ [x: string]: string;
6
+ };
7
+ };
8
+ false: {
9
+ vars: {
10
+ [x: string]: string;
11
+ };
12
+ };
13
+ };
14
+ }>;
15
+ export declare const pseudoElementCSS: import("@vanilla-extract/recipes").RuntimeFn<{
16
+ elevation: {
17
+ flat: {
18
+ boxShadow: string;
19
+ vars: {
20
+ [x: string]: string;
21
+ };
22
+ };
23
+ raised: {
24
+ boxShadow: string;
25
+ vars: {
26
+ [x: string]: string;
27
+ };
28
+ };
29
+ floating: {
30
+ boxShadow: string;
31
+ vars: {
32
+ [x: string]: string;
33
+ };
34
+ };
35
+ };
36
+ dragged: {
37
+ true: {
38
+ vars: {
39
+ [x: string]: string;
40
+ };
41
+ };
42
+ };
43
+ }>;
@@ -0,0 +1,28 @@
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 Surface_css_exports = {};
19
+ __export(Surface_css_exports, {
20
+ pseudoElementCSS: () => pseudoElementCSS,
21
+ surfaceCSS: () => surfaceCSS
22
+ });
23
+ module.exports = __toCommonJS(Surface_css_exports);
24
+ var import_colorUtils_css_ts_vanilla = require("../../styles/colorUtils.css");
25
+ var import_Surface_css_ts_vanilla = require("./Surface.css");
26
+ var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
27
+ var pseudoElementCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "Surface_pseudoElementCSS__1qto6jt9", variantClassNames: { elevation: { flat: "Surface_pseudoElementCSS_elevation_flat__1qto6jta", raised: "Surface_pseudoElementCSS_elevation_raised__1qto6jtb", floating: "Surface_pseudoElementCSS_elevation_floating__1qto6jtc" }, dragged: { true: "Surface_pseudoElementCSS_dragged_true__1qto6jtd" } }, defaultVariants: {}, compoundVariants: [] });
28
+ var surfaceCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "Surface_surfaceCSS__1qto6jt6", variantClassNames: { selected: { true: "Surface_surfaceCSS_selected_true__1qto6jt7", false: "Surface_surfaceCSS_selected_false__1qto6jt8" } }, defaultVariants: {}, compoundVariants: [] });
@@ -0,0 +1 @@
1
+ export declare const surfaceBorderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -0,0 +1,23 @@
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 variables_css_exports = {};
19
+ __export(variables_css_exports, {
20
+ surfaceBorderRadius: () => surfaceBorderRadius
21
+ });
22
+ module.exports = __toCommonJS(variables_css_exports);
23
+ var surfaceBorderRadius = "var(--surfaceBorderRadius__1igzksy0)";
@@ -0,0 +1,64 @@
1
+ import type { CSSProperties } from 'react';
2
+ import { SpacingProps } from '../../styles/getSpacingSprinkles.js';
3
+ import type { MarginProperties, SpacingProperties } from '../../styles/sprinkle-properties.js';
4
+ /**
5
+ * Type for layout size CSS properties, picking specific properties from CSSProperties.
6
+ * @public
7
+ */
8
+ export type LayoutSizeCSS = Pick<CSSProperties, 'width' | 'minWidth' | 'maxWidth' | 'height' | 'minHeight' | 'maxHeight'>;
9
+ /**
10
+ * Type for layout styles, including padding, margin, layout size CSS properties, and remaining properties.
11
+ * @internal
12
+ */
13
+ export type LayoutStyles = {
14
+ paddingStyles: PaddingCSS;
15
+ marginStyles: MarginCSS;
16
+ layoutSizeStyles: LayoutSizeCSS;
17
+ remainingProps: unknown;
18
+ };
19
+ /**
20
+ * Type for layout size CSS properties, picking specific properties from CSSProperties.
21
+ * @internal
22
+ */
23
+ export type LayoutSizeProps = LayoutSizeCSS;
24
+ /**
25
+ * Type for padding CSS properties, picking specific properties from CSSProperties.
26
+ * @internal
27
+ */
28
+ export type PaddingCSS = Pick<CSSProperties, 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft'>;
29
+ /**
30
+ * Type for margin CSS properties, picking specific properties from CSSProperties.
31
+ * @internal
32
+ */
33
+ export type MarginCSS = Pick<CSSProperties, 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft'>;
34
+ /**
35
+ * Type for default styles, including default padding, margin, and layout size properties.
36
+ * @internal
37
+ */
38
+ export type DefaultStyles = {
39
+ paddingDefaults?: SpacingProps;
40
+ marginDefaults?: SpacingProps;
41
+ layoutSizeDefaults?: LayoutSizeProps;
42
+ };
43
+ /**
44
+ * Type for default padding properties, including individual padding values for each side.
45
+ * @internal
46
+ */
47
+ export type DefaultPadding = {
48
+ padding?: SpacingProperties;
49
+ paddingTop?: SpacingProperties;
50
+ paddingRight?: SpacingProperties;
51
+ paddingBottom?: SpacingProperties;
52
+ paddingLeft?: SpacingProperties;
53
+ };
54
+ /**
55
+ * Type for default margin properties, including individual margin values for each side.
56
+ * @internal
57
+ */
58
+ export type DefaultMargin = {
59
+ margin?: MarginProperties;
60
+ marginTop?: MarginProperties;
61
+ marginRight?: MarginProperties;
62
+ marginBottom?: MarginProperties;
63
+ marginLeft?: MarginProperties;
64
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var layout_types_exports = {};
15
+ module.exports = __toCommonJS(layout_types_exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/strato-components",
3
- "version": "0.85.10",
3
+ "version": "0.85.21",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "lang": "lang/uncompiled",
@@ -71,7 +71,7 @@
71
71
  }
72
72
  },
73
73
  "dependencies": {
74
- "@dynatrace-sdk/units": "^0.13.2",
74
+ "@dynatrace-sdk/units": "^0.14.0",
75
75
  "@dynatrace/devkit": "^0.3.2",
76
76
  "@formatjs/icu-messageformat-parser": "^2.7.8",
77
77
  "@jest/globals": "^29.7.0",
@@ -1,11 +1,11 @@
1
- .Blockquote_blockquoteCSS__18f615k0 {
1
+ .Blockquote_blockquoteCSS__1knl9z60 {
2
2
  position: relative;
3
3
  margin: var(--dt-spacings-size-0, 0);
4
4
  padding-left: var(--dt-spacings-size-40, 40px);
5
5
  word-break: normal;
6
6
  overflow-wrap: anywhere;
7
7
  }
8
- .Blockquote_blockquoteCSS__18f615k0:before {
8
+ .Blockquote_blockquoteCSS__1knl9z60:before {
9
9
  content: "";
10
10
  position: absolute;
11
11
  top: 0;
@@ -21,4 +21,4 @@ __export(Blockquote_css_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(Blockquote_css_exports);
23
23
  var import_Blockquote_css_ts_vanilla = require("./Blockquote.css");
24
- var blockquoteCSS = "Blockquote_blockquoteCSS__18f615k0";
24
+ var blockquoteCSS = "Blockquote_blockquoteCSS__1knl9z60";
@@ -1,4 +1,4 @@
1
- .Code_codeCSS__1lx0ryl0 {
1
+ .Code_codeCSS__1v51izp0 {
2
2
  background: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
3
3
  padding-top: var(--dt-spacings-size-0, 0);
4
4
  padding-bottom: var(--dt-spacings-size-0, 0);
@@ -21,4 +21,4 @@ __export(Code_css_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(Code_css_exports);
23
23
  var import_Code_css_ts_vanilla = require("./Code.css");
24
- var codeCSS = "Code_codeCSS__1lx0ryl0";
24
+ var codeCSS = "Code_codeCSS__1v51izp0";
@@ -1,4 +1,4 @@
1
- .Emphasis_emphasisCSS__19xtnhr0 {
1
+ .Emphasis_emphasisCSS__1r35rtu0 {
2
2
  font-style: italic;
3
3
  overflow-wrap: break-word;
4
4
  }
@@ -21,4 +21,4 @@ __export(Emphasis_css_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(Emphasis_css_exports);
23
23
  var import_Emphasis_css_ts_vanilla = require("./Emphasis.css");
24
- var emphasisCSS = "Emphasis_emphasisCSS__19xtnhr0";
24
+ var emphasisCSS = "Emphasis_emphasisCSS__1r35rtu0";
@@ -1,23 +1,23 @@
1
- .ExternalLink_externalLinkCSS__8noiqs0 {
1
+ .ExternalLink_externalLinkCSS__1v1skpy0 {
2
2
  display: inline-block;
3
3
  color: var(--dt-colors-text-primary-default, #454cc9);
4
4
  text-decoration: underline;
5
5
  overflow-wrap: anywhere;
6
6
  }
7
- .ExternalLink_externalLinkCSS__8noiqs0:hover {
7
+ .ExternalLink_externalLinkCSS__1v1skpy0:hover {
8
8
  color: var(--dt-colors-text-primary-default-hover, #3332ae);
9
9
  }
10
- .ExternalLink_externalLinkCSS__8noiqs0:active {
10
+ .ExternalLink_externalLinkCSS__1v1skpy0:active {
11
11
  color: var(--dt-colors-text-primary-default-active, #241193);
12
12
  }
13
- .ExternalLink_externalLinkCSS__8noiqs0:focus-visible {
13
+ .ExternalLink_externalLinkCSS__1v1skpy0:focus-visible {
14
14
  text-decoration: none;
15
15
  }
16
- .ExternalLink_externalLinkCSS__8noiqs0 > span {
16
+ .ExternalLink_externalLinkCSS__1v1skpy0 > span {
17
17
  white-space: nowrap;
18
18
  display: inline-flex;
19
19
  }
20
- .ExternalLink_externalLinkCSS__8noiqs0 > span > svg {
20
+ .ExternalLink_externalLinkCSS__1v1skpy0 > span > svg {
21
21
  margin-left: var(--dt-spacings-size-2, 2px);
22
22
  align-self: center;
23
23
  min-width: var(--dt-spacings-size-20, 20px);
@@ -21,4 +21,4 @@ __export(ExternalLink_css_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(ExternalLink_css_exports);
23
23
  var import_ExternalLink_css_ts_vanilla = require("./ExternalLink.css");
24
- var externalLinkCSS = "ExternalLink_externalLinkCSS__8noiqs0";
24
+ var externalLinkCSS = "ExternalLink_externalLinkCSS__1v1skpy0";
@@ -1,10 +1,10 @@
1
- .Heading_headingCSS__u4t9450 {
1
+ .Heading_headingCSS__5ei34w0 {
2
2
  margin: 0;
3
3
  overflow-wrap: break-word;
4
4
  font-style: normal;
5
5
  color: var(--dt-colors-text-neutral-default, #2b2a58);
6
6
  }
7
- .Heading_headingCSS_visualLevel_1__u4t9451 {
7
+ .Heading_headingCSS_visualLevel_1__5ei34w1 {
8
8
  font-family: var(--dt-typography-heading-level-1-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
9
9
  font-size: var(--dt-typography-heading-level-1-size, 32px);
10
10
  font-weight: var(--dt-typography-heading-level-1-weight, 600);
@@ -12,7 +12,7 @@
12
12
  text-transform: var(--dt-typography-heading-level-1-text-transform, none);
13
13
  text-decoration: var(--dt-typography-heading-level-1-text-decoration, none);
14
14
  }
15
- .Heading_headingCSS_visualLevel_2__u4t9452 {
15
+ .Heading_headingCSS_visualLevel_2__5ei34w2 {
16
16
  font-family: var(--dt-typography-heading-level-2-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
17
17
  font-size: var(--dt-typography-heading-level-2-size, 28px);
18
18
  font-weight: var(--dt-typography-heading-level-2-weight, 600);
@@ -20,7 +20,7 @@
20
20
  text-transform: var(--dt-typography-heading-level-2-text-transform, none);
21
21
  text-decoration: var(--dt-typography-heading-level-2-text-decoration, none);
22
22
  }
23
- .Heading_headingCSS_visualLevel_3__u4t9453 {
23
+ .Heading_headingCSS_visualLevel_3__5ei34w3 {
24
24
  font-family: var(--dt-typography-heading-level-3-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
25
25
  font-size: var(--dt-typography-heading-level-3-size, 24px);
26
26
  font-weight: var(--dt-typography-heading-level-3-weight, 600);
@@ -28,7 +28,7 @@
28
28
  text-transform: var(--dt-typography-heading-level-3-text-transform, none);
29
29
  text-decoration: var(--dt-typography-heading-level-3-text-decoration, none);
30
30
  }
31
- .Heading_headingCSS_visualLevel_4__u4t9454 {
31
+ .Heading_headingCSS_visualLevel_4__5ei34w4 {
32
32
  font-family: var(--dt-typography-heading-level-4-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
33
33
  font-size: var(--dt-typography-heading-level-4-size, 20px);
34
34
  font-weight: var(--dt-typography-heading-level-4-weight, 600);
@@ -36,7 +36,7 @@
36
36
  text-transform: var(--dt-typography-heading-level-4-text-transform, none);
37
37
  text-decoration: var(--dt-typography-heading-level-4-text-decoration, none);
38
38
  }
39
- .Heading_headingCSS_visualLevel_5__u4t9455 {
39
+ .Heading_headingCSS_visualLevel_5__5ei34w5 {
40
40
  font-family: var(--dt-typography-heading-level-5-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
41
41
  font-size: var(--dt-typography-heading-level-5-size, 16px);
42
42
  font-weight: var(--dt-typography-heading-level-5-weight, 600);
@@ -44,7 +44,7 @@
44
44
  text-transform: var(--dt-typography-heading-level-5-text-transform, none);
45
45
  text-decoration: var(--dt-typography-heading-level-5-text-decoration, none);
46
46
  }
47
- .Heading_headingCSS_visualLevel_6__u4t9456 {
47
+ .Heading_headingCSS_visualLevel_6__5ei34w6 {
48
48
  font-family: var(--dt-typography-heading-level-6-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
49
49
  font-size: var(--dt-typography-heading-level-6-size, 14px);
50
50
  font-weight: var(--dt-typography-heading-level-6-weight, 600);
@@ -2,8 +2,9 @@ import React from 'react';
2
2
  import { type DataTestId, type StylingProps, type WithChildren, type MaskingProps } from '../../core/index.js';
3
3
  import type { DOMProps } from '../../core/types/dom.js';
4
4
  /**
5
+ * Props used for the Heading component
5
6
  * @public
6
- * Props used for the Heading component */
7
+ */
7
8
  export interface HeadingProps extends DOMProps, WithChildren, StylingProps, DataTestId, MaskingProps {
8
9
  /**
9
10
  * The visual level of the heading.
@@ -17,8 +18,8 @@ export interface HeadingProps extends DOMProps, WithChildren, StylingProps, Data
17
18
  as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
18
19
  }
19
20
  /**
20
- * @public
21
21
  * Use the `Heading` to render semantic HTML heading elements (`h1`, `h2`, etc.).
22
22
  * The component allows you to independently define both the visual and the semantic level of the heading.
23
+ * @public
23
24
  */
24
25
  export declare const Heading: (props: HeadingProps & React.RefAttributes<HTMLHeadingElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
@@ -22,4 +22,4 @@ __export(Heading_css_exports, {
22
22
  module.exports = __toCommonJS(Heading_css_exports);
23
23
  var import_Heading_css_ts_vanilla = require("./Heading.css");
24
24
  var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
25
- var headingCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "Heading_headingCSS__u4t9450", variantClassNames: { visualLevel: { "1": "Heading_headingCSS_visualLevel_1__u4t9451", "2": "Heading_headingCSS_visualLevel_2__u4t9452", "3": "Heading_headingCSS_visualLevel_3__u4t9453", "4": "Heading_headingCSS_visualLevel_4__u4t9454", "5": "Heading_headingCSS_visualLevel_5__u4t9455", "6": "Heading_headingCSS_visualLevel_6__u4t9456" } }, defaultVariants: {}, compoundVariants: [] });
25
+ var headingCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "Heading_headingCSS__5ei34w0", variantClassNames: { visualLevel: { "1": "Heading_headingCSS_visualLevel_1__5ei34w1", "2": "Heading_headingCSS_visualLevel_2__5ei34w2", "3": "Heading_headingCSS_visualLevel_3__5ei34w3", "4": "Heading_headingCSS_visualLevel_4__5ei34w4", "5": "Heading_headingCSS_visualLevel_5__5ei34w5", "6": "Heading_headingCSS_visualLevel_6__5ei34w6" } }, defaultVariants: {}, compoundVariants: [] });
@@ -1,4 +1,4 @@
1
- .Highlight_highlightCSS__1u4tng00 {
1
+ .Highlight_highlightCSS__lajjl30 {
2
2
  color: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
3
3
  background: var(--dt-colors-background-container-neutral-accent, #5a5b8c);
4
4
  }
@@ -21,4 +21,4 @@ __export(Highlight_css_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(Highlight_css_exports);
23
23
  var import_Highlight_css_ts_vanilla = require("./Highlight.css");
24
- var highlightCSS = "Highlight_highlightCSS__1u4tng00";
24
+ var highlightCSS = "Highlight_highlightCSS__lajjl30";
@@ -1,28 +1,28 @@
1
- export { Blockquote } from './BlockQuote/Blockquote.js';
2
- export type { BlockquoteProps } from './BlockQuote/Blockquote.js';
3
- export { Code } from './Code/Code.js';
4
- export type { CodeProps } from './Code/Code.js';
5
- export { Emphasis } from './Emphasis/Emphasis.js';
6
- export type { EmphasisProps } from './Emphasis/Emphasis.js';
7
- export { ExternalLink } from './ExternalLink/ExternalLink.js';
8
- export type { ExternalLinkProps } from './ExternalLink/ExternalLink.js';
9
- export { Heading } from './Heading/Heading.js';
10
- export type { HeadingProps } from './Heading/Heading.js';
11
- export { Highlight } from './Highlight/Highlight.js';
12
- export type { HighlightProps } from './Highlight/Highlight.js';
13
- export { Link } from './Link/Link.js';
14
- export type { LinkProps } from './Link/Link.js';
15
- export { List } from './List/List.js';
16
- export type { ListProps } from './List/List.js';
17
- export { Paragraph } from './Paragraph/Paragraph.js';
18
- export type { ParagraphProps } from './Paragraph/Paragraph.js';
19
- export { Strikethrough } from './Strikethrough/Strikethrough.js';
20
- export type { StrikethroughProps } from './Strikethrough/Strikethrough.js';
21
- export { Strong } from './Strong/Strong.js';
22
- export type { StrongProps } from './Strong/Strong.js';
23
- export { Text } from './Text/Text.js';
24
- export type { TextOwnProps, TextProps } from './Text/Text.js';
25
- export { TextEllipsis } from './TextEllipsis/TextEllipsis.js';
26
- export type { TextEllipsisProps, _TruncationMode, } from './TextEllipsis/TextEllipsis.js';
1
+ export { Blockquote } from './block-quote/Blockquote.js';
2
+ export type { BlockquoteProps } from './block-quote/Blockquote.js';
3
+ export { Code } from './code/Code.js';
4
+ export type { CodeProps } from './code/Code.js';
5
+ export { Emphasis } from './emphasis/Emphasis.js';
6
+ export type { EmphasisProps } from './emphasis/Emphasis.js';
7
+ export { ExternalLink } from './external-link/ExternalLink.js';
8
+ export type { ExternalLinkProps } from './external-link/ExternalLink.js';
9
+ export { Heading } from './heading/Heading.js';
10
+ export type { HeadingProps } from './heading/Heading.js';
11
+ export { Highlight } from './highlight/Highlight.js';
12
+ export type { HighlightProps } from './highlight/Highlight.js';
13
+ export { Link } from './link/Link.js';
14
+ export type { LinkProps } from './link/Link.js';
15
+ export { List } from './list/List.js';
16
+ export type { ListProps } from './list/List.js';
17
+ export { Paragraph } from './paragraph/Paragraph.js';
18
+ export type { ParagraphProps } from './paragraph/Paragraph.js';
19
+ export { Strikethrough } from './strikethrough/Strikethrough.js';
20
+ export type { StrikethroughProps } from './strikethrough/Strikethrough.js';
21
+ export { Strong } from './strong/Strong.js';
22
+ export type { StrongProps } from './strong/Strong.js';
23
+ export { Text } from './text/Text.js';
24
+ export type { TextOwnProps, TextProps } from './text/Text.js';
25
+ export { TextEllipsis } from './text-ellipsis/TextEllipsis.js';
26
+ export type { TextEllipsisProps, _TruncationMode, } from './text-ellipsis/TextEllipsis.js';
27
27
  export { _calculateEllipsisInfo, _getTextHeight, _centerEllipsizeText, _getTextWidth, _ELLIPSIS_APPROXIMATION_THRESHOLD, _ELLIPSIS_CHARACTER, } from './utils.js';
28
28
  export type { _Font } from './utils.js';
@@ -38,17 +38,17 @@ __export(typography_exports, {
38
38
  _getTextWidth: () => import_utils._getTextWidth
39
39
  });
40
40
  module.exports = __toCommonJS(typography_exports);
41
- var import_Blockquote = require("./BlockQuote/Blockquote.js");
42
- var import_Code = require("./Code/Code.js");
43
- var import_Emphasis = require("./Emphasis/Emphasis.js");
44
- var import_ExternalLink = require("./ExternalLink/ExternalLink.js");
45
- var import_Heading = require("./Heading/Heading.js");
46
- var import_Highlight = require("./Highlight/Highlight.js");
47
- var import_Link = require("./Link/Link.js");
48
- var import_List = require("./List/List.js");
49
- var import_Paragraph = require("./Paragraph/Paragraph.js");
50
- var import_Strikethrough = require("./Strikethrough/Strikethrough.js");
51
- var import_Strong = require("./Strong/Strong.js");
52
- var import_Text = require("./Text/Text.js");
53
- var import_TextEllipsis = require("./TextEllipsis/TextEllipsis.js");
41
+ var import_Blockquote = require("./block-quote/Blockquote.js");
42
+ var import_Code = require("./code/Code.js");
43
+ var import_Emphasis = require("./emphasis/Emphasis.js");
44
+ var import_ExternalLink = require("./external-link/ExternalLink.js");
45
+ var import_Heading = require("./heading/Heading.js");
46
+ var import_Highlight = require("./highlight/Highlight.js");
47
+ var import_Link = require("./link/Link.js");
48
+ var import_List = require("./list/List.js");
49
+ var import_Paragraph = require("./paragraph/Paragraph.js");
50
+ var import_Strikethrough = require("./strikethrough/Strikethrough.js");
51
+ var import_Strong = require("./strong/Strong.js");
52
+ var import_Text = require("./text/Text.js");
53
+ var import_TextEllipsis = require("./text-ellipsis/TextEllipsis.js");
54
54
  var import_utils = require("./utils.js");
@@ -1,15 +1,15 @@
1
- .Link_linkCSS__1ck42do0 {
1
+ .Link_linkCSS__1iksxp40 {
2
2
  display: inline-block;
3
3
  color: var(--dt-colors-text-primary-default, #454cc9);
4
4
  text-decoration: underline;
5
5
  overflow-wrap: anywhere;
6
6
  }
7
- .Link_linkCSS__1ck42do0:hover {
7
+ .Link_linkCSS__1iksxp40:hover {
8
8
  color: var(--dt-colors-text-primary-default-hover, #3332ae);
9
9
  }
10
- .Link_linkCSS__1ck42do0:active {
10
+ .Link_linkCSS__1iksxp40:active {
11
11
  color: var(--dt-colors-text-primary-default-active, #241193);
12
12
  }
13
- .Link_linkCSS__1ck42do0:focus-visible {
13
+ .Link_linkCSS__1iksxp40:focus-visible {
14
14
  text-decoration: none;
15
15
  }
@@ -32,9 +32,9 @@ __export(Link_exports, {
32
32
  module.exports = __toCommonJS(Link_exports);
33
33
  var import_clsx = __toESM(require("clsx"));
34
34
  var import_react = __toESM(require("react"));
35
+ var import_Link_css = require("./Link.sty.js");
35
36
  var import_core = require("../../core/index.js");
36
37
  var import_useFocusRing = require("../../core/styles/useFocusRing.js");
37
- var import_Link_css = require("../Link/Link.sty.js");
38
38
  const Link = /* @__PURE__ */ (0, import_react.forwardRef)(
39
39
  ({
40
40
  children,
@@ -21,4 +21,4 @@ __export(Link_css_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(Link_css_exports);
23
23
  var import_Link_css_ts_vanilla = require("./Link.css");
24
- var linkCSS = "Link_linkCSS__1ck42do0";
24
+ var linkCSS = "Link_linkCSS__1iksxp40";