gravity-ui / components Goto Github PK
View Code? Open in Web Editor NEWA set of complex React components.
Home Page: https://preview.gravity-ui.com/components
License: MIT License
A set of complex React components.
Home Page: https://preview.gravity-ui.com/components
License: MIT License
As ShareListItem use external links only, so one should set rel="external"
on share links
There are a lot of complex features that can be taken out as separate components or libraries, I just wrote everything I would like to see
1). We want to change default behaviour, to render tab titles without any ellipsis.
We want to change it to display tab title completely. And if some tab does not fit into container โ move it to select.
2). We want to add a property for this component, that will configure how many tabs will be rendered without moving them to select.
We use this component and we need to use dropDown instead main button
At the moment there are no tests in the repository, but once they're added, we should write some basic tests for the Notifications
components.
We need to activate docs tab in storybook. It should contain the README files
Right now the AdaptiveTabs
component doesn't have the qa
props. This makes e2e tests harder to maintain when the component involved.
TODO in the next major.
Let's change wrapTo interface. I suggest this one
(node, {tab: TabItem | undefined; tabIndex: number | undefined}: RenderOptions) => React.ReactNode
Also let's add return tab when render switcher as standalone select. For more select it looks like useless because when user select something in more it will be rendered directly to the left of the selector.
We had this logic earlier in case:
Need to improve code here:
https://github.com/gravity-ui/components/blob/main/src/components/AdaptiveTabs/AdaptiveTabs.tsx#L857
Browsers provide default styles to generate a password in the new-password type input. If the user agrees, the browser add yellow background to the input. Safari hides part of the generated password at the same time
need to check in all major browsers and OS
An example of an input with the proposed behavior: https://github.com/signup
source: https://github.com/gravity-ui/components/tree/main/src/components/PasswordInput
The component should start using Tabs
component from gravity-ui/uikit
instead of own Tabs.
DATAUI-1524
InfiniteScroll
calls onActivate
once and loads the items exactly once.
InfiniteScroll
calls onActivate
twice so we load more items than expected (20 instead of 10).
Add the ability to set a footer component for the table. It can be sticky or non-sticky.
Page of component ItemSelector has error
https://preview.gravity-ui.com/components/?path=/story/components-itemselector--default
TypeError: Cannot destructure property 'getCurrentStoryData' of 'useStorybookApi(...)' as it is undefined.
at useArgs (https://preview.gravity-ui.com/components/5707.5e10e992.iframe.bundle.js:19:40578)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.