Skip to content

Commit

Permalink
Merge pull request #2375 from coingaming/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dkireev authored Sep 20, 2023
2 parents 8c4244d + 8881341 commit b7fe02c
Show file tree
Hide file tree
Showing 74 changed files with 625 additions and 707 deletions.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
"changelog": "@changesets/cli/changelog",
"commit": false,
"linked": [],
"fixed": [
[
"@heathmont/moon-base-tw",
"@heathmont/moon-cmdk-tw",
"@heathmont/moon-core-tw",
"@heathmont/moon-table-tw",
"@heathmont/moon-themes-tw",
"next-docs",
"docs"
]
],
"access": "restricted",
"baseBranch": "master",
"updateInternalDependencies": "patch",
Expand Down
9 changes: 9 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# docs

## 10.7.3

### Patch Changes

- Deploy 10.7.3
- Updated dependencies
- @heathmont/moon-core-tw@10.7.3
- @heathmont/moon-base-tw@10.7.3

## 0.5.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.5.2",
"version": "10.7.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@heathmont/moon-base-tw": "workspace:^10.7.2",
"@heathmont/moon-core-tw": "workspace:^10.7.2",
"@heathmont/moon-base-tw": "workspace:^10.7.3",
"@heathmont/moon-core-tw": "workspace:^10.7.3",
"@heathmont/moon-icons-tw": "9.28.4",
"@types/node": "20.4.9",
"@types/react": "18.2.19",
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.7.3

### Patch Changes

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

## 10.7.2

