├── packages
├── design-dsl
│ ├── .gitignore
│ ├── typings_custom
│ │ └── custom.d.ts
│ ├── modules
│ │ ├── version.ts
│ │ ├── index.ts
│ │ ├── cli
│ │ │ ├── orion-compile-test.ts
│ │ │ └── orion.ts
│ │ ├── experiments
│ │ │ ├── hello-primitives.ts
│ │ │ ├── demo-components
│ │ │ │ └── toolbar.ts
│ │ │ ├── hello-toolbar.ts
│ │ │ └── hello-panel.ts
│ │ └── generator
│ │ │ └── visitors
│ │ │ └── text.ts
│ ├── tsconfig.json
│ ├── examples
│ │ ├── HelloWorld.oml
│ │ └── HelloWorld.oml.js
│ └── package.json
├── react-components
│ ├── gemini
│ │ ├── .eslintrc.json
│ │ ├── screens
│ │ │ ├── button
│ │ │ │ ├── button-focus
│ │ │ │ │ └── focus
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── button-hover
│ │ │ │ │ └── hover
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── button-large
│ │ │ │ │ └── large
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── button-small
│ │ │ │ │ └── small
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── button-default
│ │ │ │ │ └── default
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ └── button-disabled
│ │ │ │ │ └── disabled
│ │ │ │ │ ├── edge.png
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ └── firefox.png
│ │ │ ├── select
│ │ │ │ ├── select-focus
│ │ │ │ │ └── focus
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-disabled
│ │ │ │ │ └── disabled
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-expanded
│ │ │ │ │ └── expanded
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-clearable
│ │ │ │ │ └── clearable
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-collapsed
│ │ │ │ │ └── collapsed
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-scrolling
│ │ │ │ │ └── scrolling
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-option-focus
│ │ │ │ │ └── option-focus
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-disabled-option
│ │ │ │ │ └── disabled-option
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-selected-index
│ │ │ │ │ └── selected-index
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ ├── select-no-search-results
│ │ │ │ │ └── no-search-results
│ │ │ │ │ │ ├── edge.png
│ │ │ │ │ │ ├── chrome.png
│ │ │ │ │ │ └── firefox.png
│ │ │ │ └── select-some-search-results
│ │ │ │ │ └── some-search-results
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ ├── edge.png
│ │ │ │ │ └── firefox.png
│ │ │ └── datepicker
│ │ │ │ ├── datepicker-focus
│ │ │ │ └── focus
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ ├── edge.png
│ │ │ │ │ └── firefox.png
│ │ │ │ ├── datepicker-clearable
│ │ │ │ └── clearable
│ │ │ │ │ ├── edge.png
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ └── firefox.png
│ │ │ │ ├── datepicker-focus-month-day
│ │ │ │ └── focus-month-day
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ ├── edge.png
│ │ │ │ │ └── firefox.png
│ │ │ │ ├── datepicker-unfocused-no-date
│ │ │ │ └── unfocused-no-date
│ │ │ │ │ ├── edge.png
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ └── firefox.png
│ │ │ │ ├── datepicker-unfocused-with-date
│ │ │ │ └── unfocused-with-date
│ │ │ │ │ ├── edge.png
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ └── firefox.png
│ │ │ │ ├── datepicker-custom-disabled-dates
│ │ │ │ └── custom-disabled-dates
│ │ │ │ │ ├── edge.png
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ └── firefox.png
│ │ │ │ ├── datepicker-custom-date-formatting
│ │ │ │ └── custom-date-formatting
│ │ │ │ │ ├── edge.png
│ │ │ │ │ ├── chrome.png
│ │ │ │ │ └── firefox.png
│ │ │ │ └── datepicker-custom-placeholder-text
│ │ │ │ └── custom-placeholder-text
│ │ │ │ ├── edge.png
│ │ │ │ ├── chrome.png
│ │ │ │ └── firefox.png
│ │ ├── button-test.js
│ │ ├── datepicker-test.js
│ │ └── select-test.js
│ ├── .storybook
│ │ ├── addons.js
│ │ ├── config.js
│ │ └── addons
│ │ │ ├── source-addon
│ │ │ └── index.js
│ │ │ └── example-addon
│ │ │ └── index.js
│ ├── src
│ │ ├── index.js
│ │ └── 2016-12-01
│ │ │ ├── index.js
│ │ │ ├── button.test.js
│ │ │ └── datepicker.js
│ ├── .gemini.yml
│ ├── stories
│ │ ├── button.js
│ │ ├── shared.js
│ │ ├── datepicker.js
│ │ ├── select.js
│ │ ├── datepicker
│ │ │ ├── unfocused-wo-date.js
│ │ │ ├── custom-placeholder-text.js
│ │ │ ├── unfocused-with-date.js
│ │ │ ├── disabled.js
│ │ │ ├── focus.js
│ │ │ └── clearable.js
│ │ ├── select
│ │ │ ├── expanded.js
│ │ │ ├── focus.js
│ │ │ ├── disabled.js
│ │ │ └── collapsed.js
│ │ └── button
│ │ │ ├── hover.js
│ │ │ ├── large.js
│ │ │ ├── small.js
│ │ │ ├── disabled.js
│ │ │ └── focus.js
│ └── package.json
├── react-playground
│ ├── src
│ │ ├── index.css
│ │ ├── App.css
│ │ ├── index.js
│ │ └── App.test.js
│ ├── public
│ │ ├── favicon.ico
│ │ └── index.html
│ ├── .gitignore
│ └── package.json
├── react-hig
│ └── README.md
├── angular-playground
│ ├── .gitignore
│ ├── src
│ │ ├── index.css
│ │ └── index.js
│ ├── package.json
│ └── public
│ │ └── index.html
├── components
│ ├── README.md
│ ├── bower.json
│ ├── src
│ │ ├── index.js
│ │ ├── utils
│ │ │ ├── clear-children.js
│ │ │ ├── format-moment.js
│ │ │ ├── inject-style-tag.js
│ │ │ ├── private-registry.js
│ │ │ ├── scroll-into-view.js
│ │ │ ├── event-key.js
│ │ │ ├── render-queue.js
│ │ │ ├── format-moment.test.js
│ │ │ ├── inject-styles.js
│ │ │ └── event-key.test.js
│ │ └── 2016-12-01
│ │ │ ├── index.js
│ │ │ ├── container.js
│ │ │ ├── inline.js
│ │ │ ├── input-state.js
│ │ │ ├── button-state.js
│ │ │ └── list.js
│ ├── test
│ │ ├── bundle.js
│ │ └── runner.html
│ ├── wct.conf.json
│ ├── scripts
│ │ ├── browserify.js
│ │ ├── report-coverage.js
│ │ ├── test-ci.js
│ │ └── remap-wct-coverage.js
│ └── package.json
├── marketing-playground
│ ├── .gitignore
│ ├── package.json
│ ├── src
│ │ ├── index.css
│ │ ├── constants.js
│ │ ├── index.js
│ │ ├── App.css
│ │ └── components
│ │ │ ├── nav.js
│ │ │ ├── anchor.js
│ │ │ └── features-benefits.js
│ └── public
│ │ └── index.html
├── style
│ ├── package.json
│ └── src
│ │ ├── index.js
│ │ ├── scale.js
│ │ ├── reset-focus-style.js
│ │ ├── box-shadow.js
│ │ ├── box-shadow.test.js
│ │ ├── border-radius.js
│ │ ├── user-select.js
│ │ ├── user-select.test.js
│ │ ├── reset-focus-style.test.js
│ │ ├── pointer-events.js
│ │ ├── hovers.js
│ │ ├── overflow.js
│ │ ├── container.js
│ │ ├── typography.js
│ │ ├── hovers.test.js
│ │ ├── display.js
│ │ ├── overflow.test.js
│ │ ├── container.test.js
│ │ ├── 2016-12-01
│ │ └── index.js
│ │ ├── typography.test.js
│ │ ├── pointer-events.test.js
│ │ ├── display.test.js
│ │ ├── position.test.js
│ │ └── position.js
└── angular
│ ├── package.json
│ └── src
│ ├── index.js
│ └── 2016-12-01
│ ├── index.js
│ └── validators.js
├── .babelrc
├── lerna.json
├── docs
├── landing page.bmpr
├── select mockups.bmpr
├── date picker mockups.bmpr
└── sample application.bmpr
├── .gitignore
├── .eslintignore
├── LICENSE
├── .eslintrc.json
├── scripts
├── modules
│ ├── deploy-config.js
│ ├── constants.js
│ └── known-paths.js
├── set-package-to-root.js
└── start-playground.js
├── rationale
└── MONOREPO.md
├── .github
├── ISSUE_TEMPLATE.md
└── PULL_REQUEST_TEMPLATE.md
├── circle.yml
├── GOVERNANCE.md
└── DESIGN_PRINCIPLES.md
/packages/design-dsl/.gitignore:
--------------------------------------------------------------------------------
1 | 2017-02-06
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-app"]
3 | }
--------------------------------------------------------------------------------
/lerna.json:
--------------------------------------------------------------------------------
1 | {
2 | "lerna": "2.0.0-rc.4",
3 | "version": "1.0.3"
4 | }
--------------------------------------------------------------------------------
/packages/design-dsl/typings_custom/custom.d.ts:
--------------------------------------------------------------------------------
1 | declare module "clone-deep";
--------------------------------------------------------------------------------
/docs/landing page.bmpr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/docs/landing page.bmpr
--------------------------------------------------------------------------------
/docs/select mockups.bmpr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/docs/select mockups.bmpr
--------------------------------------------------------------------------------
/packages/react-components/gemini/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "globals": {
3 | "gemini": true
4 | }
5 | }
--------------------------------------------------------------------------------
/docs/date picker mockups.bmpr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/docs/date picker mockups.bmpr
--------------------------------------------------------------------------------
/docs/sample application.bmpr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/docs/sample application.bmpr
--------------------------------------------------------------------------------
/packages/react-playground/src/index.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | font-family: sans-serif;
5 | }
6 |
--------------------------------------------------------------------------------
/packages/react-playground/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-playground/public/favicon.ico
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/*
2 | .nyc_output
3 | bower_components
4 | build
5 | coverage
6 | gemini-report
7 | lerna-debug.log
8 | lib
9 | node_modules
10 | npm-debug.log
11 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | bower_components
2 | build
3 | coverage
4 | gemini-report
5 | lib
6 | node_modules
7 | packages/*-playground
8 | packages/design-dsl
9 | packages/hig.web
10 | vendor
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-focus/focus/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-focus/focus/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-hover/hover/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-hover/hover/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-large/large/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-large/large/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-small/small/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-small/small/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-focus/focus/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-focus/focus/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-focus/focus/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-focus/focus/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-hover/hover/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-hover/hover/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-large/large/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-large/large/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-small/small/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-small/small/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-focus/focus/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-focus/focus/chrome.png
--------------------------------------------------------------------------------
/packages/react-hig/README.md:
--------------------------------------------------------------------------------
1 | # react-hig
2 |
3 | React components for the HIG.
4 |
5 |
6 | This package has moved to the (HIG repo)[https://github.com/Autodesk/hig/tree/master/src/implementations/react].
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-default/default/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-default/default/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-focus/focus/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-focus/focus/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-hover/hover/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-hover/hover/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-large/large/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-large/large/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-small/small/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-small/small/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-focus/focus/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-focus/focus/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-default/default/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-default/default/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-default/default/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-default/default/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-disabled/disabled/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-disabled/disabled/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-disabled/disabled/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-disabled/disabled/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-expanded/expanded/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-expanded/expanded/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-disabled/disabled/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-disabled/disabled/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/button/button-disabled/disabled/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/button/button-disabled/disabled/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-focus/focus/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-focus/focus/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-focus/focus/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-focus/focus/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-clearable/clearable/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-clearable/clearable/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-clearable/clearable/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-clearable/clearable/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-collapsed/collapsed/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-collapsed/collapsed/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-collapsed/collapsed/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-collapsed/collapsed/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-disabled/disabled/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-disabled/disabled/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-disabled/disabled/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-disabled/disabled/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-expanded/expanded/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-expanded/expanded/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-expanded/expanded/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-expanded/expanded/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-scrolling/scrolling/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-scrolling/scrolling/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-scrolling/scrolling/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-scrolling/scrolling/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-focus/focus/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-focus/focus/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-clearable/clearable/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-clearable/clearable/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-collapsed/collapsed/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-collapsed/collapsed/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-scrolling/scrolling/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-scrolling/scrolling/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-option-focus/option-focus/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-option-focus/option-focus/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-clearable/clearable/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-clearable/clearable/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-option-focus/option-focus/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-option-focus/option-focus/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-option-focus/option-focus/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-option-focus/option-focus/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-clearable/clearable/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-clearable/clearable/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-clearable/clearable/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-clearable/clearable/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-disabled-option/disabled-option/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-disabled-option/disabled-option/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-selected-index/selected-index/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-selected-index/selected-index/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-selected-index/selected-index/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-selected-index/selected-index/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-disabled-option/disabled-option/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-disabled-option/disabled-option/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-selected-index/selected-index/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-selected-index/selected-index/firefox.png
--------------------------------------------------------------------------------
/packages/angular-playground/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | node_modules
5 |
6 | # build
7 | lib
8 |
9 | # misc
10 | .DS_Store
11 | .env
12 | npm-debug.log
13 |
--------------------------------------------------------------------------------
/packages/components/README.md:
--------------------------------------------------------------------------------
1 | ### Debugging Web Component Tester
2 |
3 | 1. Run `npm run browserify` to create the latest bundle
4 | 2. Run `npm run debug-wct` to launch webserver
5 | 3. Visit `http://127.0.0.1:8081/test/button.test.html` in browser
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-disabled-option/disabled-option/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-disabled-option/disabled-option/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-no-search-results/no-search-results/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-no-search-results/no-search-results/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-no-search-results/no-search-results/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-no-search-results/no-search-results/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-no-search-results/no-search-results/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-no-search-results/no-search-results/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-focus-month-day/focus-month-day/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-focus-month-day/focus-month-day/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-focus-month-day/focus-month-day/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-focus-month-day/focus-month-day/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-some-search-results/some-search-results/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-some-search-results/some-search-results/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-some-search-results/some-search-results/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-some-search-results/some-search-results/edge.png
--------------------------------------------------------------------------------
/packages/react-components/.storybook/addons.js:
--------------------------------------------------------------------------------
1 | // To get our default addons (actions and links)
2 | import '@kadira/storybook/addons';
3 | // To add the knobs addon
4 | import '@kadira/storybook-addon-knobs/register';
5 | import './addons/source-addon/register';
6 |
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-focus-month-day/focus-month-day/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-focus-month-day/focus-month-day/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-no-date/unfocused-no-date/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-no-date/unfocused-no-date/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/select/select-some-search-results/some-search-results/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/select/select-some-search-results/some-search-results/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-no-date/unfocused-no-date/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-no-date/unfocused-no-date/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-no-date/unfocused-no-date/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-no-date/unfocused-no-date/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-with-date/unfocused-with-date/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-with-date/unfocused-with-date/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-disabled-dates/custom-disabled-dates/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-disabled-dates/custom-disabled-dates/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-with-date/unfocused-with-date/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-with-date/unfocused-with-date/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-with-date/unfocused-with-date/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-unfocused-with-date/unfocused-with-date/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-date-formatting/custom-date-formatting/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-date-formatting/custom-date-formatting/edge.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-disabled-dates/custom-disabled-dates/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-disabled-dates/custom-disabled-dates/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-date-formatting/custom-date-formatting/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-date-formatting/custom-date-formatting/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-date-formatting/custom-date-formatting/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-date-formatting/custom-date-formatting/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-disabled-dates/custom-disabled-dates/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-disabled-dates/custom-disabled-dates/firefox.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-placeholder-text/custom-placeholder-text/edge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-placeholder-text/custom-placeholder-text/edge.png
--------------------------------------------------------------------------------
/packages/react-playground/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | node_modules
5 |
6 | # testing
7 | coverage
8 |
9 | # production
10 | build
11 |
12 | # misc
13 | .DS_Store
14 | .env
15 | npm-debug.log
16 |
--------------------------------------------------------------------------------
/packages/marketing-playground/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | node_modules
5 |
6 | # testing
7 | coverage
8 |
9 | # production
10 | build
11 |
12 | # misc
13 | .DS_Store
14 | .env
15 | npm-debug.log
16 |
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-placeholder-text/custom-placeholder-text/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-placeholder-text/custom-placeholder-text/chrome.png
--------------------------------------------------------------------------------
/packages/react-components/gemini/screens/datepicker/datepicker-custom-placeholder-text/custom-placeholder-text/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Autodesk/orion-ui/HEAD/packages/react-components/gemini/screens/datepicker/datepicker-custom-placeholder-text/custom-placeholder-text/firefox.png
--------------------------------------------------------------------------------
/packages/components/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "name": "orion-ui",
4 | "version": "1.0.0",
5 | "description": "orion ui components",
6 | "author": "Autodesk Inc.",
7 | "license": "Apache-2.0",
8 | "devDependencies": {
9 | "web-component-tester": "4.2.2",
10 | "webcomponentsjs": "^0.7.23",
11 | "moment": "2.x"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/packages/react-playground/src/App.css:
--------------------------------------------------------------------------------
1 | .App {
2 | text-align: center;
3 | }
4 |
5 | .App-logo {
6 | animation: App-logo-spin infinite 20s linear;
7 | height: 80px;
8 | }
9 |
10 | .App-header {
11 | background-color: #222;
12 | height: 150px;
13 | padding: 20px;
14 | color: white;
15 | }
16 |
17 | .App-intro {
18 | font-size: large;
19 | }
20 |
21 | @keyframes App-logo-spin {
22 | from { transform: rotate(0deg); }
23 | to { transform: rotate(360deg); }
24 | }
25 |
--------------------------------------------------------------------------------
/packages/style/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@orion-ui/style",
3 | "version": "1.0.3",
4 | "description": "orion ui styles",
5 | "main": "lib/index.js",
6 | "scripts": {
7 | "disable-lib": "babel src --out-dir lib --copy-file",
8 | "disable-build": "NODE_ENV=production npm run lib",
9 | "start": "NODE_ENV=development npm run lib -- --watch"
10 | },
11 | "author": "Autodesk Inc.",
12 | "license": "Apache-2.0",
13 | "devDependencies": {
14 | "babel-cli": "^6.18.0"
15 | }
16 | }
--------------------------------------------------------------------------------
/packages/angular-playground/src/index.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | font-family: sans-serif;
5 |
6 | height: '100%';
7 | padding: 28px
8 | }
9 |
10 | .grid {
11 | background-color: rgba(0, 0, 0, 0.05);
12 | background-image: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(0, 0, 0, 0.2) 1px, transparent 8px), repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(0, 0, 0, 0.2) 1px, transparent 8px);
13 | background-size: 8px 8px;
14 | padding: 28px;
15 | }
16 |
--------------------------------------------------------------------------------
/packages/react-components/.storybook/config.js:
--------------------------------------------------------------------------------
1 | import '@skatejs/web-components';
2 |
3 | import { configure, addDecorator } from '@kadira/storybook';
4 | import { withKnobs } from '@kadira/storybook-addon-knobs';
5 |
6 | import WithExample from './addons/example-addon';
7 |
8 | function loadStories() {
9 | require('../stories/button.js');
10 | require('../stories/select');
11 | require('../stories/datepicker');
12 | // You can require as many stories as you need.
13 | }
14 |
15 | addDecorator(WithExample);
16 | addDecorator(withKnobs)
17 |
18 | configure(loadStories, module);
19 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright 2016 Autodesk,Inc.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/packages/angular-playground/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angular-playground",
3 | "version": "1.0.3",
4 | "private": true,
5 | "author": "Autodesk Inc.",
6 | "homepage": ".",
7 | "license": "Apache-2.0",
8 | "devDependencies": {
9 | "@skatejs/web-components": "^1.0.0",
10 | "react-scripts": "^0.9.5"
11 | },
12 | "dependencies": {
13 | "@orion-ui/angular": "^1.0.3",
14 | "angular": "^1.5.9",
15 | "moment": "^2.17.1"
16 | },
17 | "scripts": {
18 | "start": "BROWSER=none PORT=3001 react-scripts start",
19 | "disable-build": "react-scripts build",
20 | "test": "echo 'No tests configured'"
21 | }
22 | }
--------------------------------------------------------------------------------
/packages/react-playground/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-playground",
3 | "version": "1.0.3",
4 | "private": true,
5 | "author": "Autodesk Inc.",
6 | "homepage": ".",
7 | "license": "Apache-2.0",
8 | "devDependencies": {
9 | "react-scripts": "0.9.5"
10 | },
11 | "dependencies": {
12 | "@orion-ui/react-components": "^1.0.3",
13 | "@skatejs/web-components": "^1.0.0",
14 | "moment": "^2.17.1",
15 | "react": "^15.4.1",
16 | "react-dom": "^15.4.1"
17 | },
18 | "scripts": {
19 | "disable-start": "BROWSER=none PORT=3004 react-scripts start",
20 | "disable-build": "react-scripts build"
21 | }
22 | }
--------------------------------------------------------------------------------
/packages/marketing-playground/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marketing-playground",
3 | "version": "1.0.3",
4 | "private": true,
5 | "homepage": ".",
6 | "devDependencies": {
7 | "react-scripts": "0.9.5"
8 | },
9 | "dependencies": {
10 | "@orion-ui/react-components": "^1.0.3",
11 | "@skatejs/web-components": "^1.0.0",
12 | "@webcomponents/custom-elements": "^1.0.0-rc.3",
13 | "react": "^15.4.2",
14 | "react-dom": "^15.4.2",
15 | "react-syntax-highlighter": "^5.1.3",
16 | "tachyons": "^4.6.1"
17 | },
18 | "scripts": {
19 | "start": "BROWSER=none PORT=3003 react-scripts start",
20 | "disable-build": "react-scripts build"
21 | }
22 | }
--------------------------------------------------------------------------------
/packages/design-dsl/modules/version.ts:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | export default '2017-02-06';
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "code": "100",
3 | "parser": "babel-eslint",
4 | "extends": [
5 | "prettier",
6 | "prettier/react"
7 | ],
8 | "plugins": [
9 | "react",
10 | "prettier"
11 | ],
12 | "parserOptions": {
13 | "ecmaVersion": 2016,
14 | "sourceType": "module",
15 | "ecmaFeatures": {
16 | "jsx": true,
17 | "experimentalObjectRestSpread": true
18 | }
19 | },
20 | "env": {
21 | "es6": true,
22 | "browser": true,
23 | "node": true
24 | },
25 | "rules": {
26 | "prettier/prettier": [
27 | "error",
28 | {
29 | "trailingComma": "none",
30 | "singleQuote": true
31 | }
32 | ]
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/packages/design-dsl/modules/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | import cli from './cli/orion';
18 |
19 | cli(process.argv);
20 |
--------------------------------------------------------------------------------
/packages/design-dsl/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0.3",
3 | "compilerOptions": {
4 | "allowSyntheticDefaultImports": true,
5 | "declaration": true,
6 | "forceConsistentCasingInFileNames": true,
7 | "jsx": "preserve",
8 | "module": "commonjs",
9 | "moduleResolution": "node",
10 | "noEmit": false,
11 | "noEmitOnError": true,
12 | "strictNullChecks": true,
13 | "noImplicitAny": true,
14 | "noImplicitThis": true,
15 | "sourceMap": true,
16 | "target": "es6",
17 | "outDir": "2017-02-06"
18 | },
19 | "include": [
20 | "typings_custom/custom.d.ts",
21 | "modules/**/*.ts"
22 | ],
23 |
24 | "types": [
25 | "mocha",
26 | "shelljs",
27 | "node"
28 | ]
29 | }
--------------------------------------------------------------------------------
/packages/angular/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@orion-ui/angular",
3 | "private": true,
4 | "version": "1.0.3",
5 | "description": "orion ui angular components",
6 | "main": "lib/index.js",
7 | "scripts": {
8 | "disable-lib": "babel src --out-dir lib --copy-file",
9 | "disable-build": "NODE_ENV=production npm run lib",
10 | "start": "NODE_ENV=development npm run lib -- --watch"
11 | },
12 | "author": "Autodesk Inc.",
13 | "license": "Apache-2.0",
14 | "dependencies": {
15 | "@orion-ui/components": "^1.0.3",
16 | "@orion-ui/style": "^1.0.3"
17 | },
18 | "peerDependencies": {
19 | "angular": "^1.5.9"
20 | },
21 | "devDependencies": {
22 | "babel-cli": "^6.18.0",
23 | "angular": "^1.5.9"
24 | }
25 | }
--------------------------------------------------------------------------------
/packages/marketing-playground/src/index.css:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 |
18 | body {
19 | margin: 0;
20 | padding: 0;
21 | font-family: sans-serif;
22 | }
23 |
--------------------------------------------------------------------------------
/packages/angular/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const lib20161201 = require('./2016-12-01');
18 |
19 | module.exports = {
20 | '2016-12-01': lib20161201
21 | };
22 |
--------------------------------------------------------------------------------
/packages/design-dsl/examples/HelloWorld.oml:
--------------------------------------------------------------------------------
1 |
2 | name>
3 |
4 |
5 |
6 |
7 | // component visitor
8 |
9 | - take filename (from world) and create a class
10 | - static everything
11 | - implement render
12 | - go to first child
13 | - create new template for that element
14 | - put template.initialRender in closure
15 | - put template.mount in mount section
16 | - put template.update in update section
17 | - put template.teardown in teardown section
18 | - a variable prefix will be provided by the component template
19 | - it uses the element tagName plus a number which increments
20 | every time it encounters the same tag name
21 |
--------------------------------------------------------------------------------
/packages/style/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const lib20161201 = require('./2016-12-01');
18 |
19 | module.exports = {
20 | '2016-12-01': lib20161201
21 | };
22 |
--------------------------------------------------------------------------------
/packages/components/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const lib20161201 = require('./2016-12-01');
18 |
19 | module.exports = {
20 | '2016-12-01': lib20161201
21 | };
22 |
--------------------------------------------------------------------------------
/packages/marketing-playground/src/constants.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | export const values = {
18 | storybookPath: './react/index.html'
19 | }
20 |
21 | export default values;
--------------------------------------------------------------------------------
/packages/react-components/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const lib20161201 = require('./2016-12-01');
18 |
19 | module.exports = {
20 | '2016-12-01': lib20161201
21 | };
22 |
--------------------------------------------------------------------------------
/packages/style/src/scale.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | module.exports = [
18 | 0,
19 | '.25rem',
20 | '.5rem',
21 | '1rem',
22 | '2rem',
23 | '4rem',
24 | '8rem',
25 | '16rem'
26 | ];
27 |
--------------------------------------------------------------------------------
/packages/components/src/utils/clear-children.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | module.exports = function clearChildren(node) {
18 | while (node.firstChild) {
19 | node.removeChild(node.firstChild);
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/packages/react-components/.gemini.yml:
--------------------------------------------------------------------------------
1 | rootUrl: http://localhost:9001/
2 | gridUrl: http://ondemand.saucelabs.com/wd/hub
3 | windowSize: 1024x768
4 | sessionsPerBrowser: 3
5 | system:
6 | plugins:
7 | sauce:
8 | username:
9 | accessKey:
10 | browsers:
11 | chrome:
12 | desiredCapabilities:
13 | browserName: 'chrome'
14 | version: '54.0'
15 | platform: 'macOs 10.12'
16 | name: 'gemini visual regression tests'
17 | firefox:
18 | desiredCapabilities:
19 | browserName: 'firefox'
20 | version: '46.0'
21 | platform: 'macOs 10.12'
22 | name: 'gemini visual regression tests'
23 | edge:
24 | desiredCapabilities:
25 | browserName: 'MicrosoftEdge'
26 | version: '14.14393'
27 | platform: 'Windows 10'
28 | name: 'gemini visual regression tests'
29 |
--------------------------------------------------------------------------------
/packages/components/test/bundle.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 |
18 | // eslint-disable-next-line
19 | require('@skatejs/web-components');
20 | require('../src/2016-12-01/index.js');
21 | window.RenderQueue = require('../src/utils/render-queue');
22 |
--------------------------------------------------------------------------------
/packages/components/wct.conf.json:
--------------------------------------------------------------------------------
1 | {
2 | "verbose": false,
3 | "suites": [
4 | "test/runner.html"
5 | ],
6 | "plugins": {
7 | "local": {
8 | "browsers": [
9 | "chrome"
10 | ]
11 | },
12 | "istanbul": {
13 | "disabled": false,
14 | "dir": "coverage/wct",
15 | "reporters": [
16 | "text-summary",
17 | "lcov",
18 | "json"
19 | ],
20 | "include": [
21 | "**/*.js"
22 | ],
23 | "exclude": [
24 | "**/bower_components/**"
25 | ]
26 | },
27 | "sauce": {
28 | "disabled": true,
29 | "browsers": [
30 | {
31 | "browserName": "chrome",
32 | "platform": "macOS 10.12",
33 | "version": "54.0",
34 | "name": "web-component tester"
35 | }
36 | ]
37 | }
38 | }
39 | }
--------------------------------------------------------------------------------
/packages/react-components/src/2016-12-01/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const Button = require('./button');
18 | const Datepicker = require('./datepicker');
19 | const Select = require('./select');
20 |
21 | module.exports = { Button, Datepicker, Select };
22 |
--------------------------------------------------------------------------------
/packages/react-playground/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | import React from 'react';
18 | import ReactDOM from 'react-dom';
19 | import App from './App';
20 | import './index.css';
21 |
22 | ReactDOM.render(
23 | ,
24 | document.getElementById('root')
25 | );
26 |
--------------------------------------------------------------------------------
/packages/marketing-playground/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 |
18 | import React from 'react';
19 | import ReactDOM from 'react-dom';
20 | import App from './App';
21 | import './index.css';
22 |
23 | ReactDOM.render(
24 | ,
25 | document.getElementById('root')
26 | );
27 |
--------------------------------------------------------------------------------
/packages/components/src/2016-12-01/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const Button = require('./button');
18 | const Datepicker = require('./datepicker');
19 | const Inline = require('./inline');
20 | const Select = require('./select');
21 |
22 | module.exports = { Button, Datepicker, Inline, Select };
23 |
--------------------------------------------------------------------------------
/packages/react-playground/src/App.test.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | import React from 'react';
18 | import ReactDOM from 'react-dom';
19 | import App from './App';
20 |
21 | it('renders without crashing', () => {
22 | const div = document.createElement('div');
23 | ReactDOM.render(, div);
24 | });
25 |
--------------------------------------------------------------------------------
/packages/components/src/2016-12-01/container.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const Registry = require('../utils/private-registry.js');
18 | const Element = require('./element');
19 |
20 | class Container extends Element {}
21 |
22 | Registry.define('orion-container', Container);
23 |
24 | module.exports = Container;
25 |
--------------------------------------------------------------------------------
/packages/components/src/utils/format-moment.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | module.exports = function formatMoment(date, format, locale) {
18 | if (!date) {
19 | return '';
20 | }
21 |
22 | if (locale) {
23 | return date.locale(locale).format(format);
24 | }
25 |
26 | return date.format(format);
27 | };
28 |
--------------------------------------------------------------------------------
/packages/marketing-playground/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | Orion
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/scripts/modules/deploy-config.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | module.exports = {
18 | /**
19 | * The standard bucket we upload everything to
20 | */
21 | Bucket: 'cdn.web-platform.io',
22 |
23 | /**
24 | * Takes a buildId and returns the S3 snapshot prefix
25 | */
26 | SnapshotPrefix: buildId => `orion-ui/orion/snapshot-${buildId}`
27 | };
28 |
--------------------------------------------------------------------------------
/packages/components/scripts/browserify.js:
--------------------------------------------------------------------------------
1 | /* eslint-env shelljs */
2 | /**
3 | Copyright 2016 Autodesk,Inc.
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
17 | */
18 | require('shelljs/global');
19 |
20 | const path = require('path');
21 |
22 | cd(path.join(__dirname, '..'));
23 |
24 | mkdir('-p', 'build');
25 | exec(
26 | 'NODE_ENV=development ./node_modules/.bin/browserify test/bundle.js -t [ babelify ] -o build/bundle.js --debug'
27 | );
28 |
--------------------------------------------------------------------------------
/rationale/MONOREPO.md:
--------------------------------------------------------------------------------
1 |
16 |
17 | # Monorepo
18 |
19 | ## TL;DR
20 |
21 | All code for the Orion project will be divided into packages within the orion repo.
22 | We'll use [Lerna](https://github.com/lerna/lerna) to help manage. This makes bigger changes
23 | easier to make and allows us to easily split out components to a smaller level of granularity later.
24 |
25 |
--------------------------------------------------------------------------------
/packages/components/src/2016-12-01/inline.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const Registry = require('../utils/private-registry.js');
18 | const Element = require('./element');
19 |
20 | class Inline extends Element {
21 | constructor() {
22 | super();
23 | this.display = 'inline-block';
24 | }
25 | }
26 |
27 | Registry.define('orion-inline', Inline);
28 |
29 | module.exports = Inline;
30 |
--------------------------------------------------------------------------------
/packages/design-dsl/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@orion-ui/design-dsl",
3 | "version": "1.0.0",
4 | "description": "Exploring a JSON based design language",
5 | "main": "index.js",
6 | "private": true,
7 | "scripts": {
8 | "compile": "tsc",
9 | "hello-primitives": "node lib/hello-primitives.js",
10 | "hello-toolbar": "node lib/hello-toolbar.js",
11 | "hello-panel": "node lib/hello-panel.js",
12 | "test": "echo 'No tests configured'"
13 | },
14 | "author": "Autodesk Inc.",
15 | "license": "Apache-2.0",
16 | "devDependencies": {
17 | "@types/chai": "^3.4.34",
18 | "@types/commander": "^2.3.31",
19 | "@types/intl-messageformat": "^1.3.0",
20 | "@types/mocha": "^2.2.39",
21 | "@types/node": "^6.0.52",
22 | "@types/shelljs": "^0.6.0",
23 | "intl": "^1.2.5",
24 | "mocha": "^3.2.0",
25 | "typescript": "^2.1.4"
26 | },
27 | "dependencies": {
28 | "clone-deep": "^0.2.4",
29 | "intl-messageformat": "^1.3.0"
30 | }
31 | }
--------------------------------------------------------------------------------
/packages/style/src/reset-focus-style.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const css = `
18 | .rst-foc:focus {
19 | outline: none;
20 | }
21 | `;
22 |
23 | const attributes = ['reset-focus-style'];
24 |
25 | function attributeChangedCallback(attrName, value) {
26 | if (value) {
27 | return 'rst-foc';
28 | }
29 | return '';
30 | }
31 |
32 | module.exports = {
33 | css,
34 | attributes,
35 | attributeChangedCallback
36 | };
37 |
--------------------------------------------------------------------------------
/packages/components/scripts/report-coverage.js:
--------------------------------------------------------------------------------
1 | /* eslint-env shelljs */
2 | /**
3 | Copyright 2016 Autodesk,Inc.
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
17 | */
18 | require('shelljs/global');
19 |
20 | const path = require('path');
21 |
22 | cd(path.join(__dirname, '..'));
23 |
24 | ['jest', 'wct'].forEach(dir => {
25 | console.log(`Sending coverage for ${dir}`);
26 | cat(path.join(__dirname, '..', 'coverage', dir, 'lcov.info')).exec(
27 | './node_modules/.bin/codacy-coverage'
28 | );
29 | });
30 |
--------------------------------------------------------------------------------
/packages/components/src/utils/inject-style-tag.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | module.exports = function injectStyleTag(id, style) {
18 | let scriptTag = document.body.querySelector(`[data-orion-id=${id}]`);
19 | if (scriptTag) {
20 | return;
21 | }
22 |
23 | scriptTag = document.createElement('style');
24 | scriptTag.textContent = style;
25 | scriptTag.setAttribute('data-orion-id', id);
26 | document.body.appendChild(scriptTag);
27 | };
28 |
--------------------------------------------------------------------------------
/packages/style/src/box-shadow.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const css = `
18 | .bsh-1 {
19 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
20 | }
21 | `;
22 |
23 | const attributes = ['box-shadow'];
24 |
25 | function attributeChangedCallback(attrName, value) {
26 | if (parseInt(value, 10) === 1) {
27 | return 'bsh-1';
28 | }
29 | return '';
30 | }
31 |
32 | module.exports = {
33 | css,
34 | attributes,
35 | attributeChangedCallback
36 | };
37 |
--------------------------------------------------------------------------------
/packages/angular/src/2016-12-01/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const ButtonComponent = require('./button');
18 | const SelectComponent = require('./select');
19 | const DatepickerComponent = require('./datepicker');
20 |
21 | // eslint-disable-next-line no-undef
22 | const orion = angular
23 | .module('orion', [])
24 | .component('orionButton', ButtonComponent)
25 | .component('orionSelect', SelectComponent)
26 | .component('orionDatepicker', DatepickerComponent);
27 |
28 | module.exports = orion;
29 |
--------------------------------------------------------------------------------
/packages/style/src/box-shadow.test.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const BoxShadow = require('./box-shadow');
18 | const chai = require('chai');
19 |
20 | const expect = chai.expect;
21 |
22 | describe('Box Shadow', () => {
23 | describe('attributeChangedCallback', () => {
24 | context('with 1', () => {
25 | it('returns class bsh-1', () => {
26 | expect(BoxShadow.attributeChangedCallback('box-shadow', 1)).to.eq(
27 | 'bsh-1'
28 | );
29 | });
30 | });
31 | });
32 | });
33 |
--------------------------------------------------------------------------------
/packages/design-dsl/modules/cli/orion-compile-test.ts:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | import { cd, exec, cat, ls } from 'shelljs';
18 | import { expect } from 'chai';
19 |
20 | import version from '../version';
21 |
22 | describe('compile HelloWorld.oml', () => {
23 | ls('examples/*.oml').forEach(file => {
24 | it(`compiles ${file} to ${file}.js`, () => {
25 | const { stdout } = exec(`node ${version} compile ${file}`);
26 | expect(stdout.toString()).to.equal( cat(`${file}.js`).toString());
27 | });
28 | });
29 | });
--------------------------------------------------------------------------------
/scripts/modules/constants.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 | */
16 |
17 | module.exports = {
18 | /**
19 | * All build directories should have the same name
20 | */
21 | buildDirName: 'build',
22 |
23 | /**
24 | * Where we store all the packages
25 | */
26 | packageDirName: 'packages',
27 |
28 | /**
29 | * Scripts for development and deployment of the project
30 | */
31 | scriptsPackageDirName: 'scripts',
32 |
33 | /**
34 | * Where we store coverage reports
35 | */
36 | coverageDirName: 'coverage'
37 | };
38 |
--------------------------------------------------------------------------------
/packages/style/src/border-radius.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const css = `
18 | .br0 { border-radius: 0;}
19 | .br2 { border-radius: 0.25rem;}
20 | .br-pill { border-radius: 9999px; }
21 | `;
22 |
23 | const attributes = ['border-radius'];
24 |
25 | const scale = {
26 | 0: 'br0',
27 | 2: 'br2',
28 | pill: 'br-pill'
29 | };
30 |
31 | function attributeChangedCallback(attrName, value) {
32 | return scale[value];
33 | }
34 |
35 | module.exports = {
36 | css,
37 | attributes,
38 | attributeChangedCallback
39 | };
40 |
--------------------------------------------------------------------------------
/packages/style/src/user-select.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const css = `
18 | .user-select {
19 | user-select: none;
20 | -moz-user-select: none;
21 | -webkit-user-select: none;
22 | -ms-user-select: none;
23 | }
24 | `;
25 |
26 | const attributes = ['userSelect'];
27 |
28 | function attributeChangedCallback(attrName, value) {
29 | if (!value) {
30 | return 'user-select';
31 | }
32 | return '';
33 | }
34 |
35 | module.exports = {
36 | css,
37 | attributes,
38 | attributeChangedCallback
39 | };
40 |
--------------------------------------------------------------------------------
/packages/style/src/user-select.test.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const UserSelect = require('./user-select');
18 | const chai = require('chai');
19 |
20 | const expect = chai.expect;
21 |
22 | describe('UserSelect', () => {
23 | describe('attributeChangedCallback', () => {
24 | context('with false', () => {
25 | it('returns class user-select', () => {
26 | expect(UserSelect.attributeChangedCallback('userSelect', false)).to.eq(
27 | 'user-select'
28 | );
29 | });
30 | });
31 | });
32 | });
33 |
--------------------------------------------------------------------------------
/packages/angular-playground/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | import '@skatejs/web-components';
18 | import './index.css';
19 |
20 | import 'angular';
21 | import '@orion-ui/angular/lib/2016-12-01';
22 |
23 | window.angular
24 | .module('app', ['orion'])
25 | .controller('Controller', function () {
26 | const app = this;
27 |
28 | app.options = [
29 | { value: 'one', label: 'One', key: 1 },
30 | { value: 'two', label: 'Two', key: 2 },
31 | { value: 'three', label: 'Three', key: 3 }
32 | ];
33 | });
34 |
--------------------------------------------------------------------------------
/packages/marketing-playground/src/App.css:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | ul, ol {
18 | list-style: none;
19 | margin: 0;
20 | padding: 0;
21 | }
22 |
23 | .fx-row {
24 | display: flex;
25 | flex-direction: row;
26 | }
27 |
28 | @media (min-width: 60em) {
29 | .fx-row-l {
30 | display: flex;
31 | flex-direction: row;
32 | }
33 | }
34 |
35 | .fx-g1 {
36 | flex-grow: 1;
37 | }
38 |
39 | .fx-g2 {
40 | flex-grow: 2;
41 | }
42 |
43 | .fx-w {
44 | flex-wrap: wrap;
45 | }
46 |
47 | .fai-c {
48 | align-items: center
49 | }
50 |
--------------------------------------------------------------------------------
/packages/style/src/reset-focus-style.test.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const Focus = require('./reset-focus-style');
18 | const chai = require('chai');
19 |
20 | const expect = chai.expect;
21 |
22 | describe('ResetFocusStyle', () => {
23 | describe('attributeChangedCallback', () => {
24 | context('with true', () => {
25 | it('returns class foc-nope', () => {
26 | expect(Focus.attributeChangedCallback('reset-focus-style', true)).to.eq(
27 | 'rst-foc'
28 | );
29 | });
30 | });
31 | });
32 | });
33 |
--------------------------------------------------------------------------------
/packages/components/test/runner.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 | Orion UI Web Components Tests
21 |
22 |
23 |
24 |
25 |
26 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/packages/components/src/2016-12-01/input-state.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | const InputState = {
18 | getInitialState(state = {}) {
19 | return {
20 | clearable: false,
21 | value: undefined,
22 | placeholder: undefined,
23 | ...state
24 | };
25 | },
26 |
27 | clear(state) {
28 | return {
29 | ...state,
30 | value: undefined
31 | };
32 | },
33 |
34 | updateValue(state, value) {
35 | return {
36 | ...state,
37 | value
38 | };
39 | }
40 | };
41 |
42 | module.exports = InputState;
43 |
--------------------------------------------------------------------------------
/packages/components/scripts/test-ci.js:
--------------------------------------------------------------------------------
1 | /* eslint-env shelljs */
2 | /**
3 | Copyright 2016 Autodesk,Inc.
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
17 | */
18 | require('shelljs/global');
19 |
20 | const path = require('path');
21 |
22 | cd(path.join(__dirname, '..'));
23 |
24 | const codes = [
25 | 'npm run browserify',
26 | 'npm run wct-sauce',
27 | 'node scripts/remap-wct-coverage.js',
28 | 'npm run jest-coverage',
29 | 'node scripts/report-coverage.js'
30 | ].map(command => {
31 | return exec(command).code;
32 | });
33 |
34 | if (codes.filter(c => c === 0).length !== codes.length) {
35 | process.exit(1);
36 | }
37 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Expected Behavior
4 |
5 |
6 |
7 | ## Current Behavior
8 |
9 |
10 |
11 | ## Possible Solution
12 |
13 |
14 |
15 | ## How do we reproduce the issue?
16 |
17 | Please post a public URL and ideally post a reduced test case. E.g. on jsbin.com that exhibits only your issue and nothing else.
18 |
19 | 1. Step 1 to reproduce
20 | 2. Step 2 to reproduce
21 | 3. …
22 |
23 | ## What browsers are affected?
24 |
25 | All browsers? Some specific browser? What device type?
26 |
27 | ## Which Orion version is affected?
28 |
29 | Is this a new issue? Or was it always broken? Paste your Orion version. You can find it in the browser dev tools.
30 |
--------------------------------------------------------------------------------
/packages/react-components/stories/button.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 |
18 | import { storiesOf } from '@kadira/storybook';
19 |
20 | import withText from './button/with-text';
21 | import disabled from './button/disabled';
22 | import hover from './button/hover';
23 | import small from './button/small';
24 | import large from './button/large';
25 | import focus from './button/focus';
26 |
27 | storiesOf('Button', module)
28 | .add('with text', withText)
29 | .add('disabled', disabled)
30 | .add('hover', hover)
31 | .add('small', small)
32 | .add('large', large)
33 | .add('focus', focus);
34 |
--------------------------------------------------------------------------------
/packages/react-components/stories/shared.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 | module.exports = {
18 | colorOptions: {
19 | '': '',
20 | black: 'Black',
21 | white: 'White',
22 | blue: 'Blue'
23 | },
24 | filterEmptyProps: props => {
25 | const newProps = {};
26 |
27 | Object.entries(props).forEach(([key, value]) => {
28 | if (props[key] !== '') {
29 | newProps[key] = value;
30 | } else {
31 | newProps[key] = undefined;
32 | }
33 | });
34 |
35 | return newProps;
36 | },
37 | sizeOptions: {
38 | large: 'Large',
39 | '': 'Regular',
40 | small: 'Small'
41 | }
42 | };
43 |
--------------------------------------------------------------------------------
/packages/marketing-playground/src/components/nav.js:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2016 Autodesk,Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License.
15 |
16 | */
17 |
18 | import React from 'react';
19 |
20 | import constants from '../constants';
21 |
22 | module.exports = function Nav() {
23 | const links = [
24 | { label: 'See All Components', url: constants.storybookPath },
25 | { label: 'GitHub', url: 'https://github.com/orion-ui/orion' },
26 | ];
27 |
28 | const linkNodes = links.map((link) => {
29 | return (
30 |