helixdesignsystem / helix-react Goto Github PK
View Code? Open in Web Editor NEWReact components to wrap HelixUI Components.
Home Page: https://helix-react.netlify.app/
License: Apache License 2.0
React components to wrap HelixUI Components.
Home Page: https://helix-react.netlify.app/
License: Apache License 2.0
<FileIcon/>
component to wrap HelixUI <hx-file-icon>
element.
As a Consumer, I would like to have documentation around how to consume helix-react components, so that I can use them in my application.
As a Developer, I would like to have documentation that automatically updates, so that I can build components easier.
<FileTile/>
component to wrap cancel
, delete
, and retry
events from the HelixUI <hx-file-tile>
element.
Document contribution guidelines
<Search/>
component to wrap blur
, clear
, focus
, and input
events from the HelixUI <hx-search>
element.
<Panel/>
component to wrap HelixUI Panels.
<Popover/>
component to wrap open
and close
events from the HelixUI <hx-popover>
element.
Alert
, Menu
, Button
, etc.HXAlert
, HxMenu
, Hxbutton
, etc.<Disclosure/>
component to wrap HelixUI <hx-disclosure>
element.
master
branch
netlify
branch
<Reveal/>
component to wrap open
and close
events from the HelixUI <hx-reveal>
element.
<Tab/>
component to wrap the HelixUI <hx-tab>
element.
<ChoiceTile/>
React component to wrap HelixUI Choice Tiles.
<MenuItem/>
component to wrap HelixUI <hx-menuitem>
element.
<Badge/>
component to wrap HelixUI Badges.
<Toast/>
component to wrap dismiss
and submit
events from the HelixUI <hx-toast>
element.
See HelixDesignSystem/helix-ui#283 for details.
There are several cases where white space is necessary to apply HelixUI styles to inline elements.
JSX removes inline whitespace if element nodes are defined on separate physical lines than non-element nodes within JSX source code.
This JSX template
return (
<button className="hxBtn">
Text Node
<hx-icon type="filter"></hx-icon>
</button>
)
renders to
<button class="hxBtn">Text Node<hx-icon type="filter"></hx-icon></button>
However, JSX stripped significant whitespace between the text node and the <hx-icon>
that CSS expects to be present in order to distance the icon properly from the text.
When building React components, strategically add white-space-only text nodes into JSX templates using the { " " }
syntax.
This JSX template
return (
<button className="hxBtn">
Text Node
{ " " }
<hx-icon type="filter"></hx-icon>
</button>
)
renders to
<button class="hxBtn">Text Node <hx-icon type="filter"></hx-icon></button>
This time, JSX inserts the needed white space between the text node and <hx-icon>
element.
<Checkbox/>
component to wrap change
event from the HelixUI <hx-checkbox>
element.
<hx-checkbox>
element will eventually be replaced with semantic HTML for integration into Helix-styled forms.As a Developer, I would like to run a command to generate distributable assets, so that I don't have to build them manually.
<Pill/>
component to wrap dismiss
event from the HelixUI <hx-pill>
element.
<DescriptionList/>
component to wrap HelixUI Description Lists.
<Breadcrumbs/>
React component to wrap HelixUI Breadcrumbs.
<SearchAssistance/>
component to wrap open
and close
events from the HelixUI <hx-search-assistance>
element.
<TabContent/>
component to wrap the HelixUI <hx-tabcontent>
element.
<AccordionPanel/>
component to wrap open
and close
events from the HelixUI <hx-accordion-panel>
element.
@helix-design-system/helix-react
Depends on #8
<Navigation/>
component to wrap HelixUI Navigation.
<Menu/>
component to wrap open
and close
events from the HelixUI <hx-menu>
element.
<Pagination/>
component to wrap HelixUI Pagination.
<Error/>
component to wrap HelixUI <hx-error>
element.
<Busy/>
component to wrap HelixUI <hx-busy>
element.
<Tile/>
component to wrap the HelixUI <hx-tile>
element.
<TabList/>
component to wrap the HelixUI <hx-tablist>
element.
As a developer, I would like to know how to set up my local dev environment, so that I can contribute updates as fast as possible.
release
branch (not master
).<TabSet/>
component to wrap tabchange
event from the HelixUI <hx-tabset>
element.
<FileInput/>
component to wrap <hx-file-input>
element.
click
events from <hx-file-input>
.<Accordion/>
component to wrap panelchange
event from the HelixUI <hx-accordion>
element.
<Row/>
component to wrap .hxRow
containers.
<Col/>
component to wrap .hxCol
, .hxSpan-*
, .hxOffset-*
, and .hxOrder-*
classes.
<Modal/>
component to wrap open
and close
events from the HelixUI <hx-modal>
element.
<Tooltip/>
component to wrap open
and close
events from the HelixUI <hx-tooltip>
element.
<Alert/>
component to wrap dismiss
and submit
events from the HelixUI <hx-alert>
element.
<TabPanel/>
component to wrap open
and close
events from the HelixUI <hx-tabpanel>
element.
<HelixApp/>
component to wrap layout of Helix app content.
<div id="app"><!-- mount React app here -->
<div id="stage">
<!-- (optional) Product Navigation -->
<nav id="nav">...</nav>
<!-- (optional) Left Rail -->
<aside class="hxSiderail">...</aside>
<main id="content">
<!-- Application Content goes here -->
</main>
<!-- (optional) Right Rail -->
<aside class="hxSiderail">...</aside>
</div>
</div>
See https://helix-ui.netlify.com/components/layouts/#stage-area
helix-react.netlify.com
<Progress/>
component to wrap the HelixUI <hx-progress>
element.
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.