Skip to content

Commit

Permalink
Merge pull request #2415 from coingaming/develop
Browse files Browse the repository at this point in the history
Deploy 10.9.0
  • Loading branch information
dkireev authored Oct 3, 2023
2 parents 645a649 + 4e44393 commit 6f77539
Show file tree
Hide file tree
Showing 149 changed files with 3,830 additions and 3,780 deletions.
13 changes: 13 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# docs

## 10.9.0

### Minor Changes

- Flip coku/gohan colours

### Patch Changes

- Updated dependencies
- @heathmont/moon-cmdk-tw@10.9.0
- @heathmont/moon-core-tw@10.9.0
- @heathmont/moon-base-tw@10.9.0

## 10.8.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "10.8.0",
"version": "10.9.0",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -11,9 +11,9 @@
"lint": "next lint"
},
"dependencies": {
"@heathmont/moon-base-tw": "workspace:^10.8.0",
"@heathmont/moon-cmdk-tw": "workspace:^10.8.0",
"@heathmont/moon-core-tw": "workspace:^10.8.0",
"@heathmont/moon-base-tw": "workspace:^10.9.0",
"@heathmont/moon-cmdk-tw": "workspace:^10.9.0",
"@heathmont/moon-core-tw": "workspace:^10.9.0",
"@heathmont/moon-icons-tw": "9.28.4",
"@types/node": "20.4.9",
"@types/react": "18.2.19",
Expand Down
14 changes: 14 additions & 0 deletions next-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## 10.9.0

### Minor Changes

- Flip coku/gohan colours

### Patch Changes

- Updated dependencies
- @heathmont/moon-themes-tw@10.9.0
- @heathmont/moon-cmdk-tw@10.9.0
- @heathmont/moon-core-tw@10.9.0
- @heathmont/moon-table-tw@10.9.0

## 10.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/ComponentAnatomy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ComponentAnatomy: React.FC<{ children?: React.ReactNode }> = ({
children,
}) => (
<PageSection title="Anatomy">
<pre className="flex w-full p-4 bg-goku rounded-moon-s-sm overflow-scroll text-moon-14 text-bulma">
<pre className="flex w-full p-4 bg-gohan rounded-moon-s-sm overflow-scroll text-moon-14 text-bulma">
{children}
</pre>
</PageSection>
Expand Down
4 changes: 2 additions & 2 deletions next-docs/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Layout = ({ children, title }: Props) => {
<Head>
<title>{title ? `${SITE_TITLE} | ${title}` : SITE_TITLE}</title>
</Head>
<div className="layout bg-goku text-bulma flex">
<div className="layout bg-gohan text-bulma flex">
{/* Dynamic sidebar with transition for mobile */}
<Drawer open={isSidebarOpen} setOpen={setSidebarOpen}>
<Drawer.Panel position="start" className="w-80">
Expand All @@ -34,7 +34,7 @@ const Layout = ({ children, title }: Props) => {
<aside className="hidden fixed z-10 h-screen lg:flex lg:flex-shrink-0 flex-col">
<Sidebar />
</aside>
<div className="min-h-screen lg:ms-80 bg-gohan flex-1 w-0 flex flex-col lg:rounded-ss-3xl px-5 xl:px-20 2xl:px-32 lg:pt-12 xl:pb-52">
<div className="min-h-screen lg:ms-80 bg-goku flex-1 w-0 flex flex-col lg:rounded-ss-3xl px-5 xl:px-20 2xl:px-32 lg:pt-12 xl:pb-52">
<div className="flex flex-col grow max-w-screen-xl">
{/* Opens sidebar on mobile */}
<Header openSidebar={openSidebar} />
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/ManifestCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ManifestCard: React.FC<Props> = ({
<div
className={mergeClassnames(
'theme-moon-light flex flex-col gap-4 py-6 px-8 rounded-moon-s-lg',
isHighlighted ? 'bg-frieza text-goten' : 'bg-goku text-bulma'
isHighlighted ? 'bg-frieza text-goten' : 'bg-gohan text-bulma'
)}
>
<h3 className="text-moon-24 font-medium">{title}</h3>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/PropsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const PropsTable = ({ data, title }: TableProps) => (
</thead>
<tbody>
{data.map((prop: Data) => (
<tr key={prop.name} className="bg-goku">
<tr key={prop.name} className="bg-gohan">
<td className="px-3 py-2 whitespace-nowrap text-moon-14 rounded-s-lg">
{prop.name}
</td>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Settings = () => {
aria-label="Toggle site settings"
/>
</Popover.Trigger>
<Popover.Panel className="flex flex-col gap-1 p-3 bg-gohan">
<Popover.Panel className="flex flex-col gap-1 p-3">
{isLocalhost && <BrandSwitcher />}
<MenuItem as="div" className="cursor-default">
{isDarkThemeEnabled ? 'Dark mode' : 'Light mode'}
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/TokenTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const TokenTable = ({ data, title }: TokenTableProps) => (
</thead>
<tbody>
{data.map((prop: Data) => (
<tr key={prop.className} className="bg-goku">
<tr key={prop.className} className="bg-gohan">
<td className="px-3 py-2 whitespace-nowrap text-moon-14 rounded-s-lg">
{prop.name}
</td>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/codePreview/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Preview = ({ title, description, preview, code, className }: Props) => {
{isPreviewActive ? (
<div
className={mergeClassnames(
'flex flex-wrap items-center justify-around p-4 gap-2 w-full bg-goku text-moon-14',
'flex flex-wrap items-center justify-around p-4 gap-2 w-full bg-gohan text-moon-14',
'rounded-moon-s-sm',
className
)}
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/facing/CardArticle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const CardArcticle: React.FC<Props> = ({
target="_blank"
rel="noreferrer"
className={mergeClassnames(
`group relative w-72 h-96 flex flex-col justify-end p-6 bg-goku rounded-moon-s-lg text-moon-16 font-medium`,
`group relative w-72 h-96 flex flex-col justify-end p-6 bg-gohan rounded-moon-s-lg text-moon-16 font-medium`,
variant && variant in variants ? variants[variant] : variants.default
)}
>
Expand Down
10 changes: 4 additions & 6 deletions next-docs/components/search/RenderResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ const RenderResults = ({
}
}}
>
<MenuItem onClick={() => item.perform()} className="hover:bg-goku">
<MenuItem.Title>{item.name}</MenuItem.Title>
{item.section && (
<span className="text-moon-14 text-piccolo">{item.section}</span>
)}
</MenuItem>
<span className="text-moon-14">{item.name}</span>
{item.section && (
<span className="text-moon-14 text-piccolo">{item.section}</span>
)}
</SearchCmdk.ResultItem>
))}
</SearchCmdk.Result>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import getComponent from '../getComponent';
import SearchButton from '../search/SearchButton';

const Sidebar = ({ closeSidebar }: { closeSidebar?: () => void }) => (
<div className="z-10 fixed top-0 h-screen w-80 flex flex-col flex-grow gap-6 pt-12 pb-28 lg:pb-20 px-5 lg:px-8 bg-goku overflow-y-scroll">
<div className="z-10 fixed top-0 h-screen w-80 flex flex-col flex-grow gap-6 pt-12 pb-28 lg:pb-20 px-5 lg:px-8 bg-gohan overflow-y-scroll">
<div className="flex items-center flex-shrink-0 ps-3 text-bulma">
<LogoLink onClick={() => closeSidebar && closeSidebar()} />
</div>
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.8.0",
"version": "10.9.0",
"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.8.0",
"@heathmont/moon-cmdk-tw": "workspace:^10.9.0",
"@heathmont/moon-core": "workspace:^10.7.1",
"@heathmont/moon-core-tw": "workspace:^10.8.0",
"@heathmont/moon-core-tw": "workspace:^10.9.0",
"@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.8.0",
"@heathmont/moon-table-tw": "workspace:^10.9.0",
"@heathmont/moon-themes": "workspace:^10.7.1",
"@heathmont/moon-themes-tw": "workspace:^10.8.0",
"@heathmont/moon-themes-tw": "workspace:^10.9.0",
"@heathmont/moon-utils": "workspace:^10.7.1",
"@heathmont/moon-icons-tw": "9.28.5",
"@hookform/resolvers": "3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion next-docs/pages/components/iconButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ReactNode } from 'react';
import Preview from '../../components/codePreview/Preview';
import ComponentPageDescription from '../../components/ComponentPageDescription';
import type { ComponentNames } from '../../components/getComponent';
import Layout from '../../components/Layout';
import PropsTable from '../../components/PropsTable';
import Animations from '../../public/examples/iconButton/Animations';
Expand All @@ -10,7 +11,6 @@ import Disabled from '../../public/examples/iconButton/Disabled';
import Sizes from '../../public/examples/iconButton/Sizes';
import Variants from '../../public/examples/iconButton/Variants';
import useComponent from '../../utils/useComponent';
import type { ComponentNames } from '../../components/getComponent';

const COMPONENT_NAME: ComponentNames = 'IconButton';

Expand Down
4 changes: 2 additions & 2 deletions next-docs/pages/components/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ReactNode } from 'react';
import Preview from '../../components/codePreview/Preview';
import ComponentAnatomy from '../../components/ComponentAnatomy';
import ComponentPageDescription from '../../components/ComponentPageDescription';
import type { ComponentNames } from '../../components/getComponent';
import Layout from '../../components/Layout';
import PropsTable from '../../components/PropsTable';
import Default from '../../public/examples/tabs/Default';
Expand All @@ -12,7 +13,6 @@ import Sizes from '../../public/examples/tabs/Sizes';
import WithCustomStyles from '../../public/examples/tabs/WithCustomStyles';
import WithHandler from '../../public/examples/tabs/WithHandler';
import useComponent from '../../utils/useComponent';
import type { ComponentNames } from '../../components/getComponent';

const COMPONENT_NAME: ComponentNames = 'Tabs';

Expand Down Expand Up @@ -84,7 +84,7 @@ const PageTabs = () => {
title="Segment control view"
preview={<Segment />}
code={examples ? examples.Segment : 'Loading'}
className="bg-gohan border border-beerus"
className="bg-goku border border-beerus"
/>
<Preview
title="Sizes"
Expand Down
Loading

0 comments on commit 6f77539

Please sign in to comment.