@atom63/mdx 0.4.0-beta.0 → 0.4.0-beta.2
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.
- package/LICENSE +6 -0
- package/dist/article/index.js +3 -3
- package/dist/blocks/index.js +1 -1
- package/dist/{chunk-EIY6ZR6T.js → chunk-3FJTASAW.js} +4 -4
- package/dist/{chunk-EIY6ZR6T.js.map → chunk-3FJTASAW.js.map} +1 -1
- package/dist/{chunk-CSXZ2XEN.js → chunk-DYCKBZGD.js} +3 -3
- package/dist/{chunk-CSXZ2XEN.js.map → chunk-DYCKBZGD.js.map} +1 -1
- package/dist/index.js +3 -3
- package/package.json +5 -5
- package/src/blocks/doc-example/doc-example.css +3 -4
- package/src/blocks/image-compare/image-compare.css +12 -0
- package/src/blocks/mermaid-diagram/mermaid-diagram.css +8 -3
- package/src/blocks/page-table-of-contents/page-table-of-contents.css +5 -4
package/LICENSE
CHANGED
|
@@ -19,3 +19,9 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
The MIT license above covers the code and documentation in this repository. It does not grant
|
|
26
|
+
any right to use the ATOM63 name, the ATOM63 logo or other ATOM63 brand marks, including the
|
|
27
|
+
artwork in packages/brand. All rights to them are reserved.
|
package/dist/article/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { mdxComponents, MDXContentProvider } from '../chunk-
|
|
2
|
-
export { blockMdxComponents, useMdxStyle } from '../chunk-
|
|
3
|
-
export { useIsInsideExample } from '../chunk-
|
|
1
|
+
import { mdxComponents, MDXContentProvider } from '../chunk-DYCKBZGD.js';
|
|
2
|
+
export { blockMdxComponents, useMdxStyle } from '../chunk-DYCKBZGD.js';
|
|
3
|
+
export { useIsInsideExample } from '../chunk-3FJTASAW.js';
|
|
4
4
|
import '../chunk-WZ6US342.js';
|
|
5
5
|
import '../chunk-DJSENA7Q.js';
|
|
6
6
|
import '../chunk-2RCEDZBB.js';
|
package/dist/blocks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, Callout, CodeBlock, ColorSwatchItem, Compare, ComparisonPair, DemoConfigPanel, DemoStage, DocExample, DocExampleCode, ExampleContainer, FigureBlock, ImageCompare, KeyIdea, LayerStack, MdxPageSkeleton, MediaPlaceholder, MermaidDiagram, PageMeta, PageTableOfContents, ResourceList, ScrollStage, StatCard, StatGrid, Steps, Tabs, Timeline, VideoBlock, defaultMermaidDiagramLabels, portableBlockNames } from '../chunk-
|
|
1
|
+
export { Accordion, Callout, CodeBlock, ColorSwatchItem, Compare, ComparisonPair, DemoConfigPanel, DemoStage, DocExample, DocExampleCode, ExampleContainer, FigureBlock, ImageCompare, KeyIdea, LayerStack, MdxPageSkeleton, MediaPlaceholder, MermaidDiagram, PageMeta, PageTableOfContents, ResourceList, ScrollStage, StatCard, StatGrid, Steps, Tabs, Timeline, VideoBlock, defaultMermaidDiagramLabels, portableBlockNames } from '../chunk-3FJTASAW.js';
|
|
2
2
|
import '../chunk-WZ6US342.js';
|
|
3
3
|
export { CreditsBlock } from '../chunk-DJSENA7Q.js';
|
|
4
4
|
export { MediaCaption } from '../chunk-2RCEDZBB.js';
|
|
@@ -1634,7 +1634,7 @@ function MermaidDiagram({ animated = false, chart, labels, title }) {
|
|
|
1634
1634
|
/* @__PURE__ */ jsx(
|
|
1635
1635
|
"div",
|
|
1636
1636
|
{
|
|
1637
|
-
className: `mdx-mermaid-stage relative min-h-80 overflow-hidden
|
|
1637
|
+
className: `mdx-mermaid-stage relative min-h-80 overflow-hidden select-none ${canPan ? isDragging ? "cursor-grabbing" : "cursor-grab" : ""}`,
|
|
1638
1638
|
onPointerCancel: stopDragging,
|
|
1639
1639
|
onPointerDown: handlePointerDown,
|
|
1640
1640
|
onPointerMove: handlePointerMove,
|
|
@@ -1737,7 +1737,7 @@ function buildTocItems(headings) {
|
|
|
1737
1737
|
function getLinkClass(item, variant) {
|
|
1738
1738
|
const compactList = variant === "embedded" || variant === "inline";
|
|
1739
1739
|
return clsx(
|
|
1740
|
-
"mdx-toc-link relative
|
|
1740
|
+
"mdx-toc-link relative transition-colors duration-150",
|
|
1741
1741
|
compactList && "mdx-toc-link-inline flex min-h-8 items-center px-2 py-1.5 text-sm",
|
|
1742
1742
|
variant === "rail" && "mdx-toc-link-rail block py-px pe-2 text-[0.8125rem] leading-[1.0625rem]",
|
|
1743
1743
|
compactList && item.depth === 3 && "ps-5",
|
|
@@ -2467,5 +2467,5 @@ var portableBlockNames = [
|
|
|
2467
2467
|
];
|
|
2468
2468
|
|
|
2469
2469
|
export { Accordion, Callout, CodeBlock, ColorSwatchItem, Compare, ComparisonPair, ComparisonProvider, DemoConfigPanel, DemoStage, DocExample, DocExampleCode, ExampleContainer, ExampleContext, FigureBlock, ImageCompare, KeyIdea, LayerStack, MdxPageSkeleton, MediaPlaceholder, MermaidDiagram, PageMeta, PageTableOfContents, ResourceList, ScrollStage, StatCard, StatGrid, Steps, Tabs, Timeline, VideoBlock, defaultMermaidDiagramLabels, portableBlockNames, useComparisonContext, useIsInsideExample };
|
|
2470
|
-
//# sourceMappingURL=chunk-
|
|
2471
|
-
//# sourceMappingURL=chunk-
|
|
2470
|
+
//# sourceMappingURL=chunk-3FJTASAW.js.map
|
|
2471
|
+
//# sourceMappingURL=chunk-3FJTASAW.js.map
|