### Patch Changes
Expand Down
24 changes: 13 additions & 11 deletions next-docs/components/brandSwitcher/BrandSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@ const BrandSwitcher = () => {
};
return (
<>
{THEMES.map((item, index) => (
<MenuItem
key={index}
role="radio"
isSelected={theme === item}
onClick={useCallback(() => handleClick(item), [item])}
>
<MenuItem.Title>{item}</MenuItem.Title>
<MenuItem.Radio />
</MenuItem>
))}
<div className="max-h-72 over overflow-auto">
{THEMES.map((item, index) => (
<MenuItem
key={index}
role="radio"
isSelected={theme === item}
onClick={useCallback(() => handleClick(item), [item])}
>
<MenuItem.Title>{item}</MenuItem.Title>
<MenuItem.Radio />
</MenuItem>
))}
</div>
<div className="h-px bg-beerus -mx-3" />
</>
);
Expand Down
2 changes: 1 addition & 1 deletion next-docs/components/codePreview/PreviewSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PreviewSwitch = ({
{!isPreviewActive && (
<IconButton
icon={<FilesCopy className="text-moon-24" />}
variant="secondary"
variant="outline"
onClick={copyCode}
size="lg"
aria-label="Copy code"
Expand Down
8 changes: 4 additions & 4 deletions next-docs/components/facing/ForDesigners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ const ForDesigners = () => (
href="https://www.figma.com/community/file/1002945721703152933"
target="_blank"
rel="noreferrer"
variant="secondary"
variant="outline"
>
Figma
</Button>
<Link href="/gettingStarted" passHref legacyBehavior>
<Button as="a" variant="secondary">
<Button as="a" variant="outline">
Getting Started
</Button>
</Link>
<Link href="/typography" passHref legacyBehavior>
<Button as="a" variant="secondary">
<Button as="a" variant="outline">
Typography
</Button>
</Link>
<Link href="/colours" passHref legacyBehavior>
<Button as="a" variant="secondary">
<Button as="a" variant="outline">
Colour Convention
</Button>
</Link>
Expand Down
12 changes: 6 additions & 6 deletions next-docs/components/facing/ForDevelopers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ const ForDevelopers = () => {
href="https://github.com/coingaming/moon-design"
target="_blank"
rel="noreferrer"
variant="secondary"
variant="outline"
>
Github
</Button>
<Link href="/gettingStarted" passHref legacyBehavior>
<Button as="a" variant="secondary">
<Button as="a" variant="outline">
Getting Started
</Button>
</Link>
<Link href="/tokens" passHref legacyBehavior>
<Button as="a" variant="secondary">
<Button as="a" variant="outline">
Design Tokens
</Button>
</Link>
Expand All @@ -58,7 +58,7 @@ const ForDevelopers = () => {
href="https://github.com/coingaming/moon-design/blob/develop/packages/themes/src/moonDesignDark/moonDesignDark.ts"
target="_blank"
rel="noreferrer"
variant="secondary"
variant="outline"
>
Creating Themes
</Button>
Expand All @@ -67,12 +67,12 @@ const ForDevelopers = () => {
href="https://github.com/coingaming/moon-design/blob/develop/CONTRIBUTING.md"
target="_blank"
rel="noreferrer"
variant="secondary"
variant="outline"
>
Contribution
</Button>
<Link href="/components/accordion" passHref legacyBehavior>
<Button as="a" variant="secondary">
<Button as="a" variant="outline">
Components
</Button>
</Link>
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.7.2",
"version": "10.7.3",
"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.7.2",
"@heathmont/moon-cmdk-tw": "workspace:^10.7.3",
"@heathmont/moon-core": "workspace:^10.7.1",
"@heathmont/moon-core-tw": "workspace:^10.7.2",
"@heathmont/moon-core-tw": "workspace:^10.7.3",
"@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.7.2",
"@heathmont/moon-table-tw": "workspace:^10.7.3",
"@heathmont/moon-themes": "workspace:^10.7.1",
"@heathmont/moon-themes-tw": "workspace:^10.7.2",
"@heathmont/moon-themes-tw": "workspace:^10.7.3",
"@heathmont/moon-utils": "workspace:^10.7.1",
"@heathmont/moon-icons-tw": "9.28.5",
"@hookform/resolvers": "3.2.0",
Expand Down
1 change: 0 additions & 1 deletion next-docs/pages/components/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const PageButton = () => {
<ComponentPageDescription
title={name}
image={image}
isInProgress
isRtlSupport
isAriaSupport
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@ Object {
class="flex flex-col gap-4 w-full"
>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 btn-primary w-32"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 text-goten bg-piccolo w-32"
type="button"
>
Toggle All
Expand Down Expand Up @@ -1441,7 +1441,7 @@ Object {
class="flex flex-col gap-4 w-full"
>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 btn-primary w-32"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 text-goten bg-piccolo w-32"
type="button"
>
Toggle All
Expand Down Expand Up @@ -4359,7 +4359,7 @@ Object {
class="flex flex-col gap-4 w-full"
>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 btn-primary w-32"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 text-goten bg-piccolo w-32"
type="button"
>
Toggle All
Expand Down Expand Up @@ -4484,7 +4484,7 @@ Object {
class="flex flex-col gap-4 w-full"
>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 btn-primary w-32"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 active:scale-90 text-goten bg-piccolo w-32"
type="button"
>
Toggle All
Expand Down
2 changes: 1 addition & 1 deletion next-docs/public/examples/alert/HandleClose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Example = () => {
</Alert>
);
return (
<Button variant="secondary" onClick={handleClick}>
<Button variant="outline" onClick={handleClick}>
Show Alert
</Button>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ Object {
/>
</div>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed btn-primary"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed text-goten bg-piccolo"
disabled=""
type="submit"
>
Expand Down Expand Up @@ -1814,7 +1814,7 @@ Object {
/>
</div>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed btn-primary"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed text-goten bg-piccolo"
disabled=""
type="submit"
>
Expand Down Expand Up @@ -3743,7 +3743,7 @@ Object {
/>
</div>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed btn-primary"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed text-goten bg-piccolo"
disabled=""
type="submit"
>
Expand Down Expand Up @@ -3819,7 +3819,7 @@ Object {
/>
</div>
<button
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed btn-primary"
class="px-4 h-10 py-2 gap-2 text-moon-14 rounded-moon-i-sm relative z-0 flex justify-center items-center font-medium no-underline overflow-hidden whitespace-nowrap select-none transition duration-200 opacity-60 cursor-not-allowed text-goten bg-piccolo"
disabled=""
type="submit"
>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/public/examples/bottomSheet/Customization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Example = () => {
};
return (
<>
<Button variant="secondary" onClick={openBottomSheet}>
<Button variant="outline" onClick={openBottomSheet}>
Customized BottomSheet
</Button>
<BottomSheet open={isOpen} onClose={closeBottomSheet}>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/public/examples/bottomSheet/Default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Example = () => {
};
return (
<>
<Button variant="secondary" onClick={openBottomSheet}>
<Button variant="outline" onClick={openBottomSheet}>
Default BottomSheet
</Button>
<BottomSheet open={isOpen} onClose={closeBottomSheet}>
Expand Down
6 changes: 3 additions & 3 deletions next-docs/public/examples/bottomSheet/Sizes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Example = () => {
return (
<>
<div>
<Button variant="secondary" onClick={openSmallBottomSheet}>
<Button variant="outline" onClick={openSmallBottomSheet}>
Default small BottomSheet
</Button>
<BottomSheet open={isSmallOpen} onClose={closeSmallBottomSheet}>
Expand All @@ -40,7 +40,7 @@ const Example = () => {
</BottomSheet>
</div>
<div>
<Button variant="secondary" onClick={openMediumBottomSheet}>
<Button variant="outline" onClick={openMediumBottomSheet}>
Medium BottomSheet
</Button>
<BottomSheet open={isMediumOpen} onClose={closeMediumBottomSheet}>
Expand All @@ -54,7 +54,7 @@ const Example = () => {
</BottomSheet>
</div>
<div>
<Button variant="secondary" onClick={openFullBottomSheet}>
<Button variant="outline" onClick={openFullBottomSheet}>
Fullscreen BottomSheet
</Button>
<BottomSheet open={isFullOpen} onClose={closeFullBottomSheet}>
Expand Down
2 changes: 1 addition & 1 deletion next-docs/public/examples/bottomSheet/WithDraghandle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Example = () => {
};
return (
<>
<Button variant="secondary" onClick={openBottomSheet}>
<Button variant="outline" onClick={openBottomSheet}>
BottomSheet with Draghandle
</Button>
<BottomSheet open={isOpen} onClose={closeBottomSheet}>
Expand Down
4 changes: 2 additions & 2 deletions next-docs/public/examples/bottomSheet/WithTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Example = () => {
return (
<>
<div>
<Button variant="secondary" onClick={openTitleBottomSheet}>
<Button variant="outline" onClick={openTitleBottomSheet}>
BottomSheet with Title
</Button>
<BottomSheet open={isTitleOpen} onClose={closeTitleBottomSheet}>
Expand All @@ -33,7 +33,7 @@ const Example = () => {
</BottomSheet>
</div>
<div>
<Button variant="secondary" onClick={openMediumBottomSheet}>
<Button variant="outline" onClick={openMediumBottomSheet}>
BottomSheet with Title and Draghandle
</Button>
<BottomSheet open={isMediumOpen} onClose={closeMediumBottomSheet}>
Expand Down
Loading

0 comments on commit b7fe02c

Please sign in to comment.