Releases: discoveryjs/discovery
Releases · discoveryjs/discovery
1.0.0-beta.50
- Fixed regression in broken build due to missed
marked
module inbrowser
configuration - Fixed prefix rendering in
badge
views
1.0.0-beta.49
- Added
markdown
view (andmd
alias) - Bumped
jora
to 1.0.0-beta.5 - Fixed inspector popup styles when discovery's root element is not
<body>
1.0.0-beta.48
- Fixed dark mode styles of action buttons in
struct
view for touch devices - Fixed context for nav to include route attributes (#70)
- Added
nav.remove(name)
method to remove nav items (#72) - Removed try/catch in
Widget#queryBool()
, so nowwhen
andwhenData
throws instead of silently fail (#69) - Fixed missing horizontal scrolling for
tree
view - Fixed postfix style in
badge
view when used inpage-header
's prelude - Fixed
source
view crashing on highlighting - Fixed path generation in
signature
view for objects in dictionary mode - Allowed to pass a space separated strings to
className
- Changed behaviour for a function as
className
value, it's return value can be a string or an array (any other is ignored) - Improved output view as a function in View inspector
- Fixed view's tree in View inspector for components with no a container
- Added display of non-rendered views with the reason in the view's tree in View inspector
- Fixed jump out
context
's content on re-render in view tree of View inspector - Bumped jora to
1.0.0-beta.4
and usesetup()
method (a bit more effective in creating functions from strings)
1.0.0-beta.47 View Inspector!
- Added view inspector
- Changed nav block to be fixed positioned
- Changed nav block class name
.discovery-content-badges
->.discovery-nav
- Added
.page_overscrolled
class name that's adding to a page element when page's content scrolled over viewport top side - Added
page-header
view - Added
passive
option support detection test andpassiveCaptureOptions
foraddEventListener()
inutils.dom
- Added
position
option forpopup
view with possible valuestrigger
(by default) andpointer
(to set position according to pointer coordinates) - Added
hideOnResize
andhideIfEventOutside
options forpopup
view (bothtrue
by default) - Added
Popup#freeze()
andPopup#unfreeze()
methods - Added
onClick
option for link view - Added
ignoreCase
option totext-match
view - Fixed various edge cases for
text-match
view - Fixed markup for
tree-leaf
view in non-collapsible state - Fixed data for
toggle
view when used intoggle-group
- Removed margin reset for header views when first child of block
- Exposed internal helpers as
utils
:debounce
,contentRect
,jsonStringifyInfo
,jsonStringifyAsJavaScript
,persistent
,pattern
andpointerXY
modules
1.0.0-beta.46
- Added
dropdown
view - Changed index and report page buttons to behave like a link (#34)
- Changed marker of darkmode is enabled from attribute
data-darkmode
to class.discovery-root-darkmode
- Fixed darkmode state restoring from localStorage on init
- CSS fixes
1.0.0-beta.45
- Fixed crash when
localStorage
is not available (e.g. due CSP restrictions) - Fixed
darkmode
anddarkmodePersistent
settings forApp
to use defaults when coresponding values in options areundefined
- Fixes for modelfree and dark mode
1.0.0-beta.44
- Added option to control localStorage usage for darkmode state
- Fixed dark mode switching in editor's hint popups
text-match
view- Added support for a string as match pattern
- Removed requirement for parentheses in regexp patterns
badge
views- Added
hint
data option to show tooltip with a hint
- Added
1.0.0-beta.43 Dark mode!
- Introduced dark color scheme a.k.a. dark mode. Various fixes and improvements in views markup and styles
- Improved loading progress overlay repaints to avoid freezing when document became inactive
- Added
Widget#pathToQuery(path)
method - Added
toggle
andtoggle-group
views - Changed a bit default page in model free mode
- Fixed
children
option ignorance initemConfig
whenlimitLines
is used fortree
view - Fixed
href
option to work forbutton
view - Fixed path generation in
signature
details - Fixed context for
Widget#nav.menu
item rendering
1.0.0-beta.42
- Exposed
lookupObjectMarker(value, type?)
andlookupObjectMarkerAll(value)
methods to prepare handler - Added
Widget#queryFn(query)
method - Added
Widget#queryToConfig(query)
method (uses internally for extracting config from a string) - Isolated view defined props and pass it to view's render. That means that special properties (
view
,when
,data
,whenData
,className
andpostRender
) aren't passing to a view's render now - Added queryable values in view's config. A queryable value is a string that starts with
=
, e.g.{ view: 'list', limit: '= size() > 13 ? 10 : false' }
will show entire list if its size <= 13, otherwise show by chunks of 10 items - Added in-string configuration for views, e.g.
"list{ limit: size() > 13 ? 10 : false, item: 'auto-link' }"
will be converted into{ view: 'list', limit: '=size() > 13 ? 10 : false', item: 'auto-link' }
- Made header on report page sticky positioned
- Fixed view rendering breaking on data query processing
- Fixed
Symbol()
stringifying instruct
view - Fixed overlapping a selection by view name spotlighting in view editor
- Fixed report scroll jumping on typing in an editor due to change in rendered content height
- Fixed
table
view rendering crash on column order detection - Fixed auto-sorting for a table view column with both
data
andcontent
in config
1.0.0-beta.41
- Reworked data loading progress bar to respect
Content-Encoding
andX-File-Size
headers - Fixed styles for
h3
,h4
andh5
views