@discoveryjs/discovery
Advanced tools
Changelog
1.0.0-beta.33 (07-05-2020)
table
's cell content rendering when col config is a stringdesc
in table
viewtable
auto-sorting detectionChangelog
1.0.0-beta.32 (07-05-2020)
table
view to use <table>
tag for root element instead of <div>
debounce
property to input
view configWidget#lib
safeFilterRx()
to add pattern value to produced regexp as rawSource
value
option behaviour for input
view to be a query instead of a plain valuedecodeParams
method call on initial renderdefined()
helperWidget#getPageOption()
methodpage.options.decodeParams()
, handler must take an array of URI component pairspage.options.encodeParams()
, handler may return an array of URI component pairs or an object beside a string; keys and values will be encoded by hostdefaultPageId
instead of hardcoded 'default'
valueWidget.options.reportPageId
optionWidget.setPageHash()
method to detect changes based on decoded page id, ref and params and re-apply new values if neededtable
to not override data
when column config in cols
object have no content
propertytable
to apply when
on column config to entire columntable
to not render a cell content depending on whenData
in column configwhen
and whenData
to not apply when undefined
or not an own property (like not set at all)table
viewChangelog
1.0.0-beta.31 (23-04-2020)
checkbox-list
viewwhenData
common option to view configPopup#toggle()
methodstruct
viewstruct
viewsignature
viewbadge
and pill-badge
views to use number and boolean data as textmenu-item
to take data as item text when it's a stringbadge
to take data as item text when it's a stringblock
view to pass onInit
and onChange
handlers if any to its contentcheckbox
, input
, select
and tabs
views to pass data
and context
to onInit
and onChange
handler beside value and nametable
view to not render a row when data is falsyutils.createElement()
to ignore attributes with not own keys or undefined
valuesignature
viewtabs
view when used in sidebarChangelog
1.0.0-beta.30 (25-03-2020)
safeFilterRx
dist/discovery.raw.css
to package, a file with no style isolationChangelog
1.0.0-beta.29 (24-02-2020)
tree
view to apply nested itemConfig
when limitLines
is used'children'
as default query for children in tree
viewChangelog
1.0.0-beta.28 (17-02-2020)
pageId
and pageRef
in page hashtree-leaf
layout when content overflowstree
view is emptytree
view padding in sidebarChangelog
1.0.0-beta.27 (18-12-2019)
Changelog
1.0.0-beta.26 (17-12-2019)
Widget#apply()
to recursevey call the method to each element when value is an arraychart
view (with Hightcharts as backend) to a separate repo and npm package, use @discoveryjs/view-plugin-highcharts
insteadChangelog
1.0.0-beta.25 (13-12-2019)
dist
files in a packageChangelog
1.0.0-beta.24 (13-12-2019)
popup
view styles when Discovery's container is not a document bodystruct
viewApp#render()
and Widget#render()
methods to return a render state promisePageRenderer#render()
method to return { pageEl, renderState }
object instead of just newPageEl
Widget
constructor to specify default page layout, i.e. new Widget(container, defaultPage, options)
extensions
and compact
options to Widget
/App
constructor, i.e. new Widget(el, null, { extensions, compact })
dist
files: lib.*
-> discovery.*