Commit Graph

103 Commits

Author SHA1 Message Date
dependabot-preview[bot]
527fe72de0 Bump regenerator-runtime from 0.13.3 to 0.13.5 (#172)
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.3 to 0.13.5.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 19:04:38 -04:00
Rijk van Zanten
ef1c0dddeb Rename readme's to work with github (#171)
Fixes #110
2020-03-12 16:26:29 -04:00
Rijk van Zanten
68fe8099c1 v-form (#170)
* Add v-form with grid

* Sort the fields

* Add auto dense mode to header

* Tweak auto dense threshold

* Add readme / story / test placeholder
2020-03-12 16:22:08 -04:00
Rijk van Zanten
101abb9634 Use element size (#169)
* Install resize observer

* Add use-element-size composition

* Rename function to match filename

* Remove false statement from readme
2020-03-12 13:58:41 -04:00
Rijk van Zanten
68c625ec79 Document and structure utils / compositions (#168)
* Document and structure utils / compositions

* Fix tests

* Ignore tests in sonar cloud?

* Please sonar don't use my test files
2020-03-12 12:31:36 -04:00
dependabot-preview[bot]
7c732579c8 Bump sass from 1.26.2 to 1.26.3 (#167) 2020-03-11 23:03:53 +00:00
Rijk van Zanten
649957caa1 Sonar fixes (#166)
* Fix scope declaration in lang

* Rename event listener composition

* Rename compositions

* Don't export app from main

* Fix naming smell

* Add roles to asides

* Add rel to a tag in logo

* exclude storybook files from sonar cloud

* Fix a11y issues
2020-03-11 17:46:13 -04:00
Rijk van Zanten
e5b4b5931b BADGES (#165) 2020-03-11 17:03:27 -04:00
Rijk van Zanten
35cdf08130 Improve v-focus (#164) 2020-03-11 17:02:45 -04:00
Rijk van Zanten
8bdccf222a Run tests on master too 2020-03-11 16:36:04 -04:00
Rijk van Zanten
97b7bb01b6 Collections module (#158)
* Update folder structure of module

* Add barebones form structure

* Add basic tabular layout implementation

* Add test placeholders for collections module
2020-03-11 13:36:54 -04:00
WoLfulus
ceead2f93d Adds sonar to app (#163)
* adds sonar to app-next

* fix yaml tab

* adds test inclusions
2020-03-11 13:36:33 -04:00
Rijk van Zanten
2c5a56acfc Create define (#156)
* Delete unused styles from linear progress

* Allow vuei18n result as name in table haeder

* Rename createX to defineX

* Fix styling glitch in private view
2020-03-11 11:33:57 -04:00
Rijk van Zanten
971876d018 Interfaces registration (#155)
* Add interface registration logic

* Register interfaces in main

* Add basic text input example

* Add storybook knob for placeholder

* Add test for text-input

* Fix tests
2020-03-11 11:25:33 -04:00
Rijk van Zanten
a2ba2c8783 Add fields store (#144)
* Add fields store

* Add test coverage for fields store

* Remove hydration tests

It doesn't do anything itself, but just calls init / reset methods of stores

* Rename store methods to hydrate / dehydrate

* DRY that sucker

* Move hydration logic into a store

* Fix tests for new store

* Rename hydrate store to app store, fix tests in auth

* Fix tests of router

* Fix tests in module-bar-logo

* bunch of things

* Fix tests in hydrate

* Fix router tests

* Clean up auth tests

* Update tests for collections / fields stores

* Use stores instead of mocks in tests

* Add test for store getter in collections
2020-03-11 10:36:39 -04:00
dependabot-preview[bot]
74c99a55b6 Bump vue-i18n from 8.15.4 to 8.15.5 (#154) 2020-03-10 04:10:10 +00:00
dependabot-preview[bot]
6eaf81896c Bump @vue/test-utils from 1.0.0-beta.31 to 1.0.0-beta.32 (#149)
* Bump @vue/test-utils from 1.0.0-beta.31 to 1.0.0-beta.32

Bumps [@vue/test-utils](https://github.com/vuejs/vue-test-utils/tree/HEAD/packages/test-utils) from 1.0.0-beta.31 to 1.0.0-beta.32.
- [Release notes](https://github.com/vuejs/vue-test-utils/releases)
- [Changelog](https://github.com/vuejs/vue-test-utils/blob/dev/packages/test-utils/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-test-utils/commits/v1.0.0-beta.32/packages/test-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix tests to match test-utils change

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2020-03-09 14:45:31 -04:00
dependabot-preview[bot]
22c554b5ce Bump @typescript-eslint/parser from 2.22.0 to 2.23.0 (#153) 2020-03-09 17:20:05 +00:00
dependabot-preview[bot]
b8facdcba5 Bump @typescript-eslint/eslint-plugin from 2.22.0 to 2.23.0 (#152) 2020-03-09 17:15:06 +00:00
dependabot-preview[bot]
3c1a559525 Bump @typescript-eslint/typescript-estree from 2.22.0 to 2.23.0 (#151) 2020-03-09 17:09:45 +00:00
dependabot-preview[bot]
eaef01b709 Bump stylelint from 13.2.0 to 13.2.1 (#150) 2020-03-09 14:15:08 +00:00
dependabot-preview[bot]
c07432aaa5 Bump eslint-plugin-vue from 6.2.1 to 6.2.2 (#148) 2020-03-08 10:26:47 +00:00
dependabot-preview[bot]
1acd7e48e6 Bump @types/jest from 25.1.3 to 25.1.4 (#147) 2020-03-07 01:59:21 +00:00
dependabot-preview[bot]
aade1a6d75 Bump storybook-addon-themes from 5.3.0 to 5.4.0 (#146) 2020-03-05 16:00:57 +00:00
dependabot-preview[bot]
726b39adff Bump @babel/core from 7.8.6 to 7.8.7 (#145) 2020-03-05 02:05:35 +00:00
Rijk van Zanten
ff5e843357 Bump eslint from 5.16.0 to 6.8.0 (#143)
* Bump eslint from 5.16.0 to 6.8.0

Bumps [eslint](https://github.com/eslint/eslint) from 5.16.0 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.16.0...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix eslint setup for new major version

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-03-04 13:55:17 -05:00
Rijk van Zanten
5509d79756 Add header bar to private view (#142)
* Add header bar basic

* Fix alignment of breadcrumb

* Fix icon size in breadcrumb

* Add slots / stories for header bar

* Fix typo

* Add disabled color overrides to button

* Fix box icon

* Add header actions section for collapsable buttons

* Tweak css of drawer responsively

* Cover viewport (for notched use)

* Hide gray boxes on iOS taps

* Only show hover effect for devices that support hover

* Finish collapsable header buttons

* Remove wrong reference

* Tweak spacing of nav toggle

* Update storybook entry

* Add storybook entry for header actions

* Update structure of private-view and subcomponents

* Add provide support to storybook

* Update storybook / readme's for private view components

* Use defineComponent instead of createComponetn

* Fix broken import

* Fix tests, update readmes, etc

* Add storybook entries for header actions and module bar

* Remove unused utils

* Use defineComponent instead of createComponent

* Update structure of stories

* Fix story of private view
2020-03-04 13:37:41 -05:00
dependabot-preview[bot]
dba5329d31 Bump @vue/eslint-config-typescript from 4.0.0 to 5.0.2 (#141)
* Bump @vue/eslint-config-typescript from 4.0.0 to 5.0.2

Bumps [@vue/eslint-config-typescript](https://github.com/vuejs/eslint-config-typescript) from 4.0.0 to 5.0.2.
- [Release notes](https://github.com/vuejs/eslint-config-typescript/releases)
- [Commits](https://github.com/vuejs/eslint-config-typescript/commits/v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update eslintrc to match major upgrade of typescript-eslint

* Fix linter warnings and tests

* Fix tests for real this time

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-03-03 16:06:46 -05:00
dependabot-preview[bot]
be1d2cf4f8 Bump lint-staged from 9.5.0 to 10.0.8 (#138)
* Bump lint-staged from 9.5.0 to 10.0.8

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.8.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.5.0...v10.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Remove git add from lint-staged

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-03-03 13:28:04 -05:00
dependabot-preview[bot]
2bd12f3c2d Bump @types/jest from 24.9.1 to 25.1.3 (#140)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.1.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-03 13:23:26 -05:00
dependabot-preview[bot]
30e2ed4772 Bump @vue/eslint-config-prettier from 5.1.0 to 6.0.0 (#139)
* Bump @vue/eslint-config-prettier from 5.1.0 to 6.0.0

Bumps [@vue/eslint-config-prettier](https://github.com/vuejs/eslint-config-prettier) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/vuejs/eslint-config-prettier/releases)
- [Changelog](https://github.com/vuejs/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/eslint-config-prettier/compare/v5.1.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update eslintrc to reflect @vue/eslint-config-prettier changes

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-03-03 13:22:49 -05:00
dependabot-preview[bot]
2fe5fa0500 Bump @vue/composition-api from 0.3.4 to 0.4.0 (#137)
* Bump @vue/composition-api from 0.3.4 to 0.4.0

Bumps [@vue/composition-api](https://github.com/vuejs/composition-api) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/vuejs/composition-api/releases)
- [Changelog](https://github.com/vuejs/composition-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/composition-api/compare/v0.3.4...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Replace createComponent with defineComponent

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-03-03 13:16:05 -05:00
dependabot-preview[bot]
60b9990051 Bump @typescript-eslint/eslint-plugin from 2.21.0 to 2.22.0 (#134) 2020-03-02 18:20:46 +00:00
dependabot-preview[bot]
52d38f1721 Bump @typescript-eslint/parser from 2.21.0 to 2.22.0 (#135) 2020-03-02 18:16:02 +00:00
dependabot-preview[bot]
cb505a0260 Bump @typescript-eslint/typescript-estree from 2.21.0 to 2.22.0 (#133) 2020-03-02 18:11:19 +00:00
dependabot-preview[bot]
4ff6d2daf7 Bump eslint-plugin-vue from 5.2.3 to 6.2.1 (#129)
* Bump eslint-plugin-vue from 5.2.3 to 6.2.1

Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 5.2.3 to 6.2.1.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v5.2.3...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Upgrade eslint major version

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-03-02 11:13:56 -05:00
dependabot-preview[bot]
3d0dce82a0 Bump @babel/core from 7.8.4 to 7.8.6 (#131) 2020-03-02 15:52:32 +00:00
dependabot-preview[bot]
06b0a25589 Bump @vue/cli-plugin-vuex from 4.1.2 to 4.2.3 (#132) 2020-03-02 15:49:38 +00:00
dependabot-preview[bot]
3c232c6690 Bump @storybook/addon-links from 5.3.12 to 5.3.14 (#130) 2020-03-02 15:49:02 +00:00
dependabot-preview[bot]
8fd9f7749d Bump vue-i18n from 8.15.3 to 8.15.4 (#128) 2020-03-02 15:48:55 +00:00
Rijk van Zanten
e713759ae7 Fix tooltips (#127) 2020-02-28 16:32:28 -05:00
Rijk van Zanten
bdf424a234 Start alt-colors overrides (#126) 2020-02-28 16:27:38 -05:00
Rijk van Zanten
28531b531b Add hydration, collection store, collections module navigation (#125)
* Add hydration functions and logout route

* Add tests for hydration

* Add collections nav

* Structure collections module, add overview route

* Fix failing tests

* Add test for use-navigation

* Add tests for collections-navigation

* Add tests for collections-overview

* Fix export for use-navigation composition

* Update tests
2020-02-28 16:21:51 -05:00
Rijk van Zanten
3a76455776 Extension registration (#124)
* Restructure extensions and registration

* Add registration function for layouts

* Combine extension registrations

* Prefer separate folders over single

* Don't register extensions / views in storybook

* Fix failing tests
2020-02-27 15:50:49 -05:00
Rijk van Zanten
7c3b2d7f12 Private View / Drawer Detail (#123)
* Setup file / folder structure for drawer-detail

* Add type definition for icon options

Might be useful, might be not.

* Provide drawer open state to detail and respond to it

* Rename active-background to background-color-active

* Add hover / active styling

* Remove duplicate scss decl

* Add better example to storybook

* Add drawer detail group, finish drawer detail

* Format readme table (ocd)
2020-02-27 11:57:25 -05:00
Rijk van Zanten
ad459aa53a Test config (#122)
* Automatically reset / clear mocks between tests

* Fix test for private view

* Fix tooltip test

* Fix router tests

* Fix all other tests
2020-02-27 10:31:47 -05:00
Rijk van Zanten
47649d29a4 [WIP] Add v-item-group and v-item (#121)
* Add v-item-group / v-item / groupable compositions

* Add support for multiple prop

* Handle internal selection, prepare for custom v-model

* Support v-model in item-group

* Add docs

* Register new components

* Fix typing of and add tests for array equal util

* Move is-empty to util

* Base all internal state on index / value instead of id

* Cleanup usage of groupableParent

* Add support for max option

* Add support for mandatory

* Add docs / cleanup code

* Add full test coverage for groupable compositions

* Add tests for v-item / v-item-group
2020-02-27 09:57:05 -05:00
Rijk van Zanten
0669515c36 Add layout registration logic (#120)
* Move modules types into extensions file

* Rename modules store to extensions store

* Start on registering tabular

* Add register component util

* Register layouts

* Build bundle for modern browsers

Snuck this commit into the wrong branch, just because I can

* Add tests for layout registration + add dummy tabular
2020-02-25 09:48:36 -05:00
Jacob Rienstra
a6d17706e2 List Component MVP (#119)
* added empty files

* barest of bones

* density works

* density and nav

* hover kinda works for links, still need to ccheck click events and also die

* styling kinda working now

* readme and testing

* small tweaks

* put back whitespace

* actually fixed

* Add stylelint prettier to yarn lock

* Register list / list item globally

* Let names be inferred through file

* Match object structure in props

* Cleanup readme

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2020-02-24 18:17:53 -05:00
Rijk van Zanten
139ced06f5 Implement router dynamic route replacement logic (#116)
* Implement router dynamic route replacement logic

Vue router has pretty bad dynamic route registration handlers, meaning we have to hack around replacing the full routes array in order to achieve properly matched routes

* Add test coverage for replacerouter function

* Replace anonymous event handlers with named HoCs for better test coverage

* Add tests for module registration

* Get test coverage to 100%
2020-02-24 12:05:06 -05:00