Giter VIP home page Giter VIP logo

Comments (9)

alina-jacob avatar alina-jacob commented on June 2, 2024 2

I believe we also need to add this to TextInput since it could be both invalid and have the Slug, possibly Textarea as well?

hi @tw15egan, that's a good question!
As per the guidelines, we won't be introducing a divider between an interactive and a non-interactive item.
Pasting a screenshot with some Do and Don'ts (for vertical divider in input fields)
image


( Also, just a headsup, as per my last conversation in Carbon Design crit and with Michael Gower, error states should always be the leftmost. However this is yet to be confirmed by Anna and the C4AI team. I can update latest by Tuesday after the crit regarding the same or sooner if possible. )

image

from carbon.

sstrubberg avatar sstrubberg commented on June 2, 2024 1

@alina-jacob-ibm can you drop an AI design spec into the issue itself. Thx!

from carbon.

tay1orjones avatar tay1orjones commented on June 2, 2024 1

carbon-design-system/carbon-design-kit#745 (comment)

from carbon.

tw15egan avatar tw15egan commented on June 2, 2024 1

I believe we also need to add this to TextInput since it could be both invalid and have the Slug, possibly Textarea as well?

from carbon.

alina-jacob-ibm avatar alina-jacob-ibm commented on June 2, 2024

carbon-design-system/carbon-design-kit#745 (comment)

from carbon.

tw15egan avatar tw15egan commented on June 2, 2024

@alina-jacob ah right! Thanks for pointing that out 😄

from carbon.

alina-jacob avatar alina-jacob commented on June 2, 2024

AI SLUG UPDATE

  • There won't be two types of AI Slugs (standard and hollow)
  • The hollow slug is now the standard slug with all its associated features.

Combobox Dropdown Filterable multi-select Multi-select Number input Select

from carbon.

alina-jacob avatar alina-jacob commented on June 2, 2024

UPDATE

I did a closer inspection and realised that the spacing that works for the chevron and dismissible icon in the dropdown variants won't work for number input, because in this component the plus and minus items are buttons.

Even though, the icons of these buttons are of 16px, the click area for the button is 48px and that's the same spacing pattern we will have to provide for all subsequent elements coming to the left of the buttons.

Pasting an updated screenshot of the spacing just for the number input component, you can also check out the spacing relation for error and invalid states in the default component here.

Figma ref link

Specs for Dividers in Number input

from carbon.

tw15egan avatar tw15egan commented on June 2, 2024

All components should have the divider implemented

from carbon.

Related Issues (20)

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.