Anya Stasiuk
006031c517
fix: make sample controls focusable
2020-07-13 11:29:53 +03:00
Oleksiy Kachynskyy
830371b5d1
fix: do not collapse top level on Collapse All in json samples ( #1209 )
...
* fix: update collapseAll method
to avoid collapsing whole object/array
* fix: remove extra "slice()" call
2020-03-20 15:05:07 +02:00
Aleksandr Karo
d3f1c1677c
feat: add sampleCollapseLevel option ( #937 )
...
* feat: add sampleCollapseLevel option
* fix: rename sampleCollapseLevel option to jsonSampleExpandLevel
Change README.md description
* fix: provide maxCollapseLevel option via argument
* fix: rename normalizer function and some vars
2019-07-29 15:26:16 +03:00
Roman Hotsiy
a69c402d9b
fix: improve scrolling performance in Chrome with non-wrapped json examples
2018-11-05 15:57:01 +02:00
Roman Hotsiy
ef520eacfa
chore: upgrade to styled-components@4
2018-10-18 12:14:40 +03:00
Roman Hotsiy
393681b99e
feat: turn off code-blocks wrapping
...
Can enable using `typography.code.wrap` theme option, fixes #658
2018-10-05 15:10:53 +03:00
Roman Hotsiy
d74578dc9b
fix: remove break-all from code samples
2018-07-26 17:51:47 +03:00
Roman Hotsiy
8c9304a719
Fix: unify code samples and json styling, stop using injectGlobal for prism
...
fixes #491
2018-07-19 17:07:11 +03:00
Roman Hotsiy
58bddc8811
feat: big theme update
2018-07-19 14:33:51 +03:00
Roman Hotsiy
c7b3e47366
chore: remove unused imports after fix in TS@2.9.1
2018-07-16 18:28:36 +03:00
Roman Hotsiy
aaaa8999bf
fix: fix link colors in json samples
2018-06-28 20:25:11 +03:00
Roman Hotsiy
9115be8378
feat: export TypeScript typings
2018-05-16 12:44:44 +03:00
Roman Hotsiy
1aa7d5d279
tests: add JsonViewer basic unit tests
2018-03-26 23:09:09 +03:00
Roman Hotsiy
02c2413da8
fix: fix overflowing content in JSON samples
2018-03-05 13:14:26 +02:00
Roman Hotsiy
5bb0bdfd29
feat: port "copy to clipboard" / "expand/collapse all" functionality
...
closes #410
2018-01-23 18:49:45 +02:00
Roman Hotsiy
dc18743df4
chore: add tslint + fix lint issues
2018-01-23 15:04:50 +02:00
Roman Hotsiy
4c3b4aa589
Initial React rewrite
2017-10-12 00:01:37 +03:00