GithubHelp home page GithubHelp logo

xcorejs / ui Goto Github PK

View Code? Open in Web Editor NEW
15.0 7.0 3.0 2.73 MB

šŸ Think Component!

License: MIT License

JavaScript 0.96% TypeScript 98.91% HTML 0.13%
xcore xcore-ui ui ui-library react reactjs design-system styled-components uikit styled-system

ui's People

Contributors

alfonzalfonz avatar dependabot[bot] avatar janatjak avatar pavelvondrasek avatar proboss1337 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ui's Issues

Media queries in _after

There is a bug in _after props, when I can't use media queries as object, but need to write it in Array:

SniĢmek obrazovky 2020-02-13 vĀ 15 20 17

Buttons - add role="group"

Please add role="group" to Buttons.
"<ButtonStyle as={as ?? 'button'} alignItems="center" role="group" {...themeButton} {...sizeButton} {...typeButton} {...button} >

Grid

I want to add gridAutoFlow, but I can't. Grid should have all grid props.

IconBaseProps

Fill in IconBaseProps should be ResponsiveValue, but it is only a string.

I want different colors on each breakpoint.

SniĢmek obrazovky 2020-06-01 vĀ 17 23 55

Stack

Hello again!

using this code
<Stack direction={{ _: "column", md: "row" }} spacing={{ _: "1rem", md: "2rem" }}> <Box width="10rem" height="10rem" bg="red" /> <Box width="10rem" height="10rem" bg="green" /> <Box width="10rem" height="10rem" bg="blue" /> <Box width="10rem" height="10rem" bg="pink" /> </Stack>
I get this without margin property:
SniĢmek obrazovky 2020-02-10 vĀ 18 25 03

Stack with responsive direction adds margin-bottom

If I define Stack properties like this:

direction={{ _: 'column', md: 'row' }}
spacing={{ _: '2rem', md: '4rem' }}

then margin-bottom is added on desktop resolution which is not right - margin-bottom in this case should not be visible.

This is very critical issue for our project. Can you fix this?

Thank you.

Ability to pass ref via props

I need to be able to pass a reference via props to components.

Example: <Grid Ā { ...props } ref={forwardedRef} >{children}

Issues with card

SniĢmek obrazovky 2020-04-06 vĀ 15 05 25

  1. There is smaller padding, even if I changed it in theme. - innerPadding doesn't work
  2. The "head" part shouldn't be displayed here, as long as I didn't sent any Node into it.

IE Grid problems

  1. Again - vertical spaces in SimpleGrid (and also in Grid) does not work
  2. SimpleGrid without gap prop causes problems - some of columns is behaving like space between columns

IE11 - SimpleGrid component problems

  1. SimpleGrid does not create vertical spaces (gap) on IE11

  2. It seems on IE11 sometimes property gap is ignored - gap="3rem" is not working on IE, but gap={{ _: "1rem", xs: "1rem" }} is working.

This needs to be fixed I think.

Using components with own theme

Hi Alfonz, thank you for this amazing xcoreui package. I like it.

I have problem with using my own theme.
I am using Text component to display Text. In project theme I use this:

text: { default: { fontFamily: "roboto", } } ,
but there is still Text with original rubik (xcore) font.

SniĢmek obrazovky 2020-02-10 vĀ 11 37 50

There is also picture attached with my _app.tsx config:

SniĢmek obrazovky 2020-02-10 vĀ 11 46 45

Thanks!

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.