GithubHelp home page GithubHelp logo

mondaycom / vibe Goto Github PK

View Code? Open in Web Editor NEW
398.0 24.0 280.0 99.92 MB

Official monday.com UI resources for application development in React.js

Home Page: https://style.monday.com

JavaScript 24.91% Shell 0.06% SCSS 10.28% HTML 0.34% TypeScript 54.94% EJS 0.02% MDX 9.45%
monday react reactjs ui js ui-library ui-components component-library javascript typescript

vibe's Introduction

Vibe Design System

Important

Exciting Update: The monday-ui-react-core repository is now - vibe!

Vibe Design System, by monday.com

Welcome to the Vibe Design System repository! This monorepo contains various open-source packages maintained by Vibe (monday.com).

Overview

Vibe Design System is a collection of packages designed to streamline your development process and enhance the user experience. Below is a list of our main packages:

  1. core: Vibe (monday.com) React components library - Storybook.
  2. style: Vibe (monday.com) styling foundations library.
  3. storybook-blocks: Vibe (monday.com) collection of Storybook blocks library.

Each package comes with its own README providing detailed information about its usage, installation instructions, and getting started guide.

Installation

npm install monday-ui-react-core

Getting Started

If you're new to Vibe Design System, we recommend starting with our main package:

  • core: This is the core of the Vibe Design System. Follow the installation guide and getting started instructions to integrate it into your project.

Contributing

We welcome every contributor, please read the contribution guidelines before submitting a PR

vibe's People

Contributors

3dyonic avatar amit-hanoch avatar ayelethol avatar darbentov avatar dependabot[bot] avatar dhoni77 avatar dorshakedmonday avatar edogr1 avatar eran-cohen avatar etaylib avatar github-actions[bot] avatar kritik-j avatar laviomri avatar m-binygal avatar mentaman avatar moshezemah avatar niksa-monday avatar omerdoron1 avatar or-nuri-monday avatar orrgottlieb avatar rivka-ungar avatar ronnachmany avatar sahariko avatar sergeisafrigin avatar sergeyroyt avatar shaharzil avatar shlomitc avatar talkor avatar yardenli avatar yossisaadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vibe's Issues

Feature request - Expose storybook utils as a storybook addon

Hi all and thanks for the inspiring work on your Design System, as well as for making this public so we can all appreciate it.

I am working on building a Design System for my company using our existing components and because I love your style I was wondering if you might think of separating the storybook functions and components from the actual component library so that others could use that setup as a storybook addon. If that's too much to ask for, maybe just exposing those in an alternate build would also be useful.

For now I forked your repo and changed the webpack entry point to include the src/storybook directory to get access to the storybook components but it would be great if you supported this.

Thanks!

support continous hover between anchor and dialog

I wish to keep the gap between the anchor and the dialog, but then I can't hover into it.
We wish to have support for hovering both dialog and its anchor, keep it open, and be able to go from one to the other using the mouse without closing it.

Combobox should have its own scrollable section for options to allow smooth keyboard navigation

Currently when we use the combobox component we need to wrap it in a scrollable div.
This results in the keyboard navigation of the combobox not controlling the scrollable part and we lose view of the focused items when they are under the scroll line.
The combobox component should have its own prop of maxHeight for the options section and control the scrollable when using keyboard navigation to make sure the focused item is always in view.
cc @adirhaz1z

EditableHeading doesn't work while EditableInput does

// works fine
import EditableInput from "monday-ui-react-core/dist/EditableInput";
export default () => EditableInput value="Edit H2 tooltip" />
// throws an error
import EditableHeading from "monday-ui-react-core/dist/EditableHeading";
export default () => <EditableHeading value="Edit H2 tooltip" />

index.js:1 Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

When I did a console.log of those components I got:

image

So looks like EditableHeading is not a React component, while EditableInput is.

Is there any workaround? Thank you

ButtonGroup is not exported from the package

