├── .nvmrc ├── .prettierignore ├── packages ├── docs-app │ ├── static │ │ ├── .gitkeep │ │ └── favicon │ │ │ ├── favicon.ico │ │ │ ├── apple-icon.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── ms-icon-70x70.png │ │ │ ├── apple-icon-57x57.png │ │ │ ├── apple-icon-60x60.png │ │ │ ├── apple-icon-72x72.png │ │ │ ├── apple-icon-76x76.png │ │ │ ├── ms-icon-144x144.png │ │ │ ├── ms-icon-150x150.png │ │ │ ├── ms-icon-310x310.png │ │ │ ├── android-icon-36x36.png │ │ │ ├── android-icon-48x48.png │ │ │ ├── android-icon-72x72.png │ │ │ ├── android-icon-96x96.png │ │ │ ├── apple-icon-114x114.png │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-144x144.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── android-icon-144x144.png │ │ │ ├── android-icon-192x192.png │ │ │ ├── apple-icon-precomposed.png │ │ │ ├── browserconfig.xml │ │ │ └── manifest.json │ ├── src │ │ ├── components │ │ │ ├── 404 │ │ │ │ ├── index.js │ │ │ │ └── 404.js │ │ │ ├── TopNav │ │ │ │ ├── index.js │ │ │ │ ├── top-nav.scss │ │ │ │ └── TopNav.js │ │ │ ├── SideNav │ │ │ │ ├── index.js │ │ │ │ └── SideNav.stories.jsx │ │ │ ├── markdown │ │ │ │ ├── index.js │ │ │ │ ├── markdown.scss │ │ │ │ └── Markdown.js │ │ │ ├── PageHeader │ │ │ │ ├── index.js │ │ │ │ ├── PageHeader.stories.jsx │ │ │ │ └── page-header.scss │ │ │ ├── CodeExample │ │ │ │ └── index.js │ │ │ ├── ComponentCode │ │ │ │ ├── index.js │ │ │ │ └── ComponentCode.stories.jsx │ │ │ ├── ComponentExample │ │ │ │ └── index.js │ │ │ ├── CodeSnippet │ │ │ │ ├── code-snippet.scss │ │ │ │ └── index.js │ │ │ ├── ColorTable │ │ │ │ └── color-table.scss │ │ │ ├── SpaceExample │ │ │ │ ├── index.js │ │ │ │ └── space-example.scss │ │ │ ├── ComponentDocs │ │ │ │ └── ComponentDocs.js │ │ │ └── BreakpointsDocumentation │ │ │ │ └── index.js │ │ ├── content │ │ │ └── global │ │ │ │ └── images │ │ │ │ ├── favicon-32.png │ │ │ │ └── bg.svg │ │ ├── polyfills │ │ │ ├── index.js │ │ │ ├── element-matches.js │ │ │ ├── custom-event.js │ │ │ ├── element-closest.js │ │ │ └── toggle-class.js │ │ ├── data │ │ │ └── components.json │ │ ├── pages │ │ │ └── 404.js │ │ └── styles │ │ │ ├── index.scss │ │ │ └── _import-once.scss │ ├── .storybook │ │ ├── addons.js │ │ ├── _container.scss │ │ ├── .babelrc │ │ ├── config.js │ │ └── Container.js │ ├── NOTICE │ ├── .circleci │ │ └── config.yml │ └── README.md ├── product-react │ ├── index.d.ts │ ├── src │ │ ├── components │ │ │ ├── Image │ │ │ │ ├── index.ts │ │ │ │ ├── Image.scss │ │ │ │ └── image.test.tsx │ │ │ ├── Radio │ │ │ │ ├── index.ts │ │ │ │ ├── Radio.test.tsx │ │ │ │ └── Radio.tsx │ │ │ ├── Avatar │ │ │ │ ├── index.ts │ │ │ │ ├── __snapshots__ │ │ │ │ │ └── Avatar.test.tsx.snap │ │ │ │ └── Avatar.scss │ │ │ ├── Button │ │ │ │ ├── index.ts │ │ │ │ └── __snapshots__ │ │ │ │ │ └── Button.test.tsx.snap │ │ │ ├── Card │ │ │ │ ├── index.ts │ │ │ │ └── Card.scss │ │ │ ├── Grid │ │ │ │ ├── index.ts │ │ │ │ ├── __snapshots__ │ │ │ │ │ ├── Grid.test.tsx.snap │ │ │ │ │ └── Cell.test.tsx.snap │ │ │ │ ├── Grid.tsx │ │ │ │ └── Grid.test.tsx │ │ │ ├── List │ │ │ │ ├── index.ts │ │ │ │ └── List.test.tsx │ │ │ ├── Select │ │ │ │ ├── index.ts │ │ │ │ └── Select.scss │ │ │ ├── Checkbox │ │ │ │ ├── index.ts │ │ │ │ ├── Checkbox.test.tsx │ │ │ │ └── Checkbox.tsx │ │ │ ├── TextArea │ │ │ │ ├── index.ts │ │ │ │ ├── TextArea.test.tsx │ │ │ │ └── TextArea.tsx │ │ │ ├── Container │ │ │ │ ├── index.ts │ │ │ │ └── __snapshots__ │ │ │ │ │ └── Container.test.tsx.snap │ │ │ ├── Typography │ │ │ │ ├── index.ts │ │ │ │ └── Typography.tsx │ │ │ ├── Tabs │ │ │ │ ├── index.ts │ │ │ │ ├── TabView.scss │ │ │ │ ├── context.ts │ │ │ │ └── TabView.tsx │ │ │ └── Common │ │ │ │ ├── RTLWrapper.tsx │ │ │ │ ├── FormItemWrapper.tsx │ │ │ │ ├── FieldWrapper.tsx │ │ │ │ └── IconWrapper.tsx │ │ └── index.ts │ ├── .storybook │ │ ├── addons.js │ │ ├── preview-head.html │ │ ├── webpack.config.js │ │ └── config.js │ ├── test │ │ ├── index.test.ts │ │ └── setup.js │ ├── stories │ │ ├── Checkbox.story.tsx │ │ ├── Typography.story.tsx │ │ ├── radio.story.tsx │ │ ├── Container.story.tsx │ │ └── TextArea.story.tsx │ ├── jest.config.js │ ├── babel.config.js │ ├── README.md │ ├── tsconfig.json │ └── config │ │ └── rollup.config.js ├── core │ ├── .browserlistrc │ ├── src │ │ ├── global │ │ │ ├── js │ │ │ │ ├── polyfills.js │ │ │ │ ├── settings.js │ │ │ │ ├── util.js │ │ │ │ ├── accessibility.js │ │ │ │ └── boot.js │ │ │ ├── mixins │ │ │ │ ├── _exports.scss │ │ │ │ └── _breakpoints.scss │ │ │ ├── _functions.scss │ │ │ ├── spacing │ │ │ │ └── _spacing.scss │ │ │ ├── _base.scss │ │ │ └── _colors.scss │ │ ├── ray-debug.scss │ │ ├── components │ │ │ ├── index.js │ │ │ ├── select │ │ │ │ └── constants.js │ │ │ ├── fieldset │ │ │ │ └── _fieldset.scss │ │ │ ├── tag │ │ │ │ └── _tag.scss │ │ │ ├── text-field │ │ │ │ └── constants.js │ │ │ ├── form-item │ │ │ │ └── _form-item.scss │ │ │ ├── tabs │ │ │ │ └── _tabs.scss │ │ │ ├── table │ │ │ │ └── _table.scss │ │ │ └── breadcrumb │ │ │ │ └── _breadcrumb.scss │ │ ├── index.js │ │ └── ray-core.scss │ ├── .storybook │ │ ├── webpack.config.js │ │ ├── addons.js │ │ ├── preview-head.html │ │ └── config.js │ ├── stories │ │ ├── styles │ │ │ └── index.scss │ │ ├── static │ │ │ ├── hero1.png │ │ │ ├── images │ │ │ │ ├── image_16x9.jpg │ │ │ │ ├── image_3x4.jpg │ │ │ │ └── image_4x3.jpg │ │ │ └── bg.svg │ │ ├── util │ │ │ └── placeholder.js │ │ ├── tag.stories.js │ │ ├── tabs.stories.js │ │ ├── breadcrumb.stories.js │ │ └── table.stories.js │ ├── postcss.config.js │ ├── .dsmrc │ ├── jest.config.js │ ├── tools │ │ └── build_chromatic.sh │ ├── README.md │ ├── babel.config.js │ ├── test │ │ ├── index.test.js │ │ └── global │ │ │ └── util.test.js │ └── config │ │ └── rollup.config.js ├── rehype-react │ ├── .gitignore │ ├── LICENSE │ ├── package.json │ └── CHANGELOG.md └── core-react │ ├── .storybook │ ├── addons.js │ ├── preview-head.html │ ├── webpack.config.js │ └── config.js │ ├── src │ ├── components │ │ ├── Select │ │ │ └── Select.scss │ │ ├── Grid │ │ │ ├── index.js │ │ │ ├── Grid.js │ │ │ ├── Container.js │ │ │ ├── Cell.js │ │ │ └── grid.test.js │ │ ├── Card │ │ │ ├── card.test.js │ │ │ └── index.js │ │ ├── Common │ │ │ └── Icon.js │ │ ├── TextArea │ │ │ └── textArea.test.js │ │ ├── Radio │ │ │ ├── radio.test.js │ │ │ └── index.js │ │ ├── Checkbox │ │ │ ├── checkbox.test.js │ │ │ └── index.js │ │ ├── Image │ │ │ ├── image.test.js │ │ │ └── index.js │ │ ├── Type │ │ │ └── index.js │ │ └── Button │ │ │ ├── button.test.js │ │ │ └── index.js │ └── index.js │ ├── jest.config.js │ ├── test │ ├── index.test.js │ └── setup.js │ ├── stories │ ├── checkbox.stories.js │ ├── radio.stories.js │ ├── grid.stories.js │ ├── type.stories.js │ └── textArea.stories.js │ ├── babel.config.js │ ├── README.md │ └── config │ └── rollup.config.js ├── .yarnrc ├── .github └── CODEOWNERS ├── .prettierrc ├── docs ├── html │ ├── tag │ │ ├── tag.html │ │ ├── tag-link.html │ │ ├── rtl-tag.html │ │ └── rtl-tag-link.html │ ├── chip │ │ ├── chip.html │ │ └── chip--with-icon.html │ ├── typography │ │ ├── typography-utilities.html │ │ ├── typography.html │ │ ├── typography-displays.html │ │ ├── typography-links.html │ │ ├── typography-blockquote.html │ │ ├── typography-body.html │ │ ├── typography-list.html │ │ ├── typography-headings.html │ │ ├── typography-h3p3.html │ │ └── typography-running-text.html │ ├── image │ │ ├── image--3by4.html │ │ ├── image--4by3.html │ │ ├── image--16by9.html │ │ ├── bg--3by4.html │ │ ├── image--caption.html │ │ ├── bg--16by9.html │ │ ├── rtl-image--caption.html │ │ └── bg--4by3.html │ ├── text-area │ │ ├── text-area.html │ │ └── text-area-multi-row.html │ ├── text-field │ │ ├── text-field.html │ │ ├── rtl-text-field.html │ │ ├── text-field-with-hint.html │ │ ├── rtl-text-field-with-hint.html │ │ ├── text-field-with-prepend.html │ │ └── rtl-text-field-with-prepend.html │ ├── table │ │ ├── table.html │ │ └── rtl-table.html │ ├── breadcrumb │ │ ├── breadcrumbs.html │ │ └── rtl-breadcrumbs.html │ ├── select │ │ ├── select.html │ │ ├── select--error.html │ │ ├── select--compact.html │ │ ├── rtl-select.html │ │ ├── select--with-placeholder.html │ │ ├── rtl-select--error.html │ │ ├── rtl-select--compact.html │ │ ├── rtl-select--with-placeholder.html │ │ ├── select-with-icon.html │ │ ├── rtl-select-with-icon.html │ │ ├── select-with-prepend.html │ │ └── rtl-select-with-prepend.html │ ├── dropdown │ │ ├── dropdown.html │ │ ├── dropdown--compact.html │ │ ├── rtl-dropdown.html │ │ ├── dropdown--error.html │ │ ├── rtl-dropdown--compact.html │ │ ├── rtl-dropdown--error.html │ │ ├── dropdown--with-placeholder.html │ │ ├── rtl-dropdown--with-placeholder.html │ │ ├── dropdown--with-icon.html │ │ ├── dropdown--optgroups.html │ │ ├── dropdown--with-prepend.html │ │ ├── rtl-dropdown--with-icon.html │ │ ├── rtl-dropdown--optgroups.html │ │ └── rtl-dropdwon--with-prepend.html │ ├── fieldset │ │ ├── fieldset.html │ │ └── rtl-fieldset.html │ ├── card │ │ ├── card--row.html │ │ ├── card.html │ │ ├── rtl-card--row.html │ │ ├── rtl-card.html │ │ ├── card--link.html │ │ └── rtl-card--link.html │ ├── radio │ │ ├── radio.html │ │ ├── rtl-radio.html │ │ ├── radio-group.html │ │ └── rtl-radio-group.html │ ├── button │ │ ├── button--secondary.html │ │ ├── button--tertiary.html │ │ ├── button--primary.html │ │ ├── button--primary--dark.html │ │ ├── button--danger.html │ │ ├── rtl-button--secondary.html │ │ ├── rtl-button--tertiary.html │ │ ├── button--secondary--dark.html │ │ ├── rtl-button--primary.html │ │ ├── button--tertiary--dark.html │ │ ├── button-rtl.html │ │ ├── rtl-button--danger.html │ │ ├── button--compact.html │ │ └── rtl-button--compact.html │ └── checkbox │ │ ├── checkbox.html │ │ └── rtl-checkbox.html ├── components │ ├── table.md │ ├── breadcrumb.md │ ├── tag.md │ ├── checkbox.md │ ├── fieldset.md │ └── card.md └── foundations │ ├── colors.md │ ├── breakpoints.md │ ├── fonts.md │ └── spacing.md ├── jest.config.js ├── lerna.json ├── babel.config.js ├── .editorconfig ├── .gitignore ├── .eslintrc.js ├── stylelint.config.js ├── README.md └── RELEASING.md /.nvmrc: -------------------------------------------------------------------------------- 1 | v10.13.0 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | CHANGELOG.md 2 | -------------------------------------------------------------------------------- /packages/docs-app/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/product-react/index.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- 1 | workspaces-experimental true 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @wework/ray-maintainers 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/core/.browserlistrc: -------------------------------------------------------------------------------- 1 | last 2 version 2 | ie >= 11 3 | -------------------------------------------------------------------------------- /packages/core/src/global/js/polyfills.js: -------------------------------------------------------------------------------- 1 | import 'core-js'; 2 | -------------------------------------------------------------------------------- /docs/html/tag/tag.html: -------------------------------------------------------------------------------- 1 | Enterprise 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Image/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Image'; -------------------------------------------------------------------------------- /packages/product-react/src/components/Radio/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Radio'; -------------------------------------------------------------------------------- /packages/product-react/src/components/Avatar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Avatar'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Button/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Button'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Card/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Card'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Grid/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Grid'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/List/index.ts: -------------------------------------------------------------------------------- 1 | export * from './List'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Select/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Select'; 2 | -------------------------------------------------------------------------------- /docs/html/tag/tag-link.html: -------------------------------------------------------------------------------- 1 | Enterprise 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Checkbox/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Checkbox'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/TextArea/index.ts: -------------------------------------------------------------------------------- 1 | export * from './TextArea'; 2 | -------------------------------------------------------------------------------- /packages/core/src/ray-debug.scss: -------------------------------------------------------------------------------- 1 | @import './global/material-grid/mdc-layout-grid-debug'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Container/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Container'; 2 | -------------------------------------------------------------------------------- /packages/product-react/src/components/Typography/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Typography'; 2 | -------------------------------------------------------------------------------- /docs/html/chip/chip.html: -------------------------------------------------------------------------------- 1 |
2 | What works good is better than what looks good, because what works good lasts. 3 | 4 |5 | -------------------------------------------------------------------------------- /packages/docs-app/src/data/components.json: -------------------------------------------------------------------------------- 1 | { 2 | "items": [ 3 | { 4 | "item": "Button", 5 | "added": "1.0.0", 6 | "vanilla": "ready", 7 | "react": false, 8 | "experimental": "ready" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /docs/html/typography/typography-body.html: -------------------------------------------------------------------------------- 1 |
3 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Culpa architecto non 4 | dolorem atque dolore provident, velit commodi, nobis itaque voluptatibus ipsam 5 | impedit numquam? Est eos corrupti numquam placeat quam soluta! 6 |
7 | -------------------------------------------------------------------------------- /packages/docs-app/.storybook/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@babel/preset-env", 5 | { 6 | "targets": { 7 | "browsers": ["last 1 versions", "Firefox ESR"] 8 | } 9 | } 10 | ], 11 | "@babel/preset-react" 12 | ], 13 | "plugins": [ 14 | "@babel/plugin-proposal-class-properties" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /packages/product-react/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@babel/preset-typescript', 4 | [ 5 | '@babel/preset-env', 6 | { 7 | targets: { 8 | node: 'current' 9 | } 10 | } 11 | ], 12 | '@babel/preset-react' 13 | ], 14 | plugins: ['@babel/plugin-proposal-class-properties'] 15 | }; 16 | -------------------------------------------------------------------------------- /docs/html/text-area/text-area-multi-row.html: -------------------------------------------------------------------------------- 1 || Name | 5 ||
|---|---|
| Arya Stark | 11 |arya@winterfell.org | 12 |
| Jon Snow | 15 |jon@thewatch.org | 16 |
| שֵׁם | 6 |דואר אלקטרוני | 7 |
|---|---|
| אריה סטארק | 12 |arya@winterfell.org | 13 |
| ג'ון שלג | 16 |jon@thewatch.org | 17 |
{this.props.children}
; 7 | } 8 | } 9 | 10 | export class FlexGroup extends React.Component { 11 | render() { 12 | return4 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Vel quia magnam at 5 | eligendi, incidunt amet eaque distinctio veniam atque, beatae laudantium 6 | vitae autem molestias repellendus exercitationem in inventore accusamus 7 | eveniet. 8 |
9 | 10 |first.