forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UI Framework] Reorganize UI Framework and add Yeoman generator (elas…
…tic#13172) * Reorganize documentation styles so they all live in doc_site/components directory. (elastic#12809) - Remove global styles, e.g. body and html element selectors. * Create global_styles dir with sub-directories. (elastic#12833) * Add SCSS style guide. (elastic#12850) * Refactor UI Framework directory structure to house everything in a src directory. (elastic#12880) - Add components/index.js and services/index.js files to continue to export JS modules from the root. * Add KUI Yeoman generator. * Support creation of components. * Add documentation generator for main page, demo, and sandbox. - Add additional documentation snippets to KUI generator. (elastic#13076) - Fix incorrect use of double quotes in KUI generator snippet. (elastic#13086) - Remove infrequently used imports from the KUI generator test template. (elastic#13110) * Mock assets files for Jest. (elastic#13060) * Fix broken coverage report paths in Jest config. (elastic#13082) * Update eslint config to lint the new UI Framework directory structure. (elastic#13102) * Fix positioning of doc site pagination buttons. (elastic#13203) * Support hasReact prop for sandboxes. (elastic#13270) * Remove deprecated used of component mixin from KUI generator's SCSS template. (elastic#13377) * Fix rebasing errors. - Add dashboard back to Jest config. - Add missing form and tool_bar variables. * Rename tasks to createComponent and documentComponent. * Reference correct src paths in README. * Add children and className to templates' propTypes. * Add default folder name for page demo. * Add suffix to sandbox routes. * Specify testPathIgnorePatterns more clearly. * Rename component.test.js to test.js so that Jenkins won't try to run it. * Update npm scripts to depend on local yo dependency, not global. * Add ui_framework/src to copy task. * Simplify npm scripts and remove requirement for installing Yeoman from README. * Add services to moduleNameMapper in jest config. * Clean up Button and Gallery examples.
- Loading branch information
Showing
429 changed files
with
1,356 additions
and
578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ selenium | |
ui_framework/doc_site/build | ||
!ui_framework/doc_site/build/index.html | ||
yarn.lock | ||
.yo-rc.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# SCSS Style Guide | ||
|
||
## Original style guide | ||
|
||
Our style guide is an extension of [Sass Guidelines by Hugo Giraudel](https://sass-guidelin.es/). The rules we especially focus on are: | ||
|
||
* [Syntax & formatting](https://sass-guidelin.es/#syntax--formatting) (exceptions below) | ||
* [Naming conventions](https://sass-guidelin.es/#naming-conventions) (see the [CSS Style Guide](css_style_guide.md) for infomation on exceptions) | ||
* [Variables](https://sass-guidelin.es/#variables) | ||
* [Mixins](https://sass-guidelin.es/#mixins) | ||
|
||
## Syntax and formatting | ||
|
||
The Sass Guidelines site recommends using RBG and HSL values to format colors, but we're using | ||
hex values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.