Please add
export { default as ButtonGroup } from "./ButtonGroup/ButtonGroup";
to src/index.js

This prevents me from using it.

Tried to PR but repo is locked to contrib from outside.

Dropdown: onOptionRemove prop is missing in the documentation

Hi,

I noticed the Dropdown component documentation is lacking info on the onOptionRemove prop. It took me quite some time to figure out how to remove a single element when working with a multi Dropdown controlled component. When checking out the source, I found the existence of the onOptionRemove prop.

Thank you for al the work done in this library, it is so much fun working with it :).

[RFC] `<Dropdown>` should expose a leaner API for styling

What we have now

At the moment, our <Dropdown> component supports a extraStyles prop which is passed pretty directly into the underlying react-select component.

Why is it problematic?

  • Creates coupling between the API we give consumers and our implementation.
  • Makes the component too extendable - consumers can change and potentially mess up our basic styling.
  • Unfocused API, which makes controlling specific properties of the component more difficult than it needs to be. For example, let's say a user wants to control the menu's width; consider the 2 following examples:
<Dropdown
    extraStyles={(baseStyles) => ({ ...baseStyles, menu: (base) => ({ ...base, width: 300 }) })}
/>
<Dropdown menuWidth={300} />

Suggestion

We can create a leaner, more focused (and perhaps intuitive?) API, by giving specific props that affect only the aspects of the component we want to.

Automations same as monday.com

Hi,

I want to create an automation UI the same as monday.com and I was exploring your API. I was successfully able to install monday-ui-react-core but I am getting errors when I run storybook. Could you please help me how to resolve the storybook error? Also, are there any initial simple examples to run and check simple UI with your API?

React 18 issue

Am trying to implement with React 18, Is this will support ?? because this developed in react 16.
I'm facing many issues while adding the components with storybook styles. Kindly assist

Accessibility: Search's "clear" functionality does not respond to enter/space keys

Checked on [email protected], but the releases since then (latest release is 0.0.108 at time of writing) were either bumps or didn't reference this - the last update the search component had is 10 days ago.
In any case, this behaviour could also be replicated on the style.monday.com search page.

Expected:

When the "Enter" or "Space" keyboard keys are pressed and the 'clear' button is on focus, the button would erase the current contents of the search.

Actual:

In that scenario, when the keys are pressed, the button does nothing.

Screen Recording 2021-03-18 at 18 52 49

Remove role image for decorative (ariaHidden=true) icon

Remove the role: "image" attribute from the icon component when the value of the prop ariaHidden is true.
This prop is passed as part of the props inside screenReaderAccessProps which calculate in the hook "useIconScreenReaderAccessProps."

add "arrow" to the dialog component

Can you please support the dialog component having an "arrow" support?
It will assist the user to connect between the anchor and the dialog like usually used on tooltips.

I assume it should be a big dynamic so it can match the actual position of the dialog and its position comparing the anchor.

Button aria-expanded typo

There is a typo in the Button component: aria-expended instead of aria-expanded.
image

"monday-ui-react-core": "^0.3.9",

<Dropdown />'s Border Bottom Hidden

Firstly, thank you for creating an awesome UI component library; it's saved us a ton of time.

We are using the component in our application and we are experiencing something a bit odd with the styling.

When I zoom out to 80% in Chrome, the component's bottom border is hidden. See "Customer Name" in the screenshot below:
image

Note: The "Terms" field is also using the component--but is not having any bottom border rendering issues.

The "Terms" dropdown starts having bottom border rendering issues at 75%:
image

However, when I zoom out to only 90%, the component's bottom border is visible again:
image

This seems to be happening in the storybook, as well (at 75% zoom):
image

I dug through the styles a bit but had no luck finding the issue.

Note: This does not seem to be happening on React Select's component at any zoom (I tried 100%, 90%, 80%, 75%, 66%, all the way down).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.