This allows the config to pass in values that can be displayed in buttons without panels (see index.html).
Also updates our TypeScript related dependencies and disable the Chrome test runner since it isn't working. The IE test runner still works, so tests still run.
* Improve documentation. PanelFrame is two words.
* Copyright headers.
* Test copyright headers
* Upgrading tslint brought in two bad defaults
* lit-html recognized template strings and XSS mitigations
* Use before declare
* Final README updates
Add Uglify for minification.
Gzip the bundle so the toolbar is served gzipped for the demo (now only 3.3Kb!)
Update the author, license and repository fields for the package.json
* First stab at resource timings
* pretty numbers
* Prettier output, helper methods
* Add the pane to the user script
* Move some new types to a common place, add a formatter for paths
* Formatting fixes and added button titles
* Add and update formatter tests
* Bad import
* Test the new Button.title property
* resource-timing refactor with test stubs
* Add the remaining tests, plus supporting refactors.
- Added more `npm run ...` commands
- No more sourcemaps
- Update tslint to allow leading underscores in variable names (for unused variables in the mocks)
- Remove the unused webpack test config
- Rename the units type in Formatter
- Fix a minor typing issue in IPanel
- Move and update helpers in resource-timing
- Add a tsconfig for the tests project so it can be typechecked properly
- Fix tslint and tsc type errors in `button.spec.ts`, `formatter.spec.ts`, `toolbar.spec.ts`, `panel.mock.ts`, `navigation-timing-spec.ts`
- Add resource timing tests
* Update demo
* Address CR feedback
* Fix some typing errors
* Remove typedef rule, fix a compile type error in tests
* Improve `npm run check` to be comprehensive
* Dropped a default param when cleaning up typedef
* Fix keying with enums
Provides the navigation timing toolbar. This records key moments in the page load experience.
Additionally:
Updates Karma config to capture tests in folders
Updates the demo to have styles and use a real panel
Gives buttons a click action and a parent
Adds Formatter to handle formatting durations
Adds a few extra interfaces to handle panels being constructed with configurations
Adds PanelConfigMerger to merge user configs and default configs
Adds PanelFrame to hold and show/hide panels
Updates Toolbar to construct from panel classes and configurations
Cleans up a bug where the wrong container was cleared in the toolbar render
Removes a few tslint rules that were causing more problems than they were worth