-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2463 from coingaming/develop
Deploy 10.10.3
- Loading branch information
Showing
81 changed files
with
69,651 additions
and
42,128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import Checkbox from '@heathmont/moon-base-tw/lib/checkbox/Checkbox'; | ||
|
||
export const Default = () => <Checkbox />; | ||
|
||
export default Default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Chips help filter content, or trigger actions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Chip from '@heathmont/moon-base-tw/lib/chip/Chip'; | ||
|
||
export const Default = () => <Chip>Default</Chip>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Default } from '@/app/components/server/chip/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 Chip() { | ||
const { server } = await getExamples(); | ||
const examplesList = Object.keys(server.chip.examples); | ||
return ( | ||
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14"> | ||
<h1 className="font-medium text-moon-32">Chip</h1> | ||
<MDX markdown={server.chip.description} /> | ||
<QuickNav items={examplesList} /> | ||
<ExampleSection | ||
title="Default" | ||
component={<Default />} | ||
code={server.chip.examples.Default} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Text input fields allow users to enter text and can be used to collect user feedback or enter information in data entry forms. | ||
|
||
These types of input fields are used on their own, or in combination with other inputs such as number entry, date picker, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Input from '@heathmont/moon-base-tw/lib/input/Input'; | ||
|
||
export const Default = () => <Input aria-label="default" />; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Default } from '@/app/components/server/input/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 Input() { | ||
const { server } = await getExamples(); | ||
const examplesList = Object.keys(server.input.examples); | ||
return ( | ||
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14"> | ||
<h1 className="font-medium text-moon-32">Input</h1> | ||
<MDX markdown={server.input.description} /> | ||
<QuickNav items={examplesList} /> | ||
<ExampleSection | ||
title="Default" | ||
component={<Default />} | ||
code={server.input.examples.Default} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Loaders provide a visual cue that an action is processing awaiting a course of change or a result. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Loader from '@heathmont/moon-base-tw/lib/loader/Loader'; | ||
|
||
export const Default = () => <Loader />; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Default } from '@/app/components/server/loader/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 Loader() { | ||
const { server } = await getExamples(); | ||
const examplesList = Object.keys(server.loader.examples); | ||
return ( | ||
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14"> | ||
<h1 className="font-medium text-moon-32">Loader</h1> | ||
<MDX markdown={server.loader.description} /> | ||
<QuickNav items={examplesList} /> | ||
<ExampleSection | ||
title="Default" | ||
component={<Default />} | ||
code={server.loader.examples.Default} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
A form input used for selecting a value: when collapsed it shows the currently selected option and when expanded, it shows a scrollable list of predefined options for the user to choose from. | ||
|
||
When collapsed it shows the currently selected option and when expanded, it shows a scrollable list of predefined options for the user to choose from. Moon.io supports two types of selects, one whichs opens browser's native styling option list and Dropdown. |
10 changes: 10 additions & 0 deletions
10
docs/app/components/server/nativeSelect/examples/Default.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import NativeSelect from '@heathmont/moon-base-tw/lib/nativeSelect/NativeSelect'; | ||
|
||
export const Default = () => ( | ||
<NativeSelect> | ||
<option value="Italy">Italy</option> | ||
<option value="Spain">Spain</option> | ||
<option value="China">China</option> | ||
<option value="Germany">Germany</option> | ||
</NativeSelect> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Default } from '@/app/components/server/nativeSelect/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 NativeSelect() { | ||
const { server } = await getExamples(); | ||
const examplesList = Object.keys(server.nativeSelect.examples); | ||
return ( | ||
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14"> | ||
<h1 className="font-medium text-moon-32">NativeSelect</h1> | ||
<MDX markdown={server.nativeSelect.description} /> | ||
<QuickNav items={examplesList} /> | ||
<ExampleSection | ||
title="Default" | ||
component={<Default />} | ||
code={server.nativeSelect.examples.Default} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Pagination is the process of splitting information over multiple pages instead of showing it all on a single page. | ||
|
||
Also the name for the interface component used for navigating between these pages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import Pagination from '@heathmont/moon-base-tw/lib/pagination/Pagination'; | ||
|
||
export const Default = () => ( | ||
<Pagination> | ||
<Pagination.PrevButton>Previous</Pagination.PrevButton> | ||
<Pagination.Pages currentPage={5} totalPages={11} /> | ||
<Pagination.NextButton>Next</Pagination.NextButton> | ||
</Pagination> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Default } from '@/app/components/server/pagination/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 Pagination() { | ||
const { server } = await getExamples(); | ||
const examplesList = Object.keys(server.pagination.examples); | ||
return ( | ||
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14"> | ||
<h1 className="font-medium text-moon-32">Pagination</h1> | ||
<MDX markdown={server.pagination.description} /> | ||
<QuickNav items={examplesList} /> | ||
<ExampleSection | ||
title="Default" | ||
component={<Default />} | ||
code={server.pagination.examples.Default} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A component for displaying large amounts of data in rows and columns. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import Table from '@heathmont/moon-base-tw/lib/table/Table'; | ||
|
||
export const Default = () => ( | ||
<Table> | ||
<Table.Head> | ||
<Table.Row> | ||
<Table.Header>Header 1</Table.Header> | ||
<Table.Header>Header 2</Table.Header> | ||
<Table.Header>Header 3</Table.Header> | ||
</Table.Row> | ||
</Table.Head> | ||
<Table.Body> | ||
<Table.Row> | ||
<Table.Cell>Cell 1</Table.Cell> | ||
<Table.Cell>Cell 2</Table.Cell> | ||
<Table.Cell>Cell 3</Table.Cell> | ||
</Table.Row> | ||
<Table.Row> | ||
<Table.Cell>Cell 1</Table.Cell> | ||
<Table.Cell>Cell 2</Table.Cell> | ||
<Table.Cell>Cell 3</Table.Cell> | ||
</Table.Row> | ||
</Table.Body> | ||
</Table> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Default } from '@/app/components/server/table/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 Table() { | ||
const { server } = await getExamples(); | ||
const examplesList = Object.keys(server.table.examples); | ||
return ( | ||
<div className="w-full max-w-7xl flex flex-col gap-4 text-moon-14"> | ||
<h1 className="font-medium text-moon-32">Table</h1> | ||
<MDX markdown={server.table.description} /> | ||
<QuickNav items={examplesList} /> | ||
<ExampleSection | ||
title="Default" | ||
component={<Default />} | ||
code={server.table.examples.Default} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.