@dynatrace/strato-components 0.84.31 → 0.84.42

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 (214) hide show
  1. package/core/components/app-root/AppRoot.d.ts +2 -2
  2. package/core/hooks/useFontsUpdated.d.ts +9 -0
  3. package/core/hooks/useFontsUpdated.js +51 -0
  4. package/core/hooks/useMergeRefs.d.ts +7 -0
  5. package/core/hooks/useMergeRefs.js +34 -0
  6. package/core/index.d.ts +4 -0
  7. package/core/styles/focusRing.css +88 -0
  8. package/core/styles/focusRing.sty.d.ts +96 -0
  9. package/core/styles/focusRing.sty.js +27 -0
  10. package/core/styles/useFocusRing.d.ts +49 -0
  11. package/core/styles/useFocusRing.js +83 -0
  12. package/core/types/a11y-props.d.ts +19 -0
  13. package/core/types/a11y-props.js +15 -0
  14. package/core/types/dom.d.ts +19 -0
  15. package/core/types/dom.js +15 -0
  16. package/core/types/focusable-element.d.ts +5 -0
  17. package/core/types/focusable-element.js +15 -0
  18. package/core/types/heading.d.ts +9 -0
  19. package/core/types/heading.js +15 -0
  20. package/core/types/polymorph.d.ts +25 -0
  21. package/core/types/polymorph.js +15 -0
  22. package/core/utils/colorUtils.css +80 -0
  23. package/core/utils/colorUtils.sty.d.ts +48 -0
  24. package/core/utils/colorUtils.sty.js +27 -0
  25. package/esm/core/hooks/useFontsUpdated.js +33 -0
  26. package/esm/core/hooks/useFontsUpdated.js.map +7 -0
  27. package/esm/core/hooks/useMergeRefs.js +16 -0
  28. package/esm/core/hooks/useMergeRefs.js.map +7 -0
  29. package/esm/core/index.js.map +1 -1
  30. package/esm/core/styles/focusRing.css +88 -0
  31. package/esm/core/styles/focusRing.sty.js +9 -0
  32. package/esm/core/styles/focusRing.sty.js.map +7 -0
  33. package/esm/core/styles/useFocusRing.js +69 -0
  34. package/esm/core/styles/useFocusRing.js.map +7 -0
  35. package/esm/core/types/a11y-props.js +1 -0
  36. package/esm/core/types/a11y-props.js.map +7 -0
  37. package/esm/core/types/dom.js +1 -0
  38. package/esm/core/types/dom.js.map +7 -0
  39. package/esm/core/types/focusable-element.js +1 -0
  40. package/esm/core/types/focusable-element.js.map +7 -0
  41. package/esm/core/types/heading.js +1 -0
  42. package/esm/core/types/heading.js.map +7 -0
  43. package/esm/core/types/polymorph.js +1 -0
  44. package/esm/core/types/polymorph.js.map +7 -0
  45. package/esm/core/utils/colorUtils.css +80 -0
  46. package/esm/core/utils/colorUtils.sty.js +9 -0
  47. package/esm/core/utils/colorUtils.sty.js.map +7 -0
  48. package/esm/index.js +2 -0
  49. package/esm/index.js.map +2 -2
  50. package/esm/layouts/Divider/Divider.css +23 -0
  51. package/esm/layouts/Divider/Divider.js +39 -0
  52. package/esm/layouts/Divider/Divider.js.map +7 -0
  53. package/esm/layouts/Divider/Divider.sty.js +8 -0
  54. package/esm/layouts/Divider/Divider.sty.js.map +7 -0
  55. package/esm/layouts/index.js +5 -0
  56. package/esm/layouts/index.js.map +7 -0
  57. package/esm/styles/textStyle.css +64 -0
  58. package/esm/styles/textStyle.sty.js +7 -0
  59. package/esm/styles/textStyle.sty.js.map +7 -0
  60. package/esm/typography/BlockQuote/Blockquote.css +17 -0
  61. package/esm/typography/BlockQuote/Blockquote.js +34 -0
  62. package/esm/typography/BlockQuote/Blockquote.js.map +7 -0
  63. package/esm/typography/BlockQuote/Blockquote.sty.js +6 -0
  64. package/esm/typography/BlockQuote/Blockquote.sty.js.map +7 -0
  65. package/esm/typography/Code/Code.css +16 -0
  66. package/esm/typography/Code/Code.js +34 -0
  67. package/esm/typography/Code/Code.js.map +7 -0
  68. package/esm/typography/Code/Code.sty.js +6 -0
  69. package/esm/typography/Code/Code.sty.js.map +7 -0
  70. package/esm/typography/Emphasis/Emphasis.css +4 -0
  71. package/esm/typography/Emphasis/Emphasis.js +34 -0
  72. package/esm/typography/Emphasis/Emphasis.js.map +7 -0
  73. package/esm/typography/Emphasis/Emphasis.sty.js +6 -0
  74. package/esm/typography/Emphasis/Emphasis.sty.js.map +7 -0
  75. package/esm/typography/ExternalLink/ExternalLink.css +28 -0
  76. package/esm/typography/ExternalLink/ExternalLink.js +56 -0
  77. package/esm/typography/ExternalLink/ExternalLink.js.map +7 -0
  78. package/esm/typography/ExternalLink/ExternalLink.sty.js +6 -0
  79. package/esm/typography/ExternalLink/ExternalLink.sty.js.map +7 -0
  80. package/esm/typography/Heading/Heading.css +54 -0
  81. package/esm/typography/Heading/Heading.js +36 -0
  82. package/esm/typography/Heading/Heading.js.map +7 -0
  83. package/esm/typography/Heading/Heading.sty.js +7 -0
  84. package/esm/typography/Heading/Heading.sty.js.map +7 -0
  85. package/esm/typography/Highlight/Highlight.css +4 -0
  86. package/esm/typography/Highlight/Highlight.js +111 -0
  87. package/esm/typography/Highlight/Highlight.js.map +7 -0
  88. package/esm/typography/Highlight/Highlight.sty.js +6 -0
  89. package/esm/typography/Highlight/Highlight.sty.js.map +7 -0
  90. package/esm/typography/Link/Link.css +15 -0
  91. package/esm/typography/Link/Link.js +49 -0
  92. package/esm/typography/Link/Link.js.map +7 -0
  93. package/esm/typography/Link/Link.sty.js +6 -0
  94. package/esm/typography/Link/Link.sty.js.map +7 -0
  95. package/esm/typography/List/List.css +16 -0
  96. package/esm/typography/List/List.js +81 -0
  97. package/esm/typography/List/List.js.map +7 -0
  98. package/esm/typography/List/List.sty.js +8 -0
  99. package/esm/typography/List/List.sty.js.map +7 -0
  100. package/esm/typography/Paragraph/Paragraph.css +19 -0
  101. package/esm/typography/Paragraph/Paragraph.js +49 -0
  102. package/esm/typography/Paragraph/Paragraph.js.map +7 -0
  103. package/esm/typography/Paragraph/Paragraph.sty.js +7 -0
  104. package/esm/typography/Paragraph/Paragraph.sty.js.map +7 -0
  105. package/esm/typography/Strikethrough/Strikethrough.css +5 -0
  106. package/esm/typography/Strikethrough/Strikethrough.js +32 -0
  107. package/esm/typography/Strikethrough/Strikethrough.js.map +7 -0
  108. package/esm/typography/Strikethrough/Strikethrough.sty.js +6 -0
  109. package/esm/typography/Strikethrough/Strikethrough.sty.js.map +7 -0
  110. package/esm/typography/Strong/Strong.css +4 -0
  111. package/esm/typography/Strong/Strong.js +34 -0
  112. package/esm/typography/Strong/Strong.js.map +7 -0
  113. package/esm/typography/Strong/Strong.sty.js +6 -0
  114. package/esm/typography/Strong/Strong.sty.js.map +7 -0
  115. package/esm/typography/Text/Text.css +18 -0
  116. package/esm/typography/Text/Text.js +43 -0
  117. package/esm/typography/Text/Text.js.map +7 -0
  118. package/esm/typography/Text/Text.sty.js +7 -0
  119. package/esm/typography/Text/Text.sty.js.map +7 -0
  120. package/esm/typography/TextEllipsis/TextEllipsis.css +22 -0
  121. package/esm/typography/TextEllipsis/TextEllipsis.js +143 -0
  122. package/esm/typography/TextEllipsis/TextEllipsis.js.map +7 -0
  123. package/esm/typography/TextEllipsis/TextEllipsis.sty.js +7 -0
  124. package/esm/typography/TextEllipsis/TextEllipsis.sty.js.map +7 -0
  125. package/esm/typography/index.js +43 -0
  126. package/esm/typography/index.js.map +7 -0
  127. package/esm/typography/utils.js +101 -0
  128. package/esm/typography/utils.js.map +7 -0
  129. package/index.d.ts +2 -0
  130. package/index.js +2 -0
  131. package/lang/en.json +6 -0
  132. package/lang/uncompiled/en.json +6 -1
  133. package/layouts/Divider/Divider.css +23 -0
  134. package/layouts/Divider/Divider.d.ts +39 -0
  135. package/layouts/Divider/Divider.js +67 -0
  136. package/layouts/Divider/Divider.sty.d.ts +16 -0
  137. package/layouts/Divider/Divider.sty.js +26 -0
  138. package/layouts/index.d.ts +2 -0
  139. package/layouts/index.js +23 -0
  140. package/package.json +17 -2
  141. package/styles/textStyle.css +64 -0
  142. package/styles/textStyle.sty.d.ts +12 -0
  143. package/styles/textStyle.sty.js +25 -0
  144. package/testing/mocks/text-ellipsis-mock.d.ts +1 -1
  145. package/testing/mocks/text-ellipsis-mock.js +8 -3
  146. package/typography/BlockQuote/Blockquote.css +17 -0
  147. package/typography/BlockQuote/Blockquote.d.ts +19 -0
  148. package/typography/BlockQuote/Blockquote.js +62 -0
  149. package/typography/BlockQuote/Blockquote.sty.d.ts +1 -0
  150. package/typography/BlockQuote/Blockquote.sty.js +24 -0
  151. package/typography/Code/Code.css +16 -0
  152. package/typography/Code/Code.d.ts +17 -0
  153. package/typography/Code/Code.js +62 -0
  154. package/typography/Code/Code.sty.d.ts +1 -0
  155. package/typography/Code/Code.sty.js +24 -0
  156. package/typography/Emphasis/Emphasis.css +4 -0
  157. package/typography/Emphasis/Emphasis.d.ts +14 -0
  158. package/typography/Emphasis/Emphasis.js +62 -0
  159. package/typography/Emphasis/Emphasis.sty.d.ts +1 -0
  160. package/typography/Emphasis/Emphasis.sty.js +24 -0
  161. package/typography/ExternalLink/ExternalLink.css +28 -0
  162. package/typography/ExternalLink/ExternalLink.d.ts +21 -0
  163. package/typography/ExternalLink/ExternalLink.js +82 -0
  164. package/typography/ExternalLink/ExternalLink.sty.d.ts +1 -0
  165. package/typography/ExternalLink/ExternalLink.sty.js +24 -0
  166. package/typography/Heading/Heading.css +54 -0
  167. package/typography/Heading/Heading.d.ts +24 -0
  168. package/typography/Heading/Heading.js +64 -0
  169. package/typography/Heading/Heading.sty.d.ts +52 -0
  170. package/typography/Heading/Heading.sty.js +25 -0
  171. package/typography/Highlight/Highlight.css +4 -0
  172. package/typography/Highlight/Highlight.d.ts +27 -0
  173. package/typography/Highlight/Highlight.js +139 -0
  174. package/typography/Highlight/Highlight.sty.d.ts +1 -0
  175. package/typography/Highlight/Highlight.sty.js +24 -0
  176. package/typography/Link/Link.css +15 -0
  177. package/typography/Link/Link.d.ts +17 -0
  178. package/typography/Link/Link.js +75 -0
  179. package/typography/Link/Link.sty.d.ts +1 -0
  180. package/typography/Link/Link.sty.js +24 -0
  181. package/typography/List/List.css +16 -0
  182. package/typography/List/List.d.ts +39 -0
  183. package/typography/List/List.js +109 -0
  184. package/typography/List/List.sty.d.ts +2 -0
  185. package/typography/List/List.sty.js +26 -0
  186. package/typography/Paragraph/Paragraph.css +19 -0
  187. package/typography/Paragraph/Paragraph.d.ts +19 -0
  188. package/typography/Paragraph/Paragraph.js +77 -0
  189. package/typography/Paragraph/Paragraph.sty.d.ts +16 -0
  190. package/typography/Paragraph/Paragraph.sty.js +25 -0
  191. package/typography/Strikethrough/Strikethrough.css +5 -0
  192. package/typography/Strikethrough/Strikethrough.d.ts +15 -0
  193. package/typography/Strikethrough/Strikethrough.js +60 -0
  194. package/typography/Strikethrough/Strikethrough.sty.d.ts +1 -0
  195. package/typography/Strikethrough/Strikethrough.sty.js +24 -0
  196. package/typography/Strong/Strong.css +4 -0
  197. package/typography/Strong/Strong.d.ts +14 -0
  198. package/typography/Strong/Strong.js +62 -0
  199. package/typography/Strong/Strong.sty.d.ts +1 -0
  200. package/typography/Strong/Strong.sty.js +24 -0
  201. package/typography/Text/Text.css +18 -0
  202. package/typography/Text/Text.d.ts +26 -0
  203. package/typography/Text/Text.js +71 -0
  204. package/typography/Text/Text.sty.d.ts +16 -0
  205. package/typography/Text/Text.sty.js +25 -0
  206. package/typography/TextEllipsis/TextEllipsis.css +22 -0
  207. package/typography/TextEllipsis/TextEllipsis.d.ts +32 -0
  208. package/typography/TextEllipsis/TextEllipsis.js +167 -0
  209. package/typography/TextEllipsis/TextEllipsis.sty.d.ts +15 -0
  210. package/typography/TextEllipsis/TextEllipsis.sty.js +25 -0
  211. package/typography/index.d.ts +28 -0
  212. package/typography/index.js +54 -0
  213. package/typography/utils.d.ts +52 -0
  214. package/typography/utils.js +119 -0
