@mintlify/components 1.0.0 → 1.0.1

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 (231) hide show
  1. package/dist/components/accordion/accordion-cover.d.ts +12 -0
  2. package/dist/components/accordion/accordion-cover.d.ts.map +1 -0
  3. package/dist/components/accordion/accordion-cover.js +27 -27
  4. package/dist/components/accordion/accordion-group.d.ts +9 -0
  5. package/dist/components/accordion/accordion-group.d.ts.map +1 -0
  6. package/dist/components/accordion/accordion-group.js +1 -1
  7. package/dist/components/accordion/accordion-url-utils.d.ts +5 -0
  8. package/dist/components/accordion/accordion-url-utils.d.ts.map +1 -0
  9. package/dist/components/accordion/accordion.d.ts +26 -0
  10. package/dist/components/accordion/accordion.d.ts.map +1 -0
  11. package/dist/components/accordion/accordion.js +21 -21
  12. package/dist/components/accordion/index.d.ts +7 -0
  13. package/dist/components/accordion/index.d.ts.map +1 -0
  14. package/dist/components/badge/badge.d.ts +29 -0
  15. package/dist/components/badge/badge.d.ts.map +1 -0
  16. package/dist/components/badge/index.d.ts +3 -0
  17. package/dist/components/badge/index.d.ts.map +1 -0
  18. package/dist/components/callout/callout.d.ts +24 -0
  19. package/dist/components/callout/callout.d.ts.map +1 -0
  20. package/dist/components/callout/callout.js +46 -46
  21. package/dist/components/callout/index.d.ts +3 -0
  22. package/dist/components/callout/index.d.ts.map +1 -0
  23. package/dist/components/card/card.d.ts +30 -0
  24. package/dist/components/card/card.d.ts.map +1 -0
  25. package/dist/components/card/card.js +72 -72
  26. package/dist/components/card/index.d.ts +3 -0
  27. package/dist/components/card/index.d.ts.map +1 -0
  28. package/dist/components/code-block/base-code-block.d.ts +9 -0
  29. package/dist/components/code-block/base-code-block.d.ts.map +1 -0
  30. package/dist/components/code-block/code-block.d.ts +74 -0
  31. package/dist/components/code-block/code-block.d.ts.map +1 -0
  32. package/dist/components/code-block/code-block.js +34 -34
  33. package/dist/components/code-block/code-footer.d.ts +8 -0
  34. package/dist/components/code-block/code-footer.d.ts.map +1 -0
  35. package/dist/components/code-block/code-footer.js +9 -9
  36. package/dist/components/code-block/code-header.d.ts +11 -0
  37. package/dist/components/code-block/code-header.d.ts.map +1 -0
  38. package/dist/components/code-block/code-header.js +20 -20
  39. package/dist/components/code-block/copy-button.d.ts +16 -0
  40. package/dist/components/code-block/copy-button.d.ts.map +1 -0
  41. package/dist/components/code-block/index.d.ts +5 -0
  42. package/dist/components/code-block/index.d.ts.map +1 -0
  43. package/dist/components/code-block/story-utils.d.ts +13 -0
  44. package/dist/components/code-block/story-utils.d.ts.map +1 -0
  45. package/dist/components/code-group/code-group.d.ts +23 -0
  46. package/dist/components/code-group/code-group.d.ts.map +1 -0
  47. package/dist/components/code-group/code-group.js +72 -72
  48. package/dist/components/code-group/code-select-dropdown.d.ts +10 -0
  49. package/dist/components/code-group/code-select-dropdown.d.ts.map +1 -0
  50. package/dist/components/code-group/code-snippet.d.ts +13 -0
  51. package/dist/components/code-group/code-snippet.d.ts.map +1 -0
  52. package/dist/components/code-group/dropdown.d.ts +34 -0
  53. package/dist/components/code-group/dropdown.d.ts.map +1 -0
  54. package/dist/components/code-group/dropdown.js +47 -47
  55. package/dist/components/code-group/index.d.ts +3 -0
  56. package/dist/components/code-group/index.d.ts.map +1 -0
  57. package/dist/components/code-group/language-dropdown.d.ts +10 -0
  58. package/dist/components/code-group/language-dropdown.d.ts.map +1 -0
  59. package/dist/components/code-group/language-dropdown.js +39 -39
  60. package/dist/components/code-group/language-icon.d.ts +7 -0
  61. package/dist/components/code-group/language-icon.d.ts.map +1 -0
  62. package/dist/components/color/color.d.ts +28 -0
  63. package/dist/components/color/color.d.ts.map +1 -0
  64. package/dist/components/color/color.js +37 -37
  65. package/dist/components/color/constants.d.ts +5 -0
  66. package/dist/components/color/constants.d.ts.map +1 -0
  67. package/dist/components/color/index.d.ts +4 -0
  68. package/dist/components/color/index.d.ts.map +1 -0
  69. package/dist/components/columns/columns.d.ts +11 -0
  70. package/dist/components/columns/columns.d.ts.map +1 -0
  71. package/dist/components/columns/constants.d.ts +5 -0
  72. package/dist/components/columns/constants.d.ts.map +1 -0
  73. package/dist/components/columns/index.d.ts +3 -0
  74. package/dist/components/columns/index.d.ts.map +1 -0
  75. package/dist/components/expandable/expandable.d.ts +21 -0
  76. package/dist/components/expandable/expandable.d.ts.map +1 -0
  77. package/dist/components/expandable/expandable.js +46 -46
  78. package/dist/components/expandable/index.d.ts +3 -0
  79. package/dist/components/expandable/index.d.ts.map +1 -0
  80. package/dist/components/frame/frame.d.ts +14 -0
  81. package/dist/components/frame/frame.d.ts.map +1 -0
  82. package/dist/components/frame/frame.js +21 -21
  83. package/dist/components/frame/index.d.ts +3 -0
  84. package/dist/components/frame/index.d.ts.map +1 -0
  85. package/dist/components/icon/icon.d.ts +19 -0
  86. package/dist/components/icon/icon.d.ts.map +1 -0
  87. package/dist/components/icon/icon.js +24 -24
  88. package/dist/components/icon/index.d.ts +3 -0
  89. package/dist/components/icon/index.d.ts.map +1 -0
  90. package/dist/components/index.d.ts +22 -0
  91. package/dist/components/index.d.ts.map +1 -0
  92. package/dist/components/mermaid/index.d.ts +7 -0
  93. package/dist/components/mermaid/index.d.ts.map +1 -0
  94. package/dist/components/mermaid/mermaid.d.ts +12 -0
  95. package/dist/components/mermaid/mermaid.d.ts.map +1 -0
  96. package/dist/components/mermaid/use-pan-zoom.d.ts +13 -0
  97. package/dist/components/mermaid/use-pan-zoom.d.ts.map +1 -0
  98. package/dist/components/mermaid/zoom-controls.d.ts +13 -0
  99. package/dist/components/mermaid/zoom-controls.d.ts.map +1 -0
  100. package/dist/components/mermaid/zoom-controls.js +32 -32
  101. package/dist/components/panel/index.d.ts +3 -0
  102. package/dist/components/panel/index.d.ts.map +1 -0
  103. package/dist/components/panel/panel.d.ts +6 -0
  104. package/dist/components/panel/panel.d.ts.map +1 -0
  105. package/dist/components/property/index.d.ts +3 -0
  106. package/dist/components/property/index.d.ts.map +1 -0
  107. package/dist/components/property/param-head.d.ts +5 -0
  108. package/dist/components/property/param-head.d.ts.map +1 -0
  109. package/dist/components/property/param-head.js +40 -40
  110. package/dist/components/property/pills.d.ts +15 -0
  111. package/dist/components/property/pills.d.ts.map +1 -0
  112. package/dist/components/property/pills.js +13 -13
  113. package/dist/components/property/property.d.ts +24 -0
  114. package/dist/components/property/property.d.ts.map +1 -0
  115. package/dist/components/property/property.js +33 -33
  116. package/dist/components/steps/constants.d.ts +5 -0
  117. package/dist/components/steps/constants.d.ts.map +1 -0
  118. package/dist/components/steps/index.d.ts +5 -0
  119. package/dist/components/steps/index.d.ts.map +1 -0
  120. package/dist/components/steps/steps.d.ts +27 -0
  121. package/dist/components/steps/steps.d.ts.map +1 -0
  122. package/dist/components/steps/steps.js +24 -24
  123. package/dist/components/tabs/index.d.ts +3 -0
  124. package/dist/components/tabs/index.d.ts.map +1 -0
  125. package/dist/components/tabs/tabs.d.ts +36 -0
  126. package/dist/components/tabs/tabs.d.ts.map +1 -0
  127. package/dist/components/tabs/tabs.js +59 -59
  128. package/dist/components/tile/index.d.ts +3 -0
  129. package/dist/components/tile/index.d.ts.map +1 -0
  130. package/dist/components/tile/tile.d.ts +11 -0
  131. package/dist/components/tile/tile.d.ts.map +1 -0
  132. package/dist/components/tile/tile.js +27 -27
  133. package/dist/components/tooltip/index.d.ts +3 -0
  134. package/dist/components/tooltip/index.d.ts.map +1 -0
  135. package/dist/components/tooltip/tooltip.d.ts +13 -0
  136. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  137. package/dist/components/tooltip/tooltip.js +35 -35
  138. package/dist/components/tree/context.d.ts +9 -0
  139. package/dist/components/tree/context.d.ts.map +1 -0
  140. package/dist/components/tree/file.d.ts +7 -0
  141. package/dist/components/tree/file.d.ts.map +1 -0
  142. package/dist/components/tree/file.js +9 -9
  143. package/dist/components/tree/folder.d.ts +11 -0
  144. package/dist/components/tree/folder.d.ts.map +1 -0
  145. package/dist/components/tree/folder.js +21 -21
  146. package/dist/components/tree/index.d.ts +9 -0
  147. package/dist/components/tree/index.d.ts.map +1 -0
  148. package/dist/components/tree/root.d.ts +9 -0
  149. package/dist/components/tree/root.d.ts.map +1 -0
  150. package/dist/components/tree/tree-level-context.d.ts +8 -0
  151. package/dist/components/tree/tree-level-context.d.ts.map +1 -0
  152. package/dist/components/tree/use-tree-level.d.ts +3 -0
  153. package/dist/components/tree/use-tree-level.d.ts.map +1 -0
  154. package/dist/components/tree/utils.d.ts +9 -0
  155. package/dist/components/tree/utils.d.ts.map +1 -0
  156. package/dist/components/update/index.d.ts +3 -0
  157. package/dist/components/update/index.d.ts.map +1 -0
  158. package/dist/components/update/update.d.ts +22 -0
  159. package/dist/components/update/update.d.ts.map +1 -0
  160. package/dist/components/update/update.js +21 -21
  161. package/dist/components/view/index.d.ts +3 -0
  162. package/dist/components/view/index.d.ts.map +1 -0
  163. package/dist/components/view/view.d.ts +12 -0
  164. package/dist/components/view/view.d.ts.map +1 -0
  165. package/dist/constants/brands.d.ts +3 -0
  166. package/dist/constants/brands.d.ts.map +1 -0
  167. package/dist/constants/index.d.ts +7 -0
  168. package/dist/constants/index.d.ts.map +1 -0
  169. package/dist/constants/selectors.d.ts +126 -0
  170. package/dist/constants/selectors.d.ts.map +1 -0
  171. package/dist/hooks/index.d.ts +2 -0
  172. package/dist/hooks/index.d.ts.map +1 -0
  173. package/dist/hooks/use-expandable-memory.d.ts +8 -0
  174. package/dist/hooks/use-expandable-memory.d.ts.map +1 -0
  175. package/dist/hooks/use-expandable.d.ts +13 -0
  176. package/dist/hooks/use-expandable.d.ts.map +1 -0
  177. package/dist/hooks/use-get-shiki-highlighted-html.d.ts +4 -0
  178. package/dist/hooks/use-get-shiki-highlighted-html.d.ts.map +1 -0
  179. package/dist/hooks/use-has-hover.d.ts +3 -0
  180. package/dist/hooks/use-has-hover.d.ts.map +1 -0
  181. package/dist/hooks/use-is-dark-theme.d.ts +5 -0
  182. package/dist/hooks/use-is-dark-theme.d.ts.map +1 -0
  183. package/dist/hooks/use-isomorphic-layout-effect.d.ts +4 -0
  184. package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +1 -0
  185. package/dist/icons/index.d.ts +21 -0
  186. package/dist/icons/index.d.ts.map +1 -0
  187. package/dist/icons/index.js +2 -2
  188. package/dist/index.d.ts +3 -565
  189. package/dist/index.d.ts.map +1 -0
  190. package/dist/plugins/bg-grid.d.ts +3 -0
  191. package/dist/plugins/bg-grid.d.ts.map +1 -0
  192. package/dist/plugins/scrollbar.d.ts +3 -0
  193. package/dist/plugins/scrollbar.d.ts.map +1 -0
  194. package/dist/styles.css +2 -0
  195. package/dist/utils/cn.d.ts +4 -0
  196. package/dist/utils/cn.d.ts.map +1 -0
  197. package/dist/utils/copy-to-clipboard.d.ts +5 -0
  198. package/dist/utils/copy-to-clipboard.d.ts.map +1 -0
  199. package/dist/utils/enhance-video-props.d.ts +4 -0
  200. package/dist/utils/enhance-video-props.d.ts.map +1 -0
  201. package/dist/utils/get-node-text.d.ts +3 -0
  202. package/dist/utils/get-node-text.d.ts.map +1 -0
  203. package/dist/utils/icon-utils.d.ts +19 -0
  204. package/dist/utils/icon-utils.d.ts.map +1 -0
  205. package/dist/utils/is-absolute-url.d.ts +5 -0
  206. package/dist/utils/is-absolute-url.d.ts.map +1 -0
  207. package/dist/utils/is-remote-url.d.ts +3 -0
  208. package/dist/utils/is-remote-url.d.ts.map +1 -0
  209. package/dist/utils/render-as-child.d.ts +4 -0
  210. package/dist/utils/render-as-child.d.ts.map +1 -0
  211. package/dist/utils/shiki/code-styling.d.ts +12 -0
  212. package/dist/utils/shiki/code-styling.d.ts.map +1 -0
  213. package/dist/utils/shiki/constants.d.ts +23 -0
  214. package/dist/utils/shiki/constants.d.ts.map +1 -0
  215. package/dist/utils/shiki/get-code-styling.d.ts +10 -0
  216. package/dist/utils/shiki/get-code-styling.d.ts.map +1 -0
  217. package/dist/utils/shiki/get-shiki-background-colors.d.ts +21 -0
  218. package/dist/utils/shiki/get-shiki-background-colors.d.ts.map +1 -0
  219. package/dist/utils/shiki/index.d.ts +31 -0
  220. package/dist/utils/shiki/index.d.ts.map +1 -0
  221. package/dist/utils/shiki/lib.d.ts +6 -0
  222. package/dist/utils/shiki/lib.d.ts.map +1 -0
  223. package/dist/utils/shiki/shiki-themes.d.ts +3 -0
  224. package/dist/utils/shiki/shiki-themes.d.ts.map +1 -0
  225. package/dist/utils/shiki/snippet-presets.d.ts +28 -0
  226. package/dist/utils/shiki/snippet-presets.d.ts.map +1 -0
  227. package/dist/utils/shiki/worker-client.d.ts +10 -0
  228. package/dist/utils/shiki/worker-client.d.ts.map +1 -0
  229. package/dist/utils/slugify.d.ts +3 -0
  230. package/dist/utils/slugify.d.ts.map +1 -0
  231. package/package.json +4 -2
