Skip to content

Commit e13de1c

Browse files
Version Packages (#692)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c1433aa commit e13de1c

5 files changed

+61
-66
lines changed

.changeset/chilled-foxes-jog.md

-5
This file was deleted.

.changeset/forty-knives-remember.md

-37
This file was deleted.

.changeset/soft-scissors-pretend.md

-23
This file was deleted.

CHANGELOG.md

+60
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
# scoobie
22

3+
## 17.1.0
4+
5+
### Minor Changes
6+
7+
- **CodeBlock:** Add `initialIndex` prop ([#690](https://github.com/seek-oss/scoobie/pull/690))
8+
9+
- **MdxProvider:** Add `default` code block directive ([#690](https://github.com/seek-oss/scoobie/pull/690))
10+
11+
This supports use cases like providing successive GraphQL operation samples where argument differences are the focal point:
12+
13+
````markdown
14+
Permutation 1:
15+
16+
```graphql
17+
mutation ($input: Input!) {
18+
do(input: $input)
19+
}
20+
```
21+
22+
```json default
23+
{
24+
"input": 1
25+
}
26+
```
27+
28+
Permutation 2:
29+
30+
```graphql
31+
mutation ($input: Input!) {
32+
do(input: $input)
33+
}
34+
```
35+
36+
```json default
37+
{
38+
"input": 2
39+
}
40+
```
41+
````
42+
43+
- Add support for Mermaid overrides ([#693](https://github.com/seek-oss/scoobie/pull/693))
44+
45+
Some Mermaid diagrams allow for YAML frontmatter. Scoobie has extended this by allowing a deep merge of the Mermaid configuration
46+
with a special `overrides` key in the frontmatter. This could be useful for diagram-specific configuration that is not otherwise easy to set.
47+
48+
````markdown
49+
```mermaid
50+
---
51+
overrides:
52+
gantt:
53+
useWidth: 500
54+
---
55+
gantt
56+
title A Gantt Diagram
57+
dateFormat YYYY-MM-DD
58+
section Section
59+
A task :a1, 2014-01-01, 30d
60+
```
61+
````
62+
363
## 17.0.0
464

565
### Major Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"main": "src/index.ts",
66
"sideEffects": false,
7-
"version": "17.0.0",
7+
"version": "17.1.0",
88
"dependencies": {
99
"@capsizecss/core": "^4.0.0",
1010
"@mdx-js/react": "^1.6.22",

0 commit comments

Comments
 (0)