@@ -0,0 +1,80 @@
1
+ .colorUtils_colorUtilsCSS_color_critical__k096v44 {
2
+ --vars_text__k096v40: var(--dt-colors-text-critical-default, #b80031);
3
+ --vars_icon__k096v41: var(--dt-colors-icon-critical-default, #b80031);
4
+ --vars_borderColor__k096v42: var(--dt-colors-border-critical-default, #f1cdcf);
5
+ }
6
+ .colorUtils_colorUtilsCSS_color_neutral__k096v45 {
7
+ --vars_text__k096v40: var(--dt-colors-text-neutral-default, #2b2a58);
8
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-default, #2b2a58);
9
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-default, #d2d3e1);
10
+ }
11
+ .colorUtils_colorUtilsCSS_color_primary__k096v46 {
12
+ --vars_text__k096v40: var(--dt-colors-text-primary-default, #454cc9);
13
+ --vars_icon__k096v41: var(--dt-colors-icon-primary-default, #454cc9);
14
+ --vars_borderColor__k096v42: var(--dt-colors-border-primary-default, #ccd3f3);
15
+ }
16
+ .colorUtils_colorUtilsCSS_color_success__k096v47 {
17
+ --vars_text__k096v40: var(--dt-colors-text-success-default, #2c6360);
18
+ --vars_icon__k096v41: var(--dt-colors-icon-success-default, #2c6360);
19
+ --vars_borderColor__k096v42: var(--dt-colors-border-success-default, #cad6d7);
20
+ }
21
+ .colorUtils_colorUtilsCSS_color_warning__k096v48 {
22
+ --vars_text__k096v40: var(--dt-colors-text-warning-default, #805100);
23
+ --vars_icon__k096v41: var(--dt-colors-icon-warning-default, #805100);
24
+ --vars_borderColor__k096v42: var(--dt-colors-border-warning-default, #f4e5d5);
25
+ }
26
+ .colorUtils_colorUtilsCSS_color_onAccent__k096v49 {
27
+ --vars_text__k096v40: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
28
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
29
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
30
+ }
31
+ .colorUtils_colorUtilsCSS_compound_0__k096v4e {
32
+ --vars_text__k096v40: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
33
+ --vars_icon__k096v41: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
34
+ --vars_borderColor__k096v42: var(--dt-colors-border-primary-accent, #454cc9);
35
+ }
36
+ .colorUtils_colorUtilsCSS_compound_1__k096v4f {
37
+ --vars_text__k096v40: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
38
+ --vars_icon__k096v41: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
39
+ --vars_borderColor__k096v42: var(--dt-colors-border-success-accent, #2c6360);
40
+ }
41
+ .colorUtils_colorUtilsCSS_compound_2__k096v4g {
42
+ --vars_text__k096v40: var(--dt-colors-text-warning-on-accent-default, #272025);
43
+ --vars_icon__k096v41: var(--dt-colors-icon-warning-on-accent-default, #272025);
44
+ --vars_borderColor__k096v42: var(--dt-colors-border-warning-accent, #805100);
45
+ }
46
+ .colorUtils_colorUtilsCSS_compound_3__k096v4h {
47
+ --vars_text__k096v40: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
48
+ --vars_icon__k096v41: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
49
+ --vars_borderColor__k096v42: var(--dt-colors-border-critical-accent, #b80031);
50
+ }
51
+ .colorUtils_colorUtilsCSS_compound_4__k096v4i {
52
+ --vars_text__k096v40: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
53
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
54
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-accent, #545587);
55
+ }
56
+ .colorUtils_colorUtilsCSS_compound_5__k096v4j {
57
+ --vars_text__k096v40: var(--dt-colors-text-primary-disabled, #54558780);
58
+ --vars_icon__k096v41: var(--dt-colors-icon-primary-disabled, #54558780);
59
+ --vars_borderColor__k096v42: var(--dt-colors-border-primary-disabled, #d2d3e180);
60
+ }
61
+ .colorUtils_colorUtilsCSS_compound_6__k096v4k {
62
+ --vars_text__k096v40: var(--dt-colors-text-success-disabled, #54558780);
63
+ --vars_icon__k096v41: var(--dt-colors-icon-success-disabled, #54558780);
64
+ --vars_borderColor__k096v42: var(--dt-colors-border-success-disabled, #d2d3e180);
65
+ }
66
+ .colorUtils_colorUtilsCSS_compound_7__k096v4l {
67
+ --vars_text__k096v40: var(--dt-colors-text-warning-disabled, #54558780);
68
+ --vars_icon__k096v41: var(--dt-colors-icon-warning-disabled, #54558780);
69
+ --vars_borderColor__k096v42: var(--dt-colors-border-warning-disabled, #d2d3e180);
70
+ }
71
+ .colorUtils_colorUtilsCSS_compound_8__k096v4m {
72
+ --vars_text__k096v40: var(--dt-colors-text-critical-disabled, #54558780);
73
+ --vars_icon__k096v41: var(--dt-colors-icon-critical-disabled, #54558780);
74
+ --vars_borderColor__k096v42: var(--dt-colors-border-critical-disabled, #d2d3e180);
75
+ }
76
+ .colorUtils_colorUtilsCSS_compound_9__k096v4n {
77
+ --vars_text__k096v40: var(--dt-colors-text-neutral-disabled, #54558780);
78
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-disabled, #54558780);
79
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-disabled, #d2d3e180);
80
+ }
@@ -0,0 +1,48 @@
1
+ declare const vars: {
2
+ text: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
3
+ icon: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
4
+ borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
5
+ };
6
+ export declare const colorUtilsCSS: import("@vanilla-extract/recipes").RuntimeFn<{
7
+ color: {
8
+ critical: {
9
+ vars: {
10
+ [x: string]: string;
11
+ };
12
+ };
13
+ neutral: {
14
+ vars: {
15
+ [x: string]: string;
16
+ };
17
+ };
18
+ primary: {
19
+ vars: {
20
+ [x: string]: string;
21
+ };
22
+ };
23
+ success: {
24
+ vars: {
25
+ [x: string]: string;
26
+ };
27
+ };
28
+ warning: {
29
+ vars: {
30
+ [x: string]: string;
31
+ };
32
+ };
33
+ onAccent: {
34
+ vars: {
35
+ [x: string]: string;
36
+ };
37
+ };
38
+ };
39
+ variant: {
40
+ default: {};
41
+ accent: {};
42
+ };
43
+ disabled: {
44
+ true: {};
45
+ false: {};
46
+ };
47
+ }>;
48
+ export { vars as colorUtilsVars };
@@ -0,0 +1,27 @@
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 colorUtils_css_exports = {};
19
+ __export(colorUtils_css_exports, {
20
+ colorUtilsCSS: () => colorUtilsCSS,
21
+ colorUtilsVars: () => colorUtilsVars
22
+ });
23
+ module.exports = __toCommonJS(colorUtils_css_exports);
24
+ var import_colorUtils_css_ts_vanilla = require("./colorUtils.css");
25
+ var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
26
+ var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "colorUtils__k096v43", variantClassNames: { color: { critical: "colorUtils_colorUtilsCSS_color_critical__k096v44", neutral: "colorUtils_colorUtilsCSS_color_neutral__k096v45", primary: "colorUtils_colorUtilsCSS_color_primary__k096v46", success: "colorUtils_colorUtilsCSS_color_success__k096v47", warning: "colorUtils_colorUtilsCSS_color_warning__k096v48", onAccent: "colorUtils_colorUtilsCSS_color_onAccent__k096v49" }, variant: { "default": "colorUtils_colorUtilsCSS_variant_default__k096v4a", accent: "colorUtils_colorUtilsCSS_variant_accent__k096v4b" }, disabled: { true: "colorUtils_colorUtilsCSS_disabled_true__k096v4c", false: "colorUtils_colorUtilsCSS_disabled_false__k096v4d" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_0__k096v4e"], [{ color: "success", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_1__k096v4f"], [{ color: "warning", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_2__k096v4g"], [{ color: "critical", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_3__k096v4h"], [{ color: "neutral", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_4__k096v4i"], [{ color: "primary", disabled: true }, "colorUtils_colorUtilsCSS_compound_5__k096v4j"], [{ color: "success", disabled: true }, "colorUtils_colorUtilsCSS_compound_6__k096v4k"], [{ color: "warning", disabled: true }, "colorUtils_colorUtilsCSS_compound_7__k096v4l"], [{ color: "critical", disabled: true }, "colorUtils_colorUtilsCSS_compound_8__k096v4m"], [{ color: "neutral", disabled: true }, "colorUtils_colorUtilsCSS_compound_9__k096v4n"]] });
27
+ var colorUtilsVars = { text: "var(--vars_text__k096v40)", icon: "var(--vars_icon__k096v41)", borderColor: "var(--vars_borderColor__k096v42)" };
@@ -0,0 +1,33 @@
1
+ import { isEqual } from "lodash-es";
2
+ import { useRef, useState } from "react";
3
+ function _useFontsUpdated(callback) {
4
+ const [fontsUpdated, setFontsUpdated] = useState(false);
5
+ const prevFontFamilies = useRef();
6
+ const fontFamilies = [];
7
+ const firstRender = useRef(true);
8
+ if (document.fonts) {
9
+ if (firstRender.current) {
10
+ const loadedFontFamilies = [];
11
+ document.fonts.forEach(
12
+ (fontFace) => loadedFontFamilies.push(`${fontFace.family} ${fontFace.weight}`)
13
+ );
14
+ prevFontFamilies.current = loadedFontFamilies;
15
+ firstRender.current = false;
16
+ }
17
+ document.fonts.ready.then((fontFaceSet) => {
18
+ fontFaceSet.forEach(
19
+ (fontFace) => fontFamilies.push(`${fontFace.family} ${fontFace.weight}`)
20
+ );
21
+ if (!isEqual(prevFontFamilies.current, fontFamilies)) {
22
+ prevFontFamilies.current = fontFamilies;
23
+ callback?.();
24
+ setFontsUpdated(true);
25
+ }
26
+ });
27
+ }
28
+ return fontsUpdated;
29
+ }
30
+ export {
31
+ _useFontsUpdated
32
+ };
33
+ //# sourceMappingURL=useFontsUpdated.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/core/hooks/useFontsUpdated.ts"],
4
+ "sourcesContent": ["import { isEqual } from 'lodash-es';\nimport { useRef, useState } from 'react';\n\n/**\n * Hook that checks if the initially loaded fonts were updated.\n * Used to trigger remeasuring in the DataTable (autoWidth) and TextEllipsis once all fonts are loaded.\n *\n * @param callback - optionally pass a function to be executed once when the fonts were updated\n * @returns boolean whether the fonts have changed\n * @internal\n */\nexport function _useFontsUpdated(callback?: () => void): boolean {\n const [fontsUpdated, setFontsUpdated] = useState(false);\n const prevFontFamilies = useRef<string[]>();\n const fontFamilies: string[] = [];\n const firstRender = useRef(true);\n\n if (document.fonts) {\n // gather the font families that are already loaded\n if (firstRender.current) {\n const loadedFontFamilies: string[] = [];\n document.fonts.forEach((fontFace: FontFace) =>\n loadedFontFamilies.push(`${fontFace.family} ${fontFace.weight}`),\n );\n prevFontFamilies.current = loadedFontFamilies;\n firstRender.current = false;\n }\n\n document.fonts.ready.then((fontFaceSet: FontFaceSet) => {\n fontFaceSet.forEach((fontFace: FontFace) =>\n fontFamilies.push(`${fontFace.family} ${fontFace.weight}`),\n );\n\n if (!isEqual(prevFontFamilies.current, fontFamilies)) {\n prevFontFamilies.current = fontFamilies;\n callback?.();\n setFontsUpdated(true);\n }\n });\n }\n\n return fontsUpdated;\n}\n"],
5
+ "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,QAAQ,gBAAgB;AAU1B,SAAS,iBAAiB,UAAgC;AAC/D,QAAM,CAAC,cAAc,eAAe,IAAI,SAAS,KAAK;AACtD,QAAM,mBAAmB,OAAiB;AAC1C,QAAM,eAAyB,CAAC;AAChC,QAAM,cAAc,OAAO,IAAI;AAE/B,MAAI,SAAS,OAAO;AAElB,QAAI,YAAY,SAAS;AACvB,YAAM,qBAA+B,CAAC;AACtC,eAAS,MAAM;AAAA,QAAQ,CAAC,aACtB,mBAAmB,KAAK,GAAG,SAAS,MAAM,IAAI,SAAS,MAAM,EAAE;AAAA,MACjE;AACA,uBAAiB,UAAU;AAC3B,kBAAY,UAAU;AAAA,IACxB;AAEA,aAAS,MAAM,MAAM,KAAK,CAAC,gBAA6B;AACtD,kBAAY;AAAA,QAAQ,CAAC,aACnB,aAAa,KAAK,GAAG,SAAS,MAAM,IAAI,SAAS,MAAM,EAAE;AAAA,MAC3D;AAEA,UAAI,CAAC,QAAQ,iBAAiB,SAAS,YAAY,GAAG;AACpD,yBAAiB,UAAU;AAC3B,mBAAW;AACX,wBAAgB,IAAI;AAAA,MACtB;AAAA,IACF,CAAC;AAAA,EACH;AAEA,SAAO;AACT;",
6
+ "names": []
7
+ }
@@ -0,0 +1,16 @@
1
+ import { useCallback } from "react";
2
+ function useMergeRefs(refs) {
3
+ return useCallback((value) => {
4
+ for (const ref of refs) {
5
+ if (typeof ref === "function") {
6
+ ref(value);
7
+ } else if (ref !== void 0 && ref !== null) {
8
+ ref.current = value;
9
+ }
10
+ }
11
+ }, refs);
12
+ }
13
+ export {
14
+ useMergeRefs
15
+ };
16
+ //# sourceMappingURL=useMergeRefs.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/core/hooks/useMergeRefs.ts"],
4
+ "sourcesContent": ["import React, { useCallback } from 'react';\n\n/**\n * If you have multiple references (e.g. from different hooks) you need to apply to\n * the same element, you can use the `useMergeRefs` hook to combine them into one\n * reference.\n */\nexport function useMergeRefs<T = unknown>(\n refs: Array<\n | React.MutableRefObject<T>\n | React.LegacyRef<T>\n | React.Dispatch<React.SetStateAction<T | null>>\n | undefined\n >,\n): React.RefCallback<T> {\n return useCallback((value) => {\n for (const ref of refs) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref !== undefined && ref !== null) {\n (ref as React.MutableRefObject<T | null>).current = value;\n }\n }\n }, refs); // eslint-disable-line react-hooks/exhaustive-deps\n}\n"],
5
+ "mappings": "AAAA,SAAgB,mBAAmB;AAO5B,SAAS,aACd,MAMsB;AACtB,SAAO,YAAY,CAAC,UAAU;AAC5B,eAAW,OAAO,MAAM;AACtB,UAAI,OAAO,QAAQ,YAAY;AAC7B,YAAI,KAAK;AAAA,MACX,WAAW,QAAQ,UAAa,QAAQ,MAAM;AAC5C,QAAC,IAAyC,UAAU;AAAA,MACtD;AAAA,IACF;AAAA,EACF,GAAG,IAAI;AACT;",
6
+ "names": []
7
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/core/index.ts"],
4
- "sourcesContent": ["export { AppRoot, type AppRootProps } from './components/app-root/AppRoot.js';\nexport {\n FocusScope as _FocusScope,\n type FocusScopeProps as _FocusScopeProps,\n} from './components/focus-scope/FocusScope.js';\n\nexport { type FocusContextProps as _FocusContextProps } from './contexts/FocusContext.js';\n\nexport { useCurrentTheme } from './hooks/useCurrentTheme.js';\nexport { useFocusContext as _useFocusContext } from './hooks/useFocusContext.js';\nexport {\n FocusProvider as _FocusProvider,\n type Modality as _Modality,\n} from './providers/FocusProvider.js';\nexport type { MaskingProps } from './types/masking-props.js';\nexport type { DataTestId } from './types/data-props.js';\nexport type { StylingProps } from './types/styling-props.js';\nexport type { WithChildren } from './types/with-children.js';\n\nexport { attemptFocus as _attemptFocus } from './utils/focus-management/attempt-focus.js';\nexport { focusFirstDescendant as _focusFirstDescendant } from './utils/focus-management/focus-first-descendant.js';\nexport { getFirstFocusableChild as _getFirstFocusableChild } from './utils/focus-management/get-first-focusable-child.js';\nexport { getLastFocusableChild as _getLastFocusableChild } from './utils/focus-management/get-last-focusable-child.js';\nexport { isFocusable as _isFocusable } from './utils/focus-management/is-focusable.js';\nexport { isBrowser as _isBrowser } from './utils/isBrowser.js';\nexport {\n mergeProps as _mergeProps,\n type NullToObject as _NullToObject,\n type TupleTypes as _TupleTypes,\n type UnionToIntersection as _UnionToIntersection,\n} from './utils/merge-props.js';\n"],
4
+ "sourcesContent": ["export { AppRoot, type AppRootProps } from './components/app-root/AppRoot.js';\nexport {\n FocusScope as _FocusScope,\n type FocusScopeProps as _FocusScopeProps,\n} from './components/focus-scope/FocusScope.js';\n\nexport { type FocusContextProps as _FocusContextProps } from './contexts/FocusContext.js';\n\nexport { useCurrentTheme } from './hooks/useCurrentTheme.js';\nexport { useFocusContext as _useFocusContext } from './hooks/useFocusContext.js';\nexport {\n FocusProvider as _FocusProvider,\n type Modality as _Modality,\n} from './providers/FocusProvider.js';\nexport type { MaskingProps } from './types/masking-props.js';\nexport type { DataTestId } from './types/data-props.js';\nexport type { StylingProps } from './types/styling-props.js';\nexport type { WithChildren } from './types/with-children.js';\n\nexport { attemptFocus as _attemptFocus } from './utils/focus-management/attempt-focus.js';\nexport { focusFirstDescendant as _focusFirstDescendant } from './utils/focus-management/focus-first-descendant.js';\nexport { getFirstFocusableChild as _getFirstFocusableChild } from './utils/focus-management/get-first-focusable-child.js';\nexport { getLastFocusableChild as _getLastFocusableChild } from './utils/focus-management/get-last-focusable-child.js';\nexport { isFocusable as _isFocusable } from './utils/focus-management/is-focusable.js';\nexport { isBrowser as _isBrowser } from './utils/isBrowser.js';\nexport {\n mergeProps as _mergeProps,\n type NullToObject as _NullToObject,\n type TupleTypes as _TupleTypes,\n type UnionToIntersection as _UnionToIntersection,\n} from './utils/merge-props.js';\n\nexport type { AriaLabelingProps } from './types/a11y-props.js';\nexport type { DOMProps } from './types/dom.js';\nexport type {\n PolymorphicComponentProps,\n PolymorphProps,\n PolymorphOwnProps,\n} from './types/polymorph.js';\nexport { type _HeadingLevel, type _HeadingTag } from './types/heading.js';\n"],
5
5
  "mappings": "AAAA,SAAS,eAAkC;AAC3C;AAAA,EACgB;AAAA,OAET;AAIP,SAAS,uBAAuB;AAChC,SAA4B,uBAAwB;AACpD;AAAA,EACmB;AAAA,OAEZ;AAMP,SAAyB,oBAAqB;AAC9C,SAAiC,4BAA6B;AAC9D,SAAmC,8BAA+B;AAClE,SAAkC,6BAA8B;AAChE,SAAwB,mBAAoB;AAC5C,SAAsB,iBAAkB;AACxC;AAAA,EACgB;AAAA,OAIT;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,88 @@
1
+ .focusRing_focusRingCSS__z2r50s3 {
2
+ outline: none;
3
+ }
4
+ .focusRing_focusRingCSS__z2r50s3:focus-visible {
5
+ outline: none;
6
+ }
7
+ .focusRing_focusRingCSS_minimal_true__z2r50s4 {
8
+ border-radius: calc(var(--dt-borders-radius-field-subdued, 4px) / 2);
9
+ box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--outerShadow__z2r50s0);
10
+ background-color: var(--backgroundColor__z2r50s2);
11
+ }
12
+ .focusRing_focusRingCSS_minimal_false__z2r50s5.focusRing_focusRingCSS_minimal_false__z2r50s5 {
13
+ box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--outerShadow__z2r50s0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--innerShadow__z2r50s1);
14
+ }
15
+ .focusRing_focusRingCSS_variant_neutral__z2r50s6 {
16
+ --outerShadow__z2r50s0: var(--dt-colors-border-neutral-accent, #545587);
17
+ --innerShadow__z2r50s1: var(--dt-colors-border-neutral-default, #d2d3e1);
18
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
19
+ }
20
+ .focusRing_focusRingCSS_variant_primary__z2r50s7 {
21
+ --outerShadow__z2r50s0: var(--dt-colors-border-primary-accent, #454cc9);
22
+ --innerShadow__z2r50s1: var(--dt-colors-border-primary-default, #ccd3f3);
23
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
24
+ }
25
+ .focusRing_focusRingCSS_variant_success__z2r50s8 {
26
+ --outerShadow__z2r50s0: var(--dt-colors-border-success-accent, #2c6360);
27
+ --innerShadow__z2r50s1: var(--dt-colors-border-success-default, #cad6d7);
28
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-success-emphasized, #d4dddf);
29
+ }
30
+ .focusRing_focusRingCSS_variant_warning__z2r50s9 {
31
+ --outerShadow__z2r50s0: var(--dt-colors-border-warning-accent, #805100);
32
+ --innerShadow__z2r50s1: var(--dt-colors-border-warning-default, #f4e5d5);
33
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
34
+ }
35
+ .focusRing_focusRingCSS_variant_critical__z2r50sa {
36
+ --outerShadow__z2r50s0: var(--dt-colors-border-critical-accent, #b80031);
37
+ --innerShadow__z2r50s1: var(--dt-colors-border-critical-default, #f1cdcf);
38
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
39
+ }
40
+ .focusRing_focusRingCSS_variant_onAccent__z2r50sb {
41
+ --outerShadow__z2r50s0: var(--dt-colors-border-on-accent-default, #f3f3f7);
42
+ --innerShadow__z2r50s1: var(--dt-colors-border-on-accent-default, #f3f3f7);
43
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-on-accent-emphasized, #f3f3f733);
44
+ }
45
+ .focusRing_focusRingFocusWithinCSS__z2r50sc:focus-within {
46
+ outline: none;
47
+ :focus-visible {
48
+ outline: none;
49
+ }
50
+ }
51
+ .focusRing_focusRingFocusWithinCSS_minimal_true__z2r50sd:focus-within {
52
+ border-radius: calc(var(--dt-borders-radius-field-subdued, 4px) / 2);
53
+ box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--outerShadow__z2r50s0);
54
+ background-color: var(--backgroundColor__z2r50s2);
55
+ }
56
+ .focusRing_focusRingFocusWithinCSS_minimal_false__z2r50se:focus-within {
57
+ box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--outerShadow__z2r50s0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--innerShadow__z2r50s1);
58
+ }
59
+ .focusRing_focusRingFocusWithinCSS_variant_neutral__z2r50sf {
60
+ --outerShadow__z2r50s0: var(--dt-colors-border-neutral-accent, #545587);
61
+ --innerShadow__z2r50s1: var(--dt-colors-border-neutral-default, #d2d3e1);
62
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
63
+ }
64
+ .focusRing_focusRingFocusWithinCSS_variant_primary__z2r50sg {
65
+ --outerShadow__z2r50s0: var(--dt-colors-border-primary-accent, #454cc9);
66
+ --innerShadow__z2r50s1: var(--dt-colors-border-primary-default, #ccd3f3);
67
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
68
+ }
69
+ .focusRing_focusRingFocusWithinCSS_variant_success__z2r50sh {
70
+ --outerShadow__z2r50s0: var(--dt-colors-border-success-accent, #2c6360);
71
+ --innerShadow__z2r50s1: var(--dt-colors-border-success-default, #cad6d7);
72
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-success-emphasized, #d4dddf);
73
+ }
74
+ .focusRing_focusRingFocusWithinCSS_variant_warning__z2r50si {
75
+ --outerShadow__z2r50s0: var(--dt-colors-border-warning-accent, #805100);
76
+ --innerShadow__z2r50s1: var(--dt-colors-border-warning-default, #f4e5d5);
77
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
78
+ }
79
+ .focusRing_focusRingFocusWithinCSS_variant_critical__z2r50sj {
80
+ --outerShadow__z2r50s0: var(--dt-colors-border-critical-accent, #b80031);
81
+ --innerShadow__z2r50s1: var(--dt-colors-border-critical-default, #f1cdcf);
82
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
83
+ }
84
+ .focusRing_focusRingFocusWithinCSS_variant_onAccent__z2r50sk {
85
+ --outerShadow__z2r50s0: var(--dt-colors-border-on-accent-default, #f3f3f7);
86
+ --innerShadow__z2r50s1: var(--dt-colors-border-on-accent-default, #f3f3f7);
87
+ --backgroundColor__z2r50s2: var(--dt-colors-background-field-on-accent-emphasized, #f3f3f733);
88
+ }
@@ -0,0 +1,9 @@
1
+ import "./focusRing.css";
2
+ import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
3
+ var focusRingCSS = _7a468({ defaultClassName: "focusRing_focusRingCSS__z2r50s3", variantClassNames: { minimal: { true: "focusRing_focusRingCSS_minimal_true__z2r50s4", false: "focusRing_focusRingCSS_minimal_false__z2r50s5" }, variant: { neutral: "focusRing_focusRingCSS_variant_neutral__z2r50s6", primary: "focusRing_focusRingCSS_variant_primary__z2r50s7", success: "focusRing_focusRingCSS_variant_success__z2r50s8", warning: "focusRing_focusRingCSS_variant_warning__z2r50s9", critical: "focusRing_focusRingCSS_variant_critical__z2r50sa", onAccent: "focusRing_focusRingCSS_variant_onAccent__z2r50sb" } }, defaultVariants: {}, compoundVariants: [] });
4
+ var focusRingFocusWithinCSS = _7a468({ defaultClassName: "focusRing_focusRingFocusWithinCSS__z2r50sc", variantClassNames: { minimal: { true: "focusRing_focusRingFocusWithinCSS_minimal_true__z2r50sd", false: "focusRing_focusRingFocusWithinCSS_minimal_false__z2r50se" }, variant: { neutral: "focusRing_focusRingFocusWithinCSS_variant_neutral__z2r50sf", primary: "focusRing_focusRingFocusWithinCSS_variant_primary__z2r50sg", success: "focusRing_focusRingFocusWithinCSS_variant_success__z2r50sh", warning: "focusRing_focusRingFocusWithinCSS_variant_warning__z2r50si", critical: "focusRing_focusRingFocusWithinCSS_variant_critical__z2r50sj", onAccent: "focusRing_focusRingFocusWithinCSS_variant_onAccent__z2r50sk" } }, defaultVariants: {}, compoundVariants: [] });
5
+ export {
6
+ focusRingCSS,
7
+ focusRingFocusWithinCSS
8
+ };
9
+ //# sourceMappingURL=focusRing.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/core/styles/focusRing.css.ts"],
4
+ "sourcesContent": ["import './focusRing.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var focusRingCSS = _7a468({defaultClassName:'focusRing_focusRingCSS__z2r50s3',variantClassNames:{minimal:{true:'focusRing_focusRingCSS_minimal_true__z2r50s4',false:'focusRing_focusRingCSS_minimal_false__z2r50s5'},variant:{neutral:'focusRing_focusRingCSS_variant_neutral__z2r50s6',primary:'focusRing_focusRingCSS_variant_primary__z2r50s7',success:'focusRing_focusRingCSS_variant_success__z2r50s8',warning:'focusRing_focusRingCSS_variant_warning__z2r50s9',critical:'focusRing_focusRingCSS_variant_critical__z2r50sa',onAccent:'focusRing_focusRingCSS_variant_onAccent__z2r50sb'}},defaultVariants:{},compoundVariants:[]});\nexport var focusRingFocusWithinCSS = _7a468({defaultClassName:'focusRing_focusRingFocusWithinCSS__z2r50sc',variantClassNames:{minimal:{true:'focusRing_focusRingFocusWithinCSS_minimal_true__z2r50sd',false:'focusRing_focusRingFocusWithinCSS_minimal_false__z2r50se'},variant:{neutral:'focusRing_focusRingFocusWithinCSS_variant_neutral__z2r50sf',primary:'focusRing_focusRingFocusWithinCSS_variant_primary__z2r50sg',success:'focusRing_focusRingFocusWithinCSS_variant_success__z2r50sh',warning:'focusRing_focusRingFocusWithinCSS_variant_warning__z2r50si',critical:'focusRing_focusRingFocusWithinCSS_variant_critical__z2r50sj',onAccent:'focusRing_focusRingFocusWithinCSS_variant_onAccent__z2r50sk'}},defaultVariants:{},compoundVariants:[]});"],
5
+ "mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,mCAAkC,mBAAkB,EAAC,SAAQ,EAAC,MAAK,gDAA+C,OAAM,gDAA+C,GAAE,SAAQ,EAAC,SAAQ,mDAAkD,SAAQ,mDAAkD,SAAQ,mDAAkD,SAAQ,mDAAkD,UAAS,oDAAmD,UAAS,mDAAkD,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACvmB,IAAI,0BAA0B,OAAO,EAAC,kBAAiB,8CAA6C,mBAAkB,EAAC,SAAQ,EAAC,MAAK,2DAA0D,OAAM,2DAA0D,GAAE,SAAQ,EAAC,SAAQ,8DAA6D,SAAQ,8DAA6D,SAAQ,8DAA6D,SAAQ,8DAA6D,UAAS,+DAA8D,UAAS,8DAA6D,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,69 @@
1
+ import {
2
+ useCallback,
3
+ useEffect,
4
+ useState
5
+ } from "react";
6
+ import { focusRingCSS, focusRingFocusWithinCSS } from "./focusRing.sty.js";
7
+ import { _useFocusContext } from "../index.js";
8
+ const variants = [
9
+ "neutral",
10
+ "primary",
11
+ "success",
12
+ "warning",
13
+ "critical",
14
+ "onAccent"
15
+ ];
16
+ function useFocusRing(props = {}) {
17
+ const {
18
+ variant = "neutral",
19
+ ignoreModality = false,
20
+ isMinimal = false,
21
+ focusWithin = false,
22
+ disabled = false
23
+ } = props;
24
+ const [isFocused, setIsFocused] = useState(false);
25
+ const { modality } = _useFocusContext();
26
+ useEffect(() => {
27
+ if (disabled) {
28
+ setIsFocused(false);
29
+ }
30
+ }, [disabled]);
31
+ const onBlur = useCallback((e) => {
32
+ if (e.currentTarget === e.target) {
33
+ setIsFocused(false);
34
+ }
35
+ }, []);
36
+ const onFocus = useCallback((e) => {
37
+ if (e.currentTarget === e.target) {
38
+ setIsFocused(true);
39
+ }
40
+ }, []);
41
+ const focusProps = {
42
+ onFocus,
43
+ onBlur
44
+ };
45
+ if ((ignoreModality || modality === "keyboard") && isFocused || focusWithin) {
46
+ if (isMinimal) {
47
+ return {
48
+ focusClassName: focusWithin ? focusRingFocusWithinCSS({ minimal: true, variant }) : focusRingCSS({ minimal: true, variant }),
49
+ isFocusVisible: !focusWithin,
50
+ focusProps
51
+ };
52
+ }
53
+ return {
54
+ focusClassName: focusWithin ? focusRingFocusWithinCSS({ minimal: false, variant }) : focusRingCSS({ minimal: false, variant }),
55
+ isFocusVisible: !focusWithin,
56
+ focusProps
57
+ };
58
+ }
59
+ return {
60
+ focusClassName: focusWithin ? focusRingFocusWithinCSS() : focusRingCSS(),
61
+ isFocusVisible: false,
62
+ focusProps
63
+ };
64
+ }
65
+ export {
66
+ useFocusRing,
67
+ variants
68
+ };
69
+ //# sourceMappingURL=useFocusRing.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/core/styles/useFocusRing.ts"],
4
+ "sourcesContent": ["import {\n FocusEvent,\n FocusEventHandler,\n useCallback,\n useEffect,\n useState,\n} from 'react';\n\nimport { focusRingCSS, focusRingFocusWithinCSS } from './focusRing.sty.js';\nimport { _useFocusContext } from '../index.js';\n\nexport type Modality = 'keyboard' | 'pointer' | 'touch' | 'unknown';\n\n/** @internal */\nexport const variants = [\n 'neutral',\n 'primary',\n 'success',\n 'warning',\n 'critical',\n 'onAccent',\n] as const;\n/** @internal */\nexport type VariantType = (typeof variants)[number];\n/** @internal */\nexport type UseFocusRingProps = {\n /**\n * A minimal focus outline is available for smaller content elements like links. This variant is applied when set to true.\n * @defaultValue false\n */\n isMinimal?: boolean;\n\n /**\n * Whether or not the modality should be ignored, so that the focus ring is also present if users clicks the element (not just by tabbing to it).\n * @defaultValue false\n */\n ignoreModality?: boolean;\n\n /**\n * The styling variant of the element.\n * @defaultValue neutral\n */\n variant?: VariantType;\n\n /**\n * Apply the focus ring styling if an embedded element gains the focus\n */\n focusWithin?: boolean;\n\n /**\n * Whether the element is disabled. If disabled changes to true, the focus will be removed.\n */\n disabled?: boolean;\n};\n\nexport type FocusRingProps = {\n /** The focus styles that depend on modality. */\n focusClassName: string;\n /** Focus handlers used to manage the focus state. Must be applied to the element that receives the focus.*/\n focusProps: {\n onFocus: (e: FocusEvent) => void;\n onBlur: (e: FocusEvent) => void;\n };\n /** Whether or not the element got focus via keyboard. */\n isFocusVisible: boolean;\n};\n\n/**\n * Custom hook used to determine focus styling depending on modality.\n * Returns the css classes (vanilla) that can be applied to the component in order to show the correct focus outline.\n * @internal\n */\nexport function useFocusRing(props: UseFocusRingProps = {}): FocusRingProps {\n const {\n variant = 'neutral',\n ignoreModality = false,\n isMinimal = false,\n focusWithin = false,\n disabled = false,\n } = props;\n const [isFocused, setIsFocused] = useState(false);\n const { modality } = _useFocusContext();\n\n useEffect(() => {\n if (disabled) {\n setIsFocused(false);\n }\n }, [disabled]);\n\n const onBlur = useCallback<FocusEventHandler>((e) => {\n // trigger only when the self element is unfocused (stopPropagation)\n if (e.currentTarget === e.target) {\n setIsFocused(false);\n }\n }, []);\n\n const onFocus = useCallback<FocusEventHandler>((e) => {\n // trigger only when the self element is focused (stopPropagation)\n if (e.currentTarget === e.target) {\n setIsFocused(true);\n }\n }, []);\n\n const focusProps = {\n onFocus,\n onBlur,\n };\n\n if (\n ((ignoreModality || modality === 'keyboard') && isFocused) ||\n focusWithin\n ) {\n if (isMinimal) {\n return {\n focusClassName: focusWithin\n ? focusRingFocusWithinCSS({ minimal: true, variant })\n : focusRingCSS({ minimal: true, variant }),\n isFocusVisible: !focusWithin,\n focusProps,\n };\n }\n\n return {\n focusClassName: focusWithin\n ? focusRingFocusWithinCSS({ minimal: false, variant })\n : focusRingCSS({ minimal: false, variant }),\n isFocusVisible: !focusWithin,\n focusProps,\n };\n }\n\n return {\n focusClassName: focusWithin ? focusRingFocusWithinCSS() : focusRingCSS(),\n isFocusVisible: false,\n focusProps,\n };\n}\n"],
5
+ "mappings": "AAAA;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,cAAc,+BAA+B;AACtD,SAAS,wBAAwB;AAK1B,MAAM,WAAW;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAmDO,SAAS,aAAa,QAA2B,CAAC,GAAmB;AAC1E,QAAM;AAAA,IACJ,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,WAAW;AAAA,EACb,IAAI;AACJ,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,SAAS,IAAI,iBAAiB;AAEtC,YAAU,MAAM;AACd,QAAI,UAAU;AACZ,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,QAAQ,CAAC;AAEb,QAAM,SAAS,YAA+B,CAAC,MAAM;AAEnD,QAAI,EAAE,kBAAkB,EAAE,QAAQ;AAChC,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,QAAM,UAAU,YAA+B,CAAC,MAAM;AAEpD,QAAI,EAAE,kBAAkB,EAAE,QAAQ;AAChC,mBAAa,IAAI;AAAA,IACnB;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,QAAM,aAAa;AAAA,IACjB;AAAA,IACA;AAAA,EACF;AAEA,OACI,kBAAkB,aAAa,eAAe,aAChD,aACA;AACA,QAAI,WAAW;AACb,aAAO;AAAA,QACL,gBAAgB,cACZ,wBAAwB,EAAE,SAAS,MAAM,QAAQ,CAAC,IAClD,aAAa,EAAE,SAAS,MAAM,QAAQ,CAAC;AAAA,QAC3C,gBAAgB,CAAC;AAAA,QACjB;AAAA,MACF;AAAA,IACF;AAEA,WAAO;AAAA,MACL,gBAAgB,cACZ,wBAAwB,EAAE,SAAS,OAAO,QAAQ,CAAC,IACnD,aAAa,EAAE,SAAS,OAAO,QAAQ,CAAC;AAAA,MAC5C,gBAAgB,CAAC;AAAA,MACjB;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AAAA,IACL,gBAAgB,cAAc,wBAAwB,IAAI,aAAa;AAAA,IACvE,gBAAgB;AAAA,IAChB;AAAA,EACF;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=a11y-props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=dom.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=focusable-element.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=heading.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=polymorph.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,80 @@
1
+ .colorUtils_colorUtilsCSS_color_critical__k096v44 {
2
+ --vars_text__k096v40: var(--dt-colors-text-critical-default, #b80031);
3
+ --vars_icon__k096v41: var(--dt-colors-icon-critical-default, #b80031);
4
+ --vars_borderColor__k096v42: var(--dt-colors-border-critical-default, #f1cdcf);
5
+ }
6
+ .colorUtils_colorUtilsCSS_color_neutral__k096v45 {
7
+ --vars_text__k096v40: var(--dt-colors-text-neutral-default, #2b2a58);
8
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-default, #2b2a58);
9
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-default, #d2d3e1);
10
+ }
11
+ .colorUtils_colorUtilsCSS_color_primary__k096v46 {
12
+ --vars_text__k096v40: var(--dt-colors-text-primary-default, #454cc9);
13
+ --vars_icon__k096v41: var(--dt-colors-icon-primary-default, #454cc9);
14
+ --vars_borderColor__k096v42: var(--dt-colors-border-primary-default, #ccd3f3);
15
+ }
16
+ .colorUtils_colorUtilsCSS_color_success__k096v47 {
17
+ --vars_text__k096v40: var(--dt-colors-text-success-default, #2c6360);
18
+ --vars_icon__k096v41: var(--dt-colors-icon-success-default, #2c6360);
19
+ --vars_borderColor__k096v42: var(--dt-colors-border-success-default, #cad6d7);
20
+ }
21
+ .colorUtils_colorUtilsCSS_color_warning__k096v48 {
22
+ --vars_text__k096v40: var(--dt-colors-text-warning-default, #805100);
23
+ --vars_icon__k096v41: var(--dt-colors-icon-warning-default, #805100);
24
+ --vars_borderColor__k096v42: var(--dt-colors-border-warning-default, #f4e5d5);
25
+ }
26
+ .colorUtils_colorUtilsCSS_color_onAccent__k096v49 {
27
+ --vars_text__k096v40: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
28
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
29
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
30
+ }
31
+ .colorUtils_colorUtilsCSS_compound_0__k096v4e {
32
+ --vars_text__k096v40: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
33
+ --vars_icon__k096v41: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
34
+ --vars_borderColor__k096v42: var(--dt-colors-border-primary-accent, #454cc9);
35
+ }
36
+ .colorUtils_colorUtilsCSS_compound_1__k096v4f {
37
+ --vars_text__k096v40: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
38
+ --vars_icon__k096v41: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
39
+ --vars_borderColor__k096v42: var(--dt-colors-border-success-accent, #2c6360);
40
+ }
41
+ .colorUtils_colorUtilsCSS_compound_2__k096v4g {
42
+ --vars_text__k096v40: var(--dt-colors-text-warning-on-accent-default, #272025);
43
+ --vars_icon__k096v41: var(--dt-colors-icon-warning-on-accent-default, #272025);
44
+ --vars_borderColor__k096v42: var(--dt-colors-border-warning-accent, #805100);
45
+ }
46
+ .colorUtils_colorUtilsCSS_compound_3__k096v4h {
47
+ --vars_text__k096v40: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
48
+ --vars_icon__k096v41: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
49
+ --vars_borderColor__k096v42: var(--dt-colors-border-critical-accent, #b80031);
50
+ }
51
+ .colorUtils_colorUtilsCSS_compound_4__k096v4i {
52
+ --vars_text__k096v40: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
53
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
54
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-accent, #545587);
55
+ }
56
+ .colorUtils_colorUtilsCSS_compound_5__k096v4j {
57
+ --vars_text__k096v40: var(--dt-colors-text-primary-disabled, #54558780);
58
+ --vars_icon__k096v41: var(--dt-colors-icon-primary-disabled, #54558780);
59
+ --vars_borderColor__k096v42: var(--dt-colors-border-primary-disabled, #d2d3e180);
60
+ }
61
+ .colorUtils_colorUtilsCSS_compound_6__k096v4k {
62
+ --vars_text__k096v40: var(--dt-colors-text-success-disabled, #54558780);
63
+ --vars_icon__k096v41: var(--dt-colors-icon-success-disabled, #54558780);
64
+ --vars_borderColor__k096v42: var(--dt-colors-border-success-disabled, #d2d3e180);
65
+ }
66
+ .colorUtils_colorUtilsCSS_compound_7__k096v4l {
67
+ --vars_text__k096v40: var(--dt-colors-text-warning-disabled, #54558780);
68
+ --vars_icon__k096v41: var(--dt-colors-icon-warning-disabled, #54558780);
69
+ --vars_borderColor__k096v42: var(--dt-colors-border-warning-disabled, #d2d3e180);
70
+ }
71
+ .colorUtils_colorUtilsCSS_compound_8__k096v4m {
72
+ --vars_text__k096v40: var(--dt-colors-text-critical-disabled, #54558780);
73
+ --vars_icon__k096v41: var(--dt-colors-icon-critical-disabled, #54558780);
74
+ --vars_borderColor__k096v42: var(--dt-colors-border-critical-disabled, #d2d3e180);
75
+ }
76
+ .colorUtils_colorUtilsCSS_compound_9__k096v4n {
77
+ --vars_text__k096v40: var(--dt-colors-text-neutral-disabled, #54558780);
78
+ --vars_icon__k096v41: var(--dt-colors-icon-neutral-disabled, #54558780);
79
+ --vars_borderColor__k096v42: var(--dt-colors-border-neutral-disabled, #d2d3e180);
80
+ }
@@ -0,0 +1,9 @@
1
+ import "./colorUtils.css";
2
+ import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
3
+ var colorUtilsCSS = _7a468({ defaultClassName: "colorUtils__k096v43", variantClassNames: { color: { critical: "colorUtils_colorUtilsCSS_color_critical__k096v44", neutral: "colorUtils_colorUtilsCSS_color_neutral__k096v45", primary: "colorUtils_colorUtilsCSS_color_primary__k096v46", success: "colorUtils_colorUtilsCSS_color_success__k096v47", warning: "colorUtils_colorUtilsCSS_color_warning__k096v48", onAccent: "colorUtils_colorUtilsCSS_color_onAccent__k096v49" }, variant: { "default": "colorUtils_colorUtilsCSS_variant_default__k096v4a", accent: "colorUtils_colorUtilsCSS_variant_accent__k096v4b" }, disabled: { true: "colorUtils_colorUtilsCSS_disabled_true__k096v4c", false: "colorUtils_colorUtilsCSS_disabled_false__k096v4d" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_0__k096v4e"], [{ color: "success", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_1__k096v4f"], [{ color: "warning", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_2__k096v4g"], [{ color: "critical", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_3__k096v4h"], [{ color: "neutral", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_4__k096v4i"], [{ color: "primary", disabled: true }, "colorUtils_colorUtilsCSS_compound_5__k096v4j"], [{ color: "success", disabled: true }, "colorUtils_colorUtilsCSS_compound_6__k096v4k"], [{ color: "warning", disabled: true }, "colorUtils_colorUtilsCSS_compound_7__k096v4l"], [{ color: "critical", disabled: true }, "colorUtils_colorUtilsCSS_compound_8__k096v4m"], [{ color: "neutral", disabled: true }, "colorUtils_colorUtilsCSS_compound_9__k096v4n"]] });
4
+ var colorUtilsVars = { text: "var(--vars_text__k096v40)", icon: "var(--vars_icon__k096v41)", borderColor: "var(--vars_borderColor__k096v42)" };
5
+ export {
6
+ colorUtilsCSS,
7
+ colorUtilsVars
8
+ };
9
+ //# sourceMappingURL=colorUtils.sty.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/core/utils/colorUtils.css.ts"],
4
+ "sourcesContent": ["import './colorUtils.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var colorUtilsCSS = _7a468({defaultClassName:'colorUtils__k096v43',variantClassNames:{color:{critical:'colorUtils_colorUtilsCSS_color_critical__k096v44',neutral:'colorUtils_colorUtilsCSS_color_neutral__k096v45',primary:'colorUtils_colorUtilsCSS_color_primary__k096v46',success:'colorUtils_colorUtilsCSS_color_success__k096v47',warning:'colorUtils_colorUtilsCSS_color_warning__k096v48',onAccent:'colorUtils_colorUtilsCSS_color_onAccent__k096v49'},variant:{'default':'colorUtils_colorUtilsCSS_variant_default__k096v4a',accent:'colorUtils_colorUtilsCSS_variant_accent__k096v4b'},disabled:{true:'colorUtils_colorUtilsCSS_disabled_true__k096v4c',false:'colorUtils_colorUtilsCSS_disabled_false__k096v4d'}},defaultVariants:{},compoundVariants:[[{color:'primary',variant:'accent'},'colorUtils_colorUtilsCSS_compound_0__k096v4e'],[{color:'success',variant:'accent'},'colorUtils_colorUtilsCSS_compound_1__k096v4f'],[{color:'warning',variant:'accent'},'colorUtils_colorUtilsCSS_compound_2__k096v4g'],[{color:'critical',variant:'accent'},'colorUtils_colorUtilsCSS_compound_3__k096v4h'],[{color:'neutral',variant:'accent'},'colorUtils_colorUtilsCSS_compound_4__k096v4i'],[{color:'primary',disabled:true},'colorUtils_colorUtilsCSS_compound_5__k096v4j'],[{color:'success',disabled:true},'colorUtils_colorUtilsCSS_compound_6__k096v4k'],[{color:'warning',disabled:true},'colorUtils_colorUtilsCSS_compound_7__k096v4l'],[{color:'critical',disabled:true},'colorUtils_colorUtilsCSS_compound_8__k096v4m'],[{color:'neutral',disabled:true},'colorUtils_colorUtilsCSS_compound_9__k096v4n']]});\nexport var colorUtilsVars = {text:'var(--vars_text__k096v40)',icon:'var(--vars_icon__k096v41)',borderColor:'var(--vars_borderColor__k096v42)'};"],
5
+ "mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,uBAAsB,mBAAkB,EAAC,OAAM,EAAC,UAAS,oDAAmD,SAAQ,mDAAkD,SAAQ,mDAAkD,SAAQ,mDAAkD,SAAQ,mDAAkD,UAAS,mDAAkD,GAAE,SAAQ,EAAC,WAAU,qDAAoD,QAAO,mDAAkD,GAAE,UAAS,EAAC,MAAK,mDAAkD,OAAM,mDAAkD,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,YAAW,SAAQ,SAAQ,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,KAAI,GAAE,8CAA8C,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,8CAA8C,CAAC,EAAC,CAAC;AAC7hD,IAAI,iBAAiB,EAAC,MAAK,6BAA4B,MAAK,6BAA4B,aAAY,mCAAkC;",
6
+ "names": []
7
+ }
package/esm/index.js CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from "./core/index.js";
2
+ export * from "./layouts/index.js";
3
+ export * from "./typography/index.js";
2
4
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["export * from './core/index.js';\n"],
5
- "mappings": "AAAA,cAAc;",
4
+ "sourcesContent": ["export * from './core/index.js';\nexport * from './layouts/index.js';\nexport * from './typography/index.js';\n"],
5
+ "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
6
6
  "names": []
7
7
  }