open-vault/ui/app/helpers
Noelle Daley eed91ba84d
Add storybook (#6496)
* add storybook

* add storybook files

* add ToggleButton and AlertBanner stories

* add knobs addon

* add notes addon

* add ToggleButton and AlertsBanner notes

* move panel to right

* add ICon

* create story blueprint

* add header to blueprint

* upgrade to storybook 5.0.1

* add confirm-action stories

* move addon panel to bottom

* update ConfirmAction

* add jsdoc comments to alert banner component

* add AlertInline

* set showPanel to true in blueprint

* include newly generated markdown for stories

* adjust code example for toggle button

* add json-to-markdown to package.json

* update AuthForm

* add Storybook readme

* add AlertPopup

* add story markdown custom template

* make storybook dependencies optional

* center all stories

* use message-types helper to dynamically render alerts

* hide panel

* nest alert stories

* move icons into table

* separate homelink into multiple stories

* add homelink with nav example

* remove see links from alert-banner

* add script to autogenerate markdown from component and add it to stories

* add viewport addon and remove centered addon

* update README to include markdown generation

* remove @see links from jsdoc comments

* update README to include jsdoc example

* update alert banner md

* get rid of trailing ######

* update jsdoc and regenerate notes files

* update i-con md

* Update ui/scripts/gen-story-md.js

Co-Authored-By: noelledaley <noelledaley@users.noreply.github.com>

* Update ui/scripts/gen-story-md.js

Co-Authored-By: noelledaley <noelledaley@users.noreply.github.com>

* add storybook docs to vault ui readme

* add jsdoc comments to component blueprint, automatically import md file in story blueprint

* add template template to component blueprint override

* apply basic theme to storybook

* remove comment

* make sure all stories are using auto generated md

* storybook: show optional props in brackets

* storybook: 🔪 HomeLink

* storybook: show AuthConfigForm stories with knobs
2019-04-03 14:06:20 -07:00
..
-date-base.js replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
.gitkeep
add.js
all-features.js
aws-regions.js
coerce-eq.js
date-format.js replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
date-from-now.js replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
dot-to-dash.js Bug fix - ui context menu (#6018) 2019-01-09 12:30:19 -06:00
has-feature.js
has-permission.js recompute has-permissions helper when permissions service attributes change (#6473) 2019-03-26 11:20:09 -05:00
includes.js
is-active-route.js
is-after.js replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
is-before.js replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
is-version.js
jsonify.js
message-types.js Add storybook (#6496) 2019-04-03 14:06:20 -07:00
mountable-auth-methods.js UI - jwt auth config model (#6410) 2019-03-14 16:01:56 -05:00
mountable-secret-engines.js
multi-line-join.js
nav-to-route.js
now.js replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
options-for-backend.js
path-or-array.js
reduce-to-array.js
replication-action-for-mode.js
route-params-for.js Add Policy-based Navigation (#5967) 2019-01-18 14:04:40 -08:00
set-flash-message.js
sha2-digest-sizes.js
stringify.js
supported-auth-backends.js add support for authenticating with RADIUS (#6488) 2019-03-28 16:40:22 -05:00
supported-secret-backends.js
tabs-for-auth-section.js UI - jwt auth config model (#6410) 2019-03-14 16:01:56 -05:00
tabs-for-identity-show.js
to-label.js
tools-actions.js
wizard-constants.js