-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
488 additions
and
301 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
18 changes: 18 additions & 0 deletions
18
packages/core/src/storybook/stand-alone-documentaion/welcome/Abilities/Abilities.jsx
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,18 @@ | ||
import React from "react"; | ||
import { Ability } from "./Ability"; | ||
import { components, foundations, gettingStarted } from "../assets"; | ||
import styles from "./Abilities.module.scss"; | ||
|
||
export const Abilities = () => ( | ||
<div className={styles.abilities}> | ||
<Ability title="Getting started" imageSrc={gettingStarted} linkHref="/?path=/docs/getting-started--docs"> | ||
Instructions and welcome to the monday.com OS design system | ||
</Ability> | ||
<Ability title="Foundations" imageSrc={foundations} linkHref="/?path=/docs/foundations-colors--docs"> | ||
All information about colors, typography, spacing, and icons | ||
</Ability> | ||
<Ability title="Components" imageSrc={components} linkHref="/?path=/docs/buttons"> | ||
All the information and guidelines you'll ever need on each component | ||
</Ability> | ||
</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
9 changes: 5 additions & 4 deletions
9
...lity-description/ability-description.scss → ...ion/welcome/Abilities/Ability.module.scss
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
21 changes: 21 additions & 0 deletions
21
packages/core/src/storybook/stand-alone-documentaion/welcome/Abilities/Ability.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,21 @@ | ||
import React from "react"; | ||
import Link from "../../../../components/Link/Link"; | ||
import styles from "./Ability.module.scss"; | ||
|
||
interface AbilityProps { | ||
title: string; | ||
children: React.ReactNode; | ||
imageSrc: string; | ||
linkHref: string; | ||
} | ||
|
||
export const Ability = ({ title, children, imageSrc, linkHref }: AbilityProps) => { | ||
return ( | ||
<section className={styles.ability}> | ||
<img src={imageSrc} alt="" className={styles.image} /> | ||
<h3 className={styles.title}>{title}</h3> | ||
<span className={styles.content}>{children}</span> | ||
<Link text="Read more" href={linkHref} target="_top" /> | ||
</section> | ||
); | ||
}; |
16 changes: 16 additions & 0 deletions
16
.../core/src/storybook/stand-alone-documentaion/welcome/Contributors/Contributor.module.scss
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,16 @@ | ||
.contributor { | ||
border-radius: 4px; | ||
background-color: var(--sb-dark-background-color); | ||
display: inline-block; | ||
padding: 2px 8px; | ||
margin: 0 12px 12px 0; | ||
text-decoration: none; | ||
vertical-align: middle; | ||
|
||
.image { | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 50%; | ||
object-fit: cover; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
packages/core/src/storybook/stand-alone-documentaion/welcome/Contributors/Contributor.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,20 @@ | ||
import React from "react"; | ||
import { Flex, Text } from "../../../../components"; | ||
import styles from "./Contributor.module.scss"; | ||
|
||
export interface ContributorProps { | ||
name: string; | ||
image?: string; | ||
href: string; | ||
} | ||
|
||
export default function Contributor({ name, image, href }: ContributorProps) { | ||
return ( | ||
<a href={href} target="_blank" rel="noreferrer" className={styles.contributor}> | ||
<Flex gap="xs"> | ||
{image && <img src={image} alt={name} className={styles.image} />} | ||
<Text>{name}</Text> | ||
</Flex> | ||
</a> | ||
); | ||
} |
77 changes: 77 additions & 0 deletions
77
packages/core/src/storybook/stand-alone-documentaion/welcome/Contributors/Contributors.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,77 @@ | ||
import React from "react"; | ||
import Contributor from "./Contributor"; | ||
import useContributors from "./useContributors"; | ||
import Hadas from "./assets/Hadas.png"; | ||
import Sergey from "./assets/Sergey.png"; | ||
import Rotem from "./assets/Rotem.png"; | ||
|
||
const CONTRIBUTORS = [ | ||
{ | ||
name: "Rotem Dekel", | ||
href: "https://www.linkedin.com/in/rotem-dekel-7a8b12133/", | ||
image: Rotem | ||
}, | ||
{ | ||
name: "Hadas Farhi", | ||
href: "https://www.linkedin.com/in/hadasfarhi/", | ||
image: Hadas | ||
}, | ||
{ | ||
name: "Sergey Roytman", | ||
href: "https://www.linkedin.com/in/sergey-roytman/", | ||
image: Sergey | ||
}, | ||
{ | ||
name: "Devorah Friedman", | ||
href: "mailto:[email protected]" | ||
}, | ||
{ | ||
name: "Dmitry Kogan", | ||
href: "mailto:[email protected]" | ||
}, | ||
{ | ||
name: "Shay Cohen", | ||
href: "mailto:[email protected]" | ||
}, | ||
{ | ||
name: "Eylon Goren", | ||
href: "mailto:[email protected]" | ||
}, | ||
{ | ||
name: "Noa Fenko", | ||
href: "mailto:[email protected]" | ||
}, | ||
{ | ||
name: "LeanyLabs", | ||
href: "https://github.com/LeanyLabs" | ||
} | ||
]; | ||
|
||
// const excludedContributorsIds: Set<number> = new Set(); | ||
// excludedContributorsIds.add(41898282); // github-actions[bot] | ||
// excludedContributorsIds.add(49699333); // dependabot[bot] | ||
// excludedContributorsIds.add(19733683); // snyk-bot | ||
|
||
const excludedContributors = [ | ||
"talkor", | ||
"dependabot[bot]", | ||
"SergeyRoyt", | ||
"orrgottlieb", | ||
"github-actions[bot]", | ||
"snyk-bot", | ||
"rivka-ungar", | ||
"vibe-gh", | ||
"YossiSaadi", | ||
"shaharzil" | ||
]; | ||
|
||
export default function Founders() { | ||
const { contributors } = useContributors({ | ||
organizationName: "mondaycom", | ||
packageName: "vibe", | ||
excludedContributors | ||
}); | ||
return [...CONTRIBUTORS, ...contributors].map((founder, index) => ( | ||
<Contributor key={index} name={founder.name} image={founder.image} href={founder.href} /> | ||
)); | ||
} |
3 changes: 3 additions & 0 deletions
3
...ges/core/src/storybook/stand-alone-documentaion/welcome/Contributors/Founders.module.scss
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 @@ | ||
.founders { | ||
margin-bottom: 48px; | ||
} |
34 changes: 34 additions & 0 deletions
34
packages/core/src/storybook/stand-alone-documentaion/welcome/Contributors/Founders.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,34 @@ | ||
import React from "react"; | ||
import Contributor from "./Contributor"; | ||
import Evgeniy from "./assets/Evgeniy.png"; | ||
import Orr from "./assets/Orr.png"; | ||
import Meytal from "./assets/Meytal.png"; | ||
import styles from "./Founders.module.scss"; | ||
|
||
const FOUNDERS = [ | ||
{ | ||
name: "Evgeniy Kazinec", | ||
href: "https://www.linkedin.com/in/evgeniy-kazinec/", | ||
image: Evgeniy | ||
}, | ||
{ | ||
name: "Orr Gottlieb", | ||
href: "https://www.linkedin.com/in/orrgottlieb/", | ||
image: Orr | ||
}, | ||
{ | ||
name: "Meytal Badichi", | ||
href: "https://www.linkedin.com/in/meytal-badichi-561439125/", | ||
image: Meytal | ||
} | ||
]; | ||
|
||
export default function Founders() { | ||
return ( | ||
<div className={styles.founders}> | ||
{FOUNDERS.map((founder, index) => ( | ||
<Contributor key={index} name={founder.name} image={founder.image} href={founder.href} /> | ||
))} | ||
</div> | ||
); | ||
} |
29 changes: 29 additions & 0 deletions
29
packages/core/src/storybook/stand-alone-documentaion/welcome/Contributors/LinkedinIcon.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,29 @@ | ||
import React from "react"; | ||
|
||
export function LinkedinIcon({ className }: { className?: string }) { | ||
return ( | ||
<svg | ||
width="33" | ||
height="33" | ||
viewBox="0 0 33 33" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={className} | ||
> | ||
<path | ||
d="M16.2331 1.01953H16.306C24.7082 1.01953 31.5195 7.83088 31.5195 16.2331V16.306C31.5195 24.7082 24.7082 31.5195 16.306 31.5195H16.2331C7.83089 31.5195 1.01953 24.7082 1.01953 16.306V16.2331C1.01953 7.83088 7.83089 1.01953 16.2331 1.01953Z" | ||
fill="#383D38" | ||
stroke="white" | ||
strokeWidth="1.5" | ||
/> | ||
<path | ||
d="M9.63712 11.0247C9.28384 10.6968 9.10815 10.2909 9.10815 9.80795C9.10815 9.32501 9.28478 8.90126 9.63712 8.57241C9.9904 8.2445 10.4452 8.08008 11.0023 8.08008C11.5595 8.08008 11.9964 8.2445 12.3487 8.57241C12.702 8.90032 12.8777 9.31279 12.8777 9.80795C12.8777 10.3031 12.7011 10.6968 12.3487 11.0247C11.9954 11.3526 11.5473 11.517 11.0023 11.517C10.4574 11.517 9.9904 11.3526 9.63712 11.0247ZM12.5808 12.9057V22.9591H9.40411V12.9057H12.5808Z" | ||
fill="#FEFFFC" | ||
/> | ||
<path | ||
d="M23.1556 13.8989C23.8481 14.6505 24.1939 15.6822 24.1939 16.9957V22.7816H21.1769V17.4035C21.1769 16.7411 21.005 16.2262 20.662 15.8597C20.3191 15.4933 19.8568 15.3092 19.2781 15.3092C18.6993 15.3092 18.237 15.4924 17.8941 15.8597C17.5511 16.2262 17.3792 16.7411 17.3792 17.4035V22.7816H14.3444V12.8775H17.3792V14.1911C17.6864 13.7532 18.1008 13.4075 18.6213 13.1528C19.1418 12.8982 19.7272 12.7714 20.3783 12.7714C21.5377 12.7714 22.4641 13.1472 23.1556 13.8979V13.8989Z" | ||
fill="#FEFFFC" | ||
/> | ||
</svg> | ||
); | ||
} |
18 changes: 18 additions & 0 deletions
18
packages/core/src/storybook/stand-alone-documentaion/welcome/Contributors/Team.module.scss
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,18 @@ | ||
@import "~monday-ui-style/dist/mixins"; | ||
|
||
$contributor-cell-min-width: $grid-auto-fit-cell-width-small; | ||
$contributor-grid-column-gap: var(--sb-spacing-large); | ||
$contributor-grid-row-gap: 50px; | ||
$contributor-grid-cell-array-calc: calc(20% - #{$contributor-grid-column-gap}); | ||
|
||
.team { | ||
margin-top: 68px; | ||
margin-bottom: 48px; | ||
|
||
@include grid-auto-fit( | ||
$grid-column-gap: $contributor-grid-column-gap, | ||
$grid-row-gap: $contributor-grid-row-gap, | ||
$grid-cell-min-width: $contributor-cell-min-width, | ||
$grid-cell-array-calc: $contributor-grid-cell-array-calc | ||
); | ||
} |
Oops, something went wrong.