Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy 10.10.4 #2467

Merged
merged 3 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# docs

## 10.10.4

### Patch Changes

- Deploy 10.10.4
- Updated dependencies
- @heathmont/[email protected]
- @heathmont/[email protected]
- @heathmont/[email protected]
- @heathmont/[email protected]

## 10.10.3

### Patch Changes
Expand Down
3 changes: 3 additions & 0 deletions docs/app/components/server/tabs/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tabs to allow users to navigate easily between views within the same context.

Each tab should contain content that is distinct from other tabs in a set for example, tabs can present different sections of news, different genres of music, or different themes of documents.
16 changes: 16 additions & 0 deletions docs/app/components/server/tabs/examples/Default.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import Tabs from '@heathmont/moon-base-tw/lib/tabs/Tabs';

export const Default = () => (
<Tabs>
<Tabs.List>
<Tabs.Tab href="#1">Tab 1</Tabs.Tab>
<Tabs.Tab href="#2">Tab 2</Tabs.Tab>
<Tabs.Tab href="#3">Tab 3</Tabs.Tab>
</Tabs.List>
<Tabs.Panels className="h-10">
<Tabs.Panel id="1">1</Tabs.Panel>
<Tabs.Panel id="2">2</Tabs.Panel>
<Tabs.Panel id="3">3</Tabs.Panel>
</Tabs.Panels>
</Tabs>
);
22 changes: 22 additions & 0 deletions docs/app/components/server/tabs/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Default } from '@/app/components/server/tabs/examples/Default';
import ExampleSection from '@/app/components/shared/ExampleSection';
import QuickNav from '@/app/components/shared/QuickNav';
import { getExamples } from '@/app/utils/getExamples';
import { MDX } from '@/components/MDX';

export default async function Tabs() {
const { server } = await getExamples();
const examplesList = Object.keys(server.tabs.examples);
return (
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14">
<h1 className="font-medium text-moon-32">Tabs</h1>
<MDX markdown={server.tabs.description} />
<QuickNav items={examplesList} />
<ExampleSection
title="Default"
component={<Default />}
code={server.tabs.examples.Default}
/>
</div>
);
}
34 changes: 16 additions & 18 deletions docs/app/components/server/tag/page.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
import { Default } from "@/app/components/server/tag/examples/Default";
import { getExamples } from "@/app/utils/getExamples";
import { MDX } from "@/components/MDX";
import { Default } from '@/app/components/server/tag/examples/Default';
import ExampleSection from '@/app/components/shared/ExampleSection';
import QuickNav from '@/app/components/shared/QuickNav';
import { getExamples } from '@/app/utils/getExamples';
import { MDX } from '@/components/MDX';

export default async function Home() {
export default async function Tag() {
const { server } = await getExamples();

const examplesList = Object.keys(server.tag.examples);
return (
<div className="flex flex-col gap-4 text-moon-14">
<h1>Tag</h1>

<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14">
<h1 className="font-medium text-moon-32">Tag</h1>
<MDX markdown={server.tag.description} />

<div className="space-y-2">
<h2>Default</h2>
<div className={'flex flex-wrap items-center justify-around p-4 gap-2 w-full bg-goku rounded-moon-s-sm'}>
<Default />
</div>
<pre className="bg-goku rounded-moon-s-sm p-4">{server.tag.examples.Default}</pre>
</div>
<QuickNav items={examplesList} />
<ExampleSection
title="Default"
component={<Default />}
code={server.tag.examples.Default}
/>
</div>
)
);
}

6 changes: 6 additions & 0 deletions docs/app/components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ export interface Examples {
Default: 'string';
};
};
tabs: {
description: 'string';
examples: {
Default: 'string';
};
};
tag: {
description: 'string';
examples: {
Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "10.10.3",
"version": "10.10.4",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -11,11 +11,11 @@
"lint": "next lint"
},
"dependencies": {
"@heathmont/moon-base-tw": "workspace:^10.10.3",
"@heathmont/moon-cmdk-tw": "workspace:^10.10.3",
"@heathmont/moon-core-tw": "workspace:^10.10.3",
"@heathmont/moon-base-tw": "workspace:^10.10.4",
"@heathmont/moon-cmdk-tw": "workspace:^10.10.4",
"@heathmont/moon-core-tw": "workspace:^10.10.4",
"@heathmont/moon-icons-tw": "9.28.6",
"@heathmont/moon-themes-tw": "workspace:^10.10.3",
"@heathmont/moon-themes-tw": "workspace:^10.10.4",
"@types/node": "20.4.9",
"@types/react": "18.2.19",
"@types/react-dom": "18.2.7",
Expand Down
11 changes: 11 additions & 0 deletions next-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 10.10.4

### Patch Changes

- Deploy 10.10.4
- Updated dependencies
- @heathmont/[email protected]
- @heathmont/[email protected]
- @heathmont/[email protected]
- @heathmont/[email protected]

## 10.10.3

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions next-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-docs",
"version": "10.10.3",
"version": "10.10.4",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -19,9 +19,9 @@
"@heathmont/moon-assets": "workspace:^10.7.1",
"@heathmont/moon-charts": "workspace:^10.7.1",
"@heathmont/moon-components": "workspace:^10.7.1",
"@heathmont/moon-cmdk-tw": "workspace:^10.10.3",
"@heathmont/moon-cmdk-tw": "workspace:^10.10.4",
"@heathmont/moon-core": "workspace:^10.7.1",
"@heathmont/moon-core-tw": "workspace:^10.10.3",
"@heathmont/moon-core-tw": "workspace:^10.10.4",
"@heathmont/moon-datepicker": "workspace:^10.7.1",
"@heathmont/moon-draggabletable": "workspace:^10.7.1",
"@heathmont/moon-icons": "workspace:^10.7.1",
Expand All @@ -30,9 +30,9 @@
"@heathmont/moon-select": "workspace:^10.7.1",
"@heathmont/moon-sidebar": "workspace:^10.7.1",
"@heathmont/moon-table": "workspace:^10.7.1",
"@heathmont/moon-table-tw": "workspace:^10.10.3",
"@heathmont/moon-table-tw": "workspace:^10.10.4",
"@heathmont/moon-themes": "workspace:^10.7.1",
"@heathmont/moon-themes-tw": "workspace:^10.10.3",
"@heathmont/moon-themes-tw": "workspace:^10.10.4",
"@heathmont/moon-utils": "workspace:^10.7.1",
"@heathmont/moon-icons-tw": "9.28.6",
"@hookform/resolvers": "3.2.0",
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions workspaces/base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @heathmont/moon-base-tw

## 10.10.4

### Patch Changes

- Deploy 10.10.4

## 10.10.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion workspaces/base/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@heathmont/moon-base-tw",
"sideEffects": false,
"version": "10.10.3",
"version": "10.10.4",
"files": [
"lib"
],
Expand Down
Loading