@@ -1,112 +1,112 @@
1
- import { jsx as r, jsxs as p, Fragment as N } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as p, Fragment as y } from "react/jsx-runtime";
2
2
  import { Classes as j } from "../../constants/selectors.js";
3
3
  import { ArrowRightIcon as C } from "../../icons/index.js";
4
- import { cn as a } from "../../utils/cn.js";
4
+ import { cn as o } from "../../utils/cn.js";
5
5
  import { isRemoteUrl as I } from "../../utils/is-remote-url.js";
6
6
  import A from "../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js";
7
7
  import { Icon as R } from "../icon/icon.js";
8
8
  const L = ({
9
- title: o,
10
- icon: e,
9
+ title: a,
10
+ icon: r,
11
11
  iconType: n,
12
- iconLibrary: g,
12
+ iconLibrary: h,
13
13
  color: d,
14
- horizontal: i,
15
- href: h,
16
- img: f,
17
- children: x,
18
- disabled: c,
19
- cta: s,
14
+ horizontal: s,
15
+ href: f,
16
+ img: x,
17
+ children: g,
18
+ disabled: i,
19
+ cta: c,
20
20
  arrow: t,
21
21
  as: v,
22
22
  className: l
23
23
  }) => {
24
- const y = typeof e == "string" ? /* @__PURE__ */ r(
24
+ const b = typeof r == "string" ? /* @__PURE__ */ e(
25
25
  R,
26
26
  {
27
27
  className: "m-0! size-6 shrink-0",
28
28
  color: d,
29
- icon: e,
30
- iconLibrary: g,
29
+ icon: r,
30
+ iconLibrary: h,
31
31
  iconType: n,
32
32
  overrideColor: !!d
33
33
  }
34
- ) : e, m = c ? void 0 : h;
35
- return /* @__PURE__ */ r(
34
+ ) : r, m = i ? void 0 : f;
35
+ return /* @__PURE__ */ e(
36
36
  z,
37
37
  {
38
38
  arrow: t,
39
39
  as: v,
40
- className: a(
40
+ className: o(
41
41
  m && "hover:border-primary! dark:hover:border-primary-light!",
42
42
  l
43
43
  ),
44
- cta: s,
45
- disabled: c,
46
- horizontal: i,
44
+ cta: c,
45
+ disabled: i,
46
+ horizontal: s,
47
47
  href: m,
48
- icon: y,
49
- img: f,
50
- title: o,
51
- children: x
48
+ icon: b,
49
+ img: x,
50
+ title: a,
51
+ children: g
52
52
  }
53
53
  );
54
54
  }, z = ({
55
- title: o,
56
- icon: e,
55
+ title: a,
56
+ icon: r,
57
57
  img: n,
58
- className: g,
58
+ className: h,
59
59
  children: d,
60
- horizontal: i,
61
- arrow: h,
62
- as: f,
63
- mRef: x,
64
- cta: c,
65
- disabled: s,
60
+ horizontal: s,
61
+ arrow: f,
62
+ as: x,
63
+ mRef: g,
64
+ cta: i,
65
+ disabled: c,
66
66
  ...t
67
67
  }) => {
68
- var b;
69
- const v = s ? "div" : f || (t.href !== void 0 ? "a" : "div"), l = I(t.href ?? ""), y = l ? { target: "_blank", rel: "noreferrer" } : {}, m = h ?? l, u = typeof e == "string", k = n ? ((b = n.match(/\/([^/]+)\.[^.]+$/)) == null ? void 0 : b[1]) ?? "" : "", w = /* @__PURE__ */ r(N, { children: e ? (
68
+ var u;
69
+ const v = c ? "div" : x || (t.href !== void 0 ? "a" : "div"), l = I(t.href ?? ""), b = l ? { target: "_blank", rel: "noreferrer" } : {}, m = f ?? l, k = typeof r == "string", w = n ? ((u = n.match(/\/([^/]+)\.[^.]+$/)) == null ? void 0 : u[1]) ?? "" : "", N = /* @__PURE__ */ e(y, { children: r ? (
70
70
  // biome-ignore lint/style/noNestedTernary: TODO
71
- u ? (
71
+ k ? (
72
72
  // biome-ignore lint/correctness/useImageSize: TODO
73
- /* @__PURE__ */ r(
73
+ /* @__PURE__ */ e(
74
74
  "img",
75
75
  {
76
- alt: o,
76
+ alt: a,
77
77
  className: "size-6 object-cover object-center",
78
78
  "data-component-part": "card-icon",
79
- src: e
79
+ src: r
80
80
  }
81
81
  )
82
- ) : /* @__PURE__ */ r(
82
+ ) : /* @__PURE__ */ e(
83
83
  "div",
84
84
  {
85
- className: "size-6 fill-gray-800 text-gray-800 dark:fill-gray-100 dark:text-gray-100",
85
+ className: "size-6 fill-stone-800 text-stone-800 dark:fill-stone-100 dark:text-stone-100",
86
86
  "data-component-part": "card-icon",
87
- children: e
87
+ children: r
88
88
  }
89
89
  )
90
90
  ) : null });
91
91
  return /* @__PURE__ */ p(
92
92
  v,
93
93
  {
94
- className: a(
94
+ className: o(
95
95
  j.Card,
96
- "group relative my-2 block w-full overflow-hidden rounded-2xl border border-gray-950/10 bg-white font-normal ring-2 ring-transparent dark:border-white/10 dark:bg-background-dark",
96
+ "group relative my-2 block w-full overflow-hidden rounded-2xl border border-stone-950/10 bg-white font-normal ring-2 ring-transparent dark:border-white/10 dark:bg-background-dark",
97
97
  t.href && "cursor-pointer",
98
98
  t.href && "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary dark:focus-visible:ring-primary-light",
99
- g
99
+ h
100
100
  ),
101
- ...y,
101
+ ...b,
102
102
  ...t,
103
- ref: x,
103
+ ref: g,
104
104
  children: [
105
105
  n && // biome-ignore lint/correctness/useImageSize: TODO
106
- /* @__PURE__ */ r(
106
+ /* @__PURE__ */ e(
107
107
  "img",
108
108
  {
109
- alt: k,
109
+ alt: w,
110
110
  className: "not-prose w-full object-cover object-center",
111
111
  "data-component-part": "card-image",
112
112
  src: n
@@ -115,61 +115,61 @@ const L = ({
115
115
  /* @__PURE__ */ p(
116
116
  "div",
117
117
  {
118
- className: a(
118
+ className: o(
119
119
  "relative px-6 py-5",
120
- i && "flex items-center gap-x-4"
120
+ s && "flex items-center gap-x-4"
121
121
  ),
122
122
  "data-component-part": "card-content-container",
123
123
  children: [
124
- t.href && /* @__PURE__ */ r(
124
+ t.href && /* @__PURE__ */ e(
125
125
  "div",
126
126
  {
127
127
  "aria-hidden": "true",
128
- className: a(
129
- "absolute top-5 right-5 text-gray-400 group-hover:text-primary dark:text-gray-500 dark:group-hover:text-primary-light",
128
+ className: o(
129
+ "absolute top-5 right-5 text-stone-400 group-hover:text-primary dark:text-stone-500 dark:group-hover:text-primary-light",
130
130
  !m && "hidden"
131
131
  ),
132
132
  "data-component-part": "card-arrow",
133
- children: /* @__PURE__ */ r(A, { className: "size-4" })
133
+ children: /* @__PURE__ */ e(A, { className: "size-4" })
134
134
  }
135
135
  ),
136
- w,
136
+ N,
137
137
  /* @__PURE__ */ p("div", { className: "min-w-0 flex-1", children: [
138
- o && /* @__PURE__ */ r(
138
+ a && /* @__PURE__ */ e(
139
139
  "h2",
140
140
  {
141
- className: a(
142
- "not-prose wrap-break-word font-semibold text-base text-gray-800 dark:text-white",
143
- e != null && !i && "mt-4"
141
+ className: o(
142
+ "not-prose wrap-break-word font-semibold text-base text-stone-800 dark:text-white",
143
+ r != null && !s && "mt-4"
144
144
  ),
145
145
  contentEditable: !1,
146
146
  "data-component-part": "card-title",
147
- children: o
147
+ children: a
148
148
  }
149
149
  ),
150
- /* @__PURE__ */ r(
150
+ /* @__PURE__ */ e(
151
151
  "div",
152
152
  {
153
- className: a(
153
+ className: o(
154
154
  "prose wrap-break-word mt-1 font-normal text-base leading-6",
155
- o ? "text-gray-600 dark:text-gray-400" : "text-gray-700 dark:text-gray-300",
156
- i && "mt-0 leading-6"
155
+ a ? "text-stone-600 dark:text-stone-400" : "text-stone-700 dark:text-stone-300",
156
+ s && "mt-0 leading-6"
157
157
  ),
158
158
  "data-component-part": "card-content",
159
159
  children: d
160
160
  }
161
161
  ),
162
- c && /* @__PURE__ */ r("div", { className: "mt-8", "data-component-part": "card-cta", children: /* @__PURE__ */ p(
162
+ i && /* @__PURE__ */ e("div", { className: "mt-8", "data-component-part": "card-cta", children: /* @__PURE__ */ p(
163
163
  "span",
164
164
  {
165
- className: a(
166
- "flex flex-row items-center gap-2 text-left font-medium text-gray-600 text-sm dark:text-gray-400",
167
- !s && "group-hover:text-primary group-hover:dark:text-primary-light",
168
- s && "opacity-50"
165
+ className: o(
166
+ "flex flex-row items-center gap-2 text-left font-medium text-sm text-stone-600 dark:text-stone-400",
167
+ !c && "group-hover:text-primary group-hover:dark:text-primary-light",
168
+ c && "opacity-50"
169
169
  ),
170
170
  children: [
171
- c,
172
- /* @__PURE__ */ r(C, { className: "h-6" })
171
+ i,
172
+ /* @__PURE__ */ e(C, { className: "h-6" })
173
173
  ]
174
174
  }
175
175
  ) })
@@ -0,0 +1,3 @@
1
+ export type { CardComponentProps, CardIconProps, CardProps, CardPropsBase, } from './card';
2
+ export { Card } from './card';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,aAAa,GACd,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { CodeBlockProps } from './code-block';
2
+ interface BaseCodeBlockProps extends CodeBlockProps {
3
+ isParentCodeGroup?: boolean;
4
+ shouldHighlight?: boolean;
5
+ forceExtract?: boolean;
6
+ }
7
+ declare const BaseCodeBlock: ({ expandable, shouldHighlight, children, isParentCodeGroup, isSmallText, numberOfLines, forceExtract, codeBlockTheme, codeBlockThemeObject, ...props }: BaseCodeBlockProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { type BaseCodeBlockProps, BaseCodeBlock };
9
+ //# sourceMappingURL=base-code-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-code-block.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/base-code-block.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,UAAU,kBAAmB,SAAQ,cAAc;IACjD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,aAAa,GAAI,wJAYpB,kBAAkB,4CA6KpB,CAAC;AAEF,OAAO,EAAE,KAAK,kBAAkB,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,74 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { CodeBlockTheme, CodeStyling } from '../../utils/shiki/code-styling';
3
+ import { CopyToClipboardButtonProps } from './copy-button';
4
+ type CodeBlockProps = {
5
+ language?: string;
6
+ filename?: string;
7
+ icon?: string;
8
+ lang?: string;
9
+ className?: string;
10
+ /**
11
+ * Whether to show line numbers.
12
+ */
13
+ lines?: boolean;
14
+ /**
15
+ * Whether to wrap the code block.
16
+ */
17
+ wrap?: boolean;
18
+ /**
19
+ * Whether to expand the code block.
20
+ */
21
+ expandable?: boolean;
22
+ /**
23
+ * The lines to highlight. it's a stringified array of numbers.
24
+ * Example: "[1,3,4,5]"
25
+ */
26
+ highlight?: string;
27
+ /**
28
+ * The lines to focus on. it's a stringified array of numbers.
29
+ * Example: "[1,3,4,5]"
30
+ */
31
+ focus?: string;
32
+ /**
33
+ * Internal prop to set the number of lines in the code block.
34
+ * Users should not set this prop.
35
+ */
36
+ numberOfLines?: number;
37
+ /**
38
+ * Prop to hide the ask ai button
39
+ */
40
+ hideAskAiButton?: boolean;
41
+ /**
42
+ * Prop to set the small text size
43
+ */
44
+ isSmallText?: boolean;
45
+ /**
46
+ * Pass in from CodeSnippetFeedbackProvider
47
+ */
48
+ feedbackModalOpen?: boolean;
49
+ /**
50
+ * Pass in from CodeSnippetFeedbackProvider
51
+ */
52
+ anchorRef?: RefObject<HTMLDivElement>;
53
+ /**
54
+ * Prop to set the code block theme (code block UI theme)
55
+ */
56
+ codeBlockTheme?: CodeBlockTheme;
57
+ /**
58
+ * Prop to set the code block theme object (syntax highlighting theme)
59
+ */
60
+ codeBlockThemeObject?: CodeStyling;
61
+ /**
62
+ * Pass in AskAiCodeBlockButton component
63
+ */
64
+ askAiButton?: ReactNode;
65
+ /**
66
+ * Pass in CodeSnippetFeedbackButton component
67
+ */
68
+ feedbackButton?: ReactNode;
69
+ children?: ReactNode;
70
+ copyButtonProps?: CopyToClipboardButtonProps;
71
+ };
72
+ declare const CodeBlock: (params: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
73
+ export { type CodeBlockProps, CodeBlock };
74
+ //# sourceMappingURL=code-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/code-block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlD,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAI9E,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,eAAe,CAAC;AAEvB,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,eAAe,CAAC,EAAE,0BAA0B,CAAC;CAC9C,CAAC;AAEF,QAAA,MAAM,SAAS,GAAsB,QAAQ,cAAc,4CA0E1D,CAAC;AAEF,OAAO,EAAE,KAAK,cAAc,EAAE,SAAS,EAAE,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
- import { Classes as u } from "../../constants/selectors.js";
3
- import { cn as B } from "../../utils/cn.js";
4
- import { getNodeText as x } from "../../utils/get-node-text.js";
5
- import { BaseCodeBlock as C } from "./base-code-block.js";
2
+ import { Classes as B } from "../../constants/selectors.js";
3
+ import { cn as x } from "../../utils/cn.js";
4
+ import { getNodeText as C } from "../../utils/get-node-text.js";
5
+ import { BaseCodeBlock as y } from "./base-code-block.js";
6
6
  import { CodeHeader as w } from "./code-header.js";
7
7
  import { CopyToClipboardButton as k } from "./copy-button.js";
8
8
  const H = function(d) {
@@ -10,27 +10,27 @@ const H = function(d) {
10
10
  filename: n,
11
11
  children: m,
12
12
  className: p,
13
- icon: i,
14
- isSmallText: g,
15
- hideAskAiButton: b,
16
- feedbackModalOpen: h,
13
+ icon: s,
14
+ isSmallText: b,
15
+ hideAskAiButton: h,
16
+ feedbackModalOpen: g,
17
17
  anchorRef: f,
18
- codeBlockTheme: r = "system",
19
- codeBlockThemeObject: y,
20
- askAiButton: o,
21
- feedbackButton: e,
22
- copyButtonProps: s
23
- } = d, c = x(m), l = !!n || !!i;
18
+ codeBlockTheme: o = "system",
19
+ codeBlockThemeObject: u,
20
+ askAiButton: e,
21
+ feedbackButton: r,
22
+ copyButtonProps: i
23
+ } = d, c = C(m), l = !!n || !!s;
24
24
  return /* @__PURE__ */ t(
25
25
  "div",
26
26
  {
27
- className: B(
28
- u.CodeBlock,
27
+ className: x(
28
+ B.CodeBlock,
29
29
  "not-prose group relative mt-5 mb-8 rounded-2xl",
30
- r === "system" && "codeblock-light dark:twoslash-dark border border-gray-950/10 bg-gray-50 text-gray-950 dark:border-white/10 dark:bg-white/5 dark:text-gray-50",
31
- r === "dark" && "codeblock-dark twoslash-dark dark:twoslash-dark bg-codeblock text-gray-50 ring-1 ring-transparent dark:bg-white/5 dark:ring-white/[0.14]",
30
+ o === "system" && "codeblock-light dark:twoslash-dark border border-stone-950/10 bg-stone-50 text-stone-950 dark:border-white/10 dark:bg-white/5 dark:text-stone-50",
31
+ o === "dark" && "codeblock-dark twoslash-dark dark:twoslash-dark bg-codeblock text-stone-50 ring-1 ring-transparent dark:bg-white/5 dark:ring-white/[0.14]",
32
32
  l ? "p-0.5" : "bg-transparent dark:bg-transparent",
33
- h && "border border-primary dark:border-primary-light",
33
+ g && "border border-primary dark:border-primary-light",
34
34
  p
35
35
  ),
36
36
  ref: f,
@@ -38,20 +38,20 @@ const H = function(d) {
38
38
  l ? /* @__PURE__ */ t(
39
39
  w,
40
40
  {
41
- codeBlockTheme: r,
41
+ codeBlockTheme: o,
42
42
  filename: n,
43
- icon: i,
43
+ icon: s,
44
44
  children: [
45
- e && e,
45
+ r && r,
46
46
  /* @__PURE__ */ a(
47
47
  k,
48
48
  {
49
- codeBlockTheme: r,
49
+ codeBlockTheme: o,
50
50
  textToCopy: c,
51
- ...s
51
+ ...i
52
52
  }
53
53
  ),
54
- o && o
54
+ e && e
55
55
  ]
56
56
  }
57
57
  ) : /* @__PURE__ */ t(
@@ -60,26 +60,26 @@ const H = function(d) {
60
60
  className: "absolute top-3 right-4 flex items-center gap-1.5",
61
61
  "data-floating-buttons": !0,
62
62
  children: [
63
- e && e,
63
+ r && r,
64
64
  /* @__PURE__ */ a(
65
65
  k,
66
66
  {
67
- codeBlockTheme: r,
67
+ codeBlockTheme: o,
68
68
  textToCopy: c,
69
- ...s
69
+ ...i
70
70
  }
71
71
  ),
72
- o && o
72
+ e && e
73
73
  ]
74
74
  }
75
75
  ),
76
76
  /* @__PURE__ */ a(
77
- C,
77
+ y,
78
78
  {
79
- codeBlockTheme: r,
80
- codeBlockThemeObject: y,
81
- hideAskAiButton: b,
82
- isSmallText: g,
79
+ codeBlockTheme: o,
80
+ codeBlockThemeObject: u,
81
+ hideAskAiButton: h,
82
+ isSmallText: b,
83
83
  ...d
84
84
  }
85
85
  )
@@ -0,0 +1,8 @@
1
+ type CodeFooterProps = {
2
+ numberOfLines: number | undefined;
3
+ isExpanded: boolean;
4
+ toggleExpanded: () => void;
5
+ };
6
+ declare const CodeFooter: ({ numberOfLines, isExpanded, toggleExpanded, }: CodeFooterProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export { type CodeFooterProps, CodeFooter };
8
+ //# sourceMappingURL=code-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-footer.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/code-footer.tsx"],"names":[],"mappings":"AAEA,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,gDAIjB,eAAe,mDAuBjB,CAAC;AAEF,OAAO,EAAE,KAAK,eAAe,EAAE,UAAU,EAAE,CAAC"}
@@ -1,23 +1,23 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import l from "../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/ellipsis.js";
3
- const n = ({
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import n from "../../node_modules/.pnpm/lucide-react@0.453.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/ellipsis.js";
3
+ const c = ({
4
4
  numberOfLines: t,
5
5
  isExpanded: o,
6
- toggleExpanded: r
6
+ toggleExpanded: s
7
7
  }) => t ? /* @__PURE__ */ e(
8
8
  "div",
9
9
  {
10
- className: "flex items-center px-3 py-1 font-medium text-gray-500 text-xs hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300",
10
+ className: "flex items-center px-3 py-1 font-medium text-stone-500 text-xs hover:text-stone-600 dark:text-stone-400 dark:hover:text-stone-300",
11
11
  "data-component-part": "code-block-footer",
12
- children: /* @__PURE__ */ a(
12
+ children: /* @__PURE__ */ r(
13
13
  "button",
14
14
  {
15
15
  className: "flex flex-1 items-center gap-1.5 py-1.5",
16
16
  "data-component-part": "code-block-footer-button",
17
- onClick: r,
17
+ onClick: s,
18
18
  type: "button",
19
19
  children: [
20
- /* @__PURE__ */ e(l, { className: "size-3.5 shrink-0 text-gray-500 dark:text-gray-400" }),
20
+ /* @__PURE__ */ e(n, { className: "size-3.5 shrink-0 text-stone-500 dark:text-stone-400" }),
21
21
  o ? "Collapse" : `See all ${t} line${t === 1 ? "" : "s"}`
22
22
  ]
23
23
  }
@@ -25,5 +25,5 @@ const n = ({
25
25
  }
26
26
  ) : null;
27
27
  export {
28
- n as CodeFooter
28
+ c as CodeFooter
29
29
  };
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ import { CodeBlockTheme } from '../../utils/shiki/code-styling';
3
+ type CodeHeaderProps = {
4
+ filename?: string;
5
+ icon?: string;
6
+ codeBlockTheme?: CodeBlockTheme;
7
+ children?: ReactNode;
8
+ };
9
+ declare const CodeHeader: ({ filename, icon, codeBlockTheme, children, }: CodeHeaderProps) => import("react/jsx-runtime").JSX.Element;
10
+ export { type CodeHeaderProps, CodeHeader };
11
+ //# sourceMappingURL=code-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-header.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/code-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,+CAKjB,eAAe,4CAiCjB,CAAC;AAEF,OAAO,EAAE,KAAK,eAAe,EAAE,UAAU,EAAE,CAAC"}
@@ -1,44 +1,44 @@
1
- import { jsxs as r, jsx as a } from "react/jsx-runtime";
2
- import { Classes as l } from "../../constants/selectors.js";
3
- import { cn as t } from "../../utils/cn.js";
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { Classes as d } from "../../constants/selectors.js";
3
+ import { cn as s } from "../../utils/cn.js";
4
4
  import { Icon as m } from "../icon/icon.js";
5
5
  const x = ({
6
- filename: o,
7
- icon: e,
8
- codeBlockTheme: d = "system",
9
- children: s
10
- }) => /* @__PURE__ */ r(
6
+ filename: t,
7
+ icon: r,
8
+ codeBlockTheme: a = "system",
9
+ children: n
10
+ }) => /* @__PURE__ */ o(
11
11
  "div",
12
12
  {
13
- className: "flex rounded-t-[14px] py-1 pr-2.5 pl-4 font-medium text-gray-400 text-xs leading-6",
13
+ className: "flex rounded-t-[14px] py-1 pr-2.5 pl-4 font-medium text-stone-400 text-xs leading-6",
14
14
  "data-component-part": "code-block-header",
15
15
  children: [
16
- /* @__PURE__ */ r(
16
+ /* @__PURE__ */ o(
17
17
  "div",
18
18
  {
19
- className: t(
20
- "flex flex-none items-center gap-1.5 text-gray-700 dark:text-gray-300",
21
- d === "dark" && "text-gray-300"
19
+ className: s(
20
+ "flex min-w-0 grow-0 items-center gap-1.5 text-stone-700 dark:text-stone-300",
21
+ a === "dark" && "text-stone-300"
22
22
  ),
23
23
  "data-component-part": "code-block-header-filename",
24
24
  children: [
25
- e && /* @__PURE__ */ a(
25
+ r && /* @__PURE__ */ e(
26
26
  m,
27
27
  {
28
- className: t(
29
- "size-3.5 bg-gray-500 dark:bg-gray-400",
30
- l.CodeBlockIcon
28
+ className: s(
29
+ "size-3.5 shrink-0 bg-stone-500 dark:bg-stone-400",
30
+ d.CodeBlockIcon
31
31
  ),
32
- icon: e,
32
+ icon: r,
33
33
  iconType: "regular",
34
34
  overrideColor: !0
35
35
  }
36
36
  ),
37
- o
37
+ !!t && /* @__PURE__ */ e("span", { className: "mr-2 min-w-0 truncate", children: t })
38
38
  ]
39
39
  }
40
40
  ),
41
- /* @__PURE__ */ a("div", { className: "flex flex-1 items-center justify-end gap-1.5", children: s })
41
+ /* @__PURE__ */ e("div", { className: "flex flex-1 items-center justify-end gap-1.5", children: n })
42
42
  ]
43
43
  }
44
44
  );
@@ -0,0 +1,16 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { CopyToClipboardResult } from '../../utils/copy-to-clipboard';
3
+ import { CodeBlockTheme } from '../../utils/shiki/code-styling';
4
+ type CopyToClipboardButtonProps = {
5
+ textToCopy: string;
6
+ onCopied?: (result: CopyToClipboardResult, textToCopy?: string) => void;
7
+ className?: string;
8
+ showTooltip?: boolean;
9
+ codeBlockTheme?: CodeBlockTheme;
10
+ copyButtonAriaLabel?: string;
11
+ tooltipCopyText?: string;
12
+ tooltipCopiedText?: string;
13
+ };
14
+ declare const CopyToClipboardButton: ({ textToCopy, onCopied, className, showTooltip, codeBlockTheme, copyButtonAriaLabel, tooltipCopyText, tooltipCopiedText, ...buttonProps }: CopyToClipboardButtonProps & ComponentPropsWithoutRef<"button">) => import("react/jsx-runtime").JSX.Element | null;
15
+ export { type CopyToClipboardButtonProps, CopyToClipboardButton };
16
+ //# sourceMappingURL=copy-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/copy-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAuB,MAAM,OAAO,CAAC;AAG3E,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAMjE,KAAK,0BAA0B,GAAG;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,qBAAqB,GAAI,2IAU5B,0BAA0B,GAAG,wBAAwB,CAAC,QAAQ,CAAC,mDA+DjE,CAAC;AAEF,OAAO,EAAE,KAAK,0BAA0B,EAAE,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type { BaseCodeBlockProps } from './base-code-block';
2
+ export { BaseCodeBlock } from './base-code-block';
3
+ export type { CodeBlockProps } from './code-block';
4
+ export { CodeBlock } from './code-block';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/index.tsx"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}