hedwig-react-components's People
Forkers
andersgsteenhedwig-react-components's Issues
Show more
https://hedwig.zeroheight.com/styleguide/s/32297/p/42582c-show-more/b/02ce44
Make sure we include all the necessary a11y attributes.
Card
Extend the options to Card to support the needs of the components that are very similar to Card, Entrance box and CTA Box.
- Cards can have a CTA thats either a Link or a Button
- If CTA is present the card itself is not clickable
- Add an arrow icon at the bottom if card description is present and the card itself is a link (clickable)
- Card suface can be transparent. If so it must have a CTA and padding on the surface is compressed by defualt.
- Add a modifier (or something else) that marks a Card as "Featured" - making it look like CTA Box.
- Image on right or left side
- Background colors can be lighter, dark or darker. Text color adapts accordingly.
- Om mobile it looks like any other card, but retains its background color
Search functionality missing in the Nav bar
Card with icon
- How do we solve FontAwesome token friction when using these icons, not only Service icons?
Info Subtle
Tabs
Badge
Lists
Navbar
Callout
Info Box
- Spacing adjustment
- dark red/green on icon and title
- Icon is not editable
- Icon is required
- is the default html element for this component, but kan also be a div
https://hedwig.posten.no/7cc809d17/p/7789b3-info-box/b/077f7e/i/32277187
Horizontal rule
Input
Quote
This is actually a blockquote element. We should keep in mind that there is a html element for a inline quotation also.
<p>And you know what they say: <q>Winter is coming</q></p>
< blockquote>Winter is coming</blockquote>
Not saying that we neet an option for inline quote in this component, but maybe some sort of styling elsewhere.
Radio buttons
Somewhat linked to fieldset as a radio group can have a label styled as Body Title
Radiobutton do not have focus (when tabbing)
Accordions
- Change the the plus/minus icon to chevron. Why: to avoid confusion with a plus icon when used in a "Add-context"
- Spacing: 24px between header and content,48 bottom padding on expanded accordion (not including the contents bottom padding/margin)
- Paragraph text in accordion has a margin-top: 0; that can be removed. Why: better readability when there are multiple paragraphs in one expanded accordion
Table
Drawer
Footer
slim and "full version
Accordion icon is a bit too far down
Checkboxes
Somewhat linked to fieldset as a checkbox group can have a label styled as Body Title
Warning Box
- Can we make this component to also have "attention" and "success" variants?
- And a generic message box with optional icon?
- And a Closable option
- rename to "Warning message"? This might be confusion since we have a Info box, and that might be because of the naming. Warning Box is actual a "message" with som sort of urgency. While Info-box is additional info about its surrounding content.
Warning Banner
Datepicker
Breadcrumbs
The best practice is to have the links in breadcrumbs as an ordered list inside a nav element. This will help screen reader users know it is a navigation bar. Our current breadcrumbs is only links in separate divs.
Morten gave it a try: bring/hedwig#1753
https://www.w3.org/TR/wai-aria-practices-1.1/examples/breadcrumb/index.html
For styling:
- Caption text size
- Remove text-transform: uppercase;
- Same border-bottom and hover style as link.
Alos remove collapsed breadcrumbs - it not in use and its a bad design pattern There is a task for it here but I'll close it as a duplicate. bring/hedwig#1645
Textarea
Service Widget
Link
Fieldset
Figure
Buttons
- Icons options for all
- large, small and medium have fixed heights. The fixed heights should be removed.
Dropdown
- Autowidth as default. In other words: Making the dropdown fullwidth should be an option.
- We then need a min-width property also
Description list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.