Skip to content

Commit

Permalink
Test out new DDS release
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing committed Oct 11, 2023
1 parent 0e972cf commit 8f828e8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
Binary file modified bun.lockb
Binary file not shown.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"dependencies": {
"@astrojs/react": "^3.0.3",
"@astrojs/starlight": "^0.11.0",
"@interledger/docs-design-system": "0.0.14",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"astro": "^3.2.3",
"@interledger/docs-design-system": "^0.1.0",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"astro": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark-mermaidjs": "^6.0.0",
Expand Down
17 changes: 16 additions & 1 deletion src/content/docs/components/disclosure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Disclosure
import { Disclosure } from "@interledger/docs-design-system";
import { Tabs, TabItem } from "@astrojs/starlight/components";

Use this component if you have some content that you want to show/hide via a collapsible container. This component wraps around whatever content you wish to have this expand/collapse behaviour. Note that the `client:load` attribute is required for the functionality to work because this component relies on state.
Use this component if you have some content that you want to show/hide via a collapsible container. This component wraps around whatever content you wish to have this expand/collapse behaviour. Note that the `client:load` attribute is required for the functionality to work because this component uses Javascript for interactivity.

To use it, your docs page must be in `.mdx` format. Please change the format from `.md` to `.mdx` if necessary. All your existing markdown will still be supported without issue.

Expand Down Expand Up @@ -86,5 +86,20 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'
```
</TabItem>

<TabItem label='TypeScript'>
<Disclosure toggleText='Clone Open Payments snippets repo' client:load>

1. Open Terminal.
2. Change the current working directory to where you want to clone repo.
3. Type `git clone`.
4. Paste the following URL, then press _Enter_.
```http
https://github.com/interledger/open-payments-snippets
```

</Disclosure>

</TabItem>

</Tabs>
</Disclosure>
2 changes: 1 addition & 1 deletion src/content/docs/components/mermaidwrapper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: MermaidWrapper

import { MermaidWrapper } from "@interledger/docs-design-system";

Use this component if your Mermaid diagram is much larger than our available space and you would like users to view the full diagram in another tab. This adds "View full diagram" button with an external link indicator on the bottom right corner under the diagram. Note that the `client:load` attribute is required for the functionality to work because this component relies on state.
Use this component if your Mermaid diagram is much larger than our available space and you would like users to view the full diagram in another tab. This adds "View full diagram" button with an external link indicator on the bottom right corner under the diagram. Note that the `client:load` attribute is required for the functionality to work because this component uses Javascript for interactivity.

To use it, your docs page must be in `.mdx` format. Please change the format from `.md` to `.mdx` if necessary. All your existing markdown will still be supported without issue.

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/components/tooltip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Tooltip

import { Tooltip } from "@interledger/docs-design-system";

Use the tooltip component for adding a short explanation to specific terms. This component is built to be accessible in accordance to the guidance from [WAI Tooltip Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/). Note that the `client:load` attribute is required for the functionality to work because this component relies on state.
Use the tooltip component for adding a short explanation to specific terms. This component is built to be accessible in accordance to the guidance from [WAI Tooltip Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/). Note that the `client:load` attribute is required for the functionality to work because this component uses Javascript for interactivity.

To use it, your docs page must be in `.mdx` format. Please change the format from `.md` to `.mdx` if necessary. All your existing markdown will still be supported without issue.

Expand Down

0 comments on commit 8f828e8

Please sign in to comment.