* Shortcut to build asciidocs
The command to build the Kibana docs using the elastic/docs repo can be
easy to forget, so this script is an easy to way to do it right every
time.
* Configurable docs repo location
For folks that clone the elastic docs repo to a different location than
as a sibling of kibana.
Fixes#12227
It seems the order of aggs is important now. I don't know the underlying cause here, I just saved a good and bad version of tilemap visualizations and compared the saved objects to figure out what changed.
* Fix broken refresh shortcut for non OS X
On non OS X systems, the e.metaKey is most likely the windows key.
Hotkeys with the windows key are usually used as global (non application
internal) hotkeys. Also the documentation states, that Ctrl + Enter
should also work. With this commit it doesn't matter whether you press
the Meta or the Ctrl key + Enter.
* Make timelion datepicker more accessible
* Add meaningful labels to each interval shortcut, and
* Add a proper label to the custom input text field
* Make save options keyboard accessible, fix#12246, fix#12487
* Make sort button of saved-object-finder accessible, fix#12486
* Label timelion options correctly, fix#12907
* Make timelion legends keyboard accessible, fix#11844
* Make timelion autocompletion properly accessible
Fixes#11533, fixes#11525, fixes#12908
* Make timelion charts and actions accessible, fix#12909
* Add some more inline comments
* Fix HTML styles according to styleguide
* Replace sr-only by kuiScreenReaderOnly
* Make timelion autocompletion work with ARIA 1.1
* Make table pagination controls keyboard-accessible. Update KuiLink so it can be used on a button element.
* Add additional properties to link mixin to make kuiLink look the same for both buttons and anchor tags.
* Fix tests.
* Remove extraneous path info from SCSS import snippet.
* Add GuideCode to demo page. Put stateless function params on multiple lines.
* Log an error if you try to create a component with a blank name.
Fixes#13563
Brings additional attention to the fact that Kuery uses implicit ANDs whereas Lucene query syntax uses implicit ORs, which could confuse users if they're not aware of the difference.
Fixes#12955
* Added dark theme support to the ui framework modal component
* Also fixed z-index issue where dashboard panels would appear above the filter editor modal when the user moved or resized the panel (see gif below)
* Fix markdown vis settings labels
* Fix contrast ratio of markdown blockquotes, #12491
* Fix fontsize of blockquotes in markdown, #12904
* Add vis type description for screen reader, fix#12887
The way tooltips are currently implemented we unfortunately cannot use
the tooltip for the aria-describedby. This is another issue to solve.
* Make main nav a11y when collapsed
* Camel case the vistype id used in HTML
* Make console actions accessible
Use a button isntead of a link will solve all accessibility issues, and
we just need to style the button the same way we style the links.
* Create kbnUiAceKeyboardModeService
This will be needed for situations in which the initialization need to
be started manually, and a simple directive won't be enough.
* Make console input box accessible
* Make editor_actions buttons instead of links
Some CSS changes were made in #10592
which caused the fixed-scroll directive to stop working in Discover.
Specifically the overflow rule which was added forced the width and
scrollWidth of the doc-container to be the same, so the fixed-scroll
directive would never add the scroll bar to the page. This PR simply
reverts the changes made in the above linked PR. I retested the original
issues in the latest version of Firefox and was unable to reproduce. It
seems that the original issues may have been fixed in Firefox itself.
Fixes#12416
* #10569 Fixes the position of spy tab buttons at the top of the widget
* #10569 Fixes the position of spy tab buttons at the top of the widget.
* Fixes CSS for Spypanel Selector Menu.
* Add sectioning to discover app, fix#12633
* Set unique page title for discover app, fix#12641
* Remove sort button if column isn't sortable
Until now the button was just empty, but could still be focused via
keyboard. This is bad accessibility, so the sort button is now removed
completelyw hen the column isn't sortable.
* Initial version of a11y guide
* Move a11y content from HTML guide to a11y guide
* Add PR feedback
* Add PRs feedback
* Add more roles
* Refactor labeling elements section
* Rename "labeling elements" -> "naming elements"
* Use span instead of i for icon examples
* Correct typo
* Update UI Framework doc site with functionality for hiding and showing the chrome when viewing Sandboxes. (#13437)
* Fix formatting in generator-kui templates. (#13443)
* Reorganize documentation styles so they all live in doc_site/components directory. (#12809)
- Remove global styles, e.g. body and html element selectors.
* Create global_styles dir with sub-directories. (#12833)
* Add SCSS style guide. (#12850)
* Refactor UI Framework directory structure to house everything in a src directory. (#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. (#13076)
- Fix incorrect use of double quotes in KUI generator snippet. (#13086)
- Remove infrequently used imports from the KUI generator test template. (#13110)
* Mock assets files for Jest. (#13060)
* Fix broken coverage report paths in Jest config. (#13082)
* Update eslint config to lint the new UI Framework directory structure. (#13102)
* Fix positioning of doc site pagination buttons. (#13203)
* Support hasReact prop for sandboxes. (#13270)
* Remove deprecated used of component mixin from KUI generator's SCSS template. (#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.