Commit Graph

101 Commits

Author SHA1 Message Date
Oprysk Vyacheslav
b604bd8da8
fix: exclusiveMin/Max shows incorect range (#1799)
* fix: exclusiveMin/Max shows incorect range

* cover all number range cases & add unit tests

* add more tests

* fix maximum value

* simplify humanizeNumberRange function

* simplify exclusive checks

* Update src/utils/openapi.ts

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>

* update test coverage

* linting

* revert weird prettier changes

* add md files to prettier ignore

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-11-24 16:47:24 +02:00
Oprysk Vyacheslav
4fb5f914fa
chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
Gabriel Simon Gianotti
8e75f9929b
chore: remove commented out code (#1768) 2021-10-11 17:30:59 +03:00
romanhotsiy
3df72fb99f
fix: broken linkify
fixes #1655
2021-07-01 12:34:50 +03:00
Roman Hotsiy
c09cf9dbbe
chore: modernize build pipeline (#1635) 2021-06-09 14:57:36 +03:00
AlexVarchuk
823be24b31
feat: add basic support openApi 3.1 (#1622) 2021-05-31 19:23:05 +03:00
Anna Stasiuk
8c559bcbcd
fix: add missed labels to elements (#1445) 2020-11-30 12:51:27 +02:00
Anna Stasiuk
702fea0f41
feat: add tabTextColor option for responses (#1451) 2020-11-05 15:23:05 +02:00
Anna Stasiuk
6bedcf94b2
fix: fix arrow color in responses (#1452) 2020-11-05 15:22:42 +02:00
Anna Stasiuk
e2de5b065e
fix: increase colors contrast to make them more accessible (#1433) 2020-10-27 10:44:06 +02:00
romanhotsiy
0703f73f79
feat: new extensions hook PropertyDetailsCell + wrap property name into span 2020-10-16 18:24:26 +03:00
Roman Hotsiy
84ab95ddc7
fix: make schema layout more responsive on small screen (#1411) 2020-10-13 16:21:36 +03:00
Anna Stasiuk
6632d84453
fix: hide dropdown input on IE 11 (#1403) 2020-10-13 14:50:00 +03:00
Anna Stasiuk
a6b41aa00b
fix: show long pattern and add toggle button (#1375) 2020-09-07 12:53:30 +03:00
Roman Hotsiy
d009e4a959
fix: broken dropdowns with SSR by using forked react-dropdown-aria 2020-08-22 14:57:31 +03:00
Anna Stasiuk
41f81b4d96
feat: add webhooks support (#1304) 2020-08-14 16:33:25 +03:00
Anna Stasiuk
2ce71895bc
fix: make elements accessible by keyboard navigation tools (#1339)
* fix: make api endpoint selectable

* fix: make response schema details selectable

* fix: update react-dropdown-aria to make dropdowns selectable
2020-08-04 12:19:01 +03:00
Barış
c9596d4b6c
fix: highlight json keys using different color (#1287) 2020-07-25 19:52:27 +03:00
Anya Stasiuk
30a27c116b fix: update focus styling 2020-07-13 11:29:53 +03:00
Anya Stasiuk
e8a0d105ca fix: make dropdowns accessible by keyboard 2020-07-13 11:29:53 +03:00
Anya Stasiuk
006031c517 fix: make sample controls focusable 2020-07-13 11:29:53 +03:00
Anya Stasiuk
05fd7543a2 fix: make properties focusable 2020-07-13 11:29:53 +03:00
Anya Stasiuk
442014c06d fix: make response sections focusable 2020-07-13 11:29:53 +03:00
Petr Flaks
865a56a2a9
fix: prevent body scrolling when user scrolls side menu (#1300) 2020-06-23 11:53:00 +03:00
Roman Hotsiy
a0bd27c754
fix: improve names for some theme settings 2020-03-27 18:35:07 +02:00
Roman Hotsiy
094ce914e3
fix: remove hardcoded fontFamily for oneOf labels
fixes #1120
2019-12-12 17:32:02 +02:00
Roman Hotsiy
cd9fd61831
fix: add oneOf buttons vertical space when wrapped to new line 2019-10-16 17:21:32 +03:00
Roman Hotsiy
ce885f864a
fix: improve mime-type dropdown font 2019-10-16 17:19:42 +03:00
Andrew Zhukevych
0c20e64178 fix: changed several components style font-family to monospace (#1063)
fixes #909
2019-10-16 16:02:50 +03:00
Roman Hotsiy
e318fb3381
fix: remove excessive whitespace between md sections on small screens
fixes #874
2019-09-30 13:10:35 +03:00
Roman Hotsiy
bfbb0c1787
fix: enum list doesn't wrap
fixes #993
2019-08-01 10:32:11 +03:00
Roman Hotsiy
70d1ee9edd
fix: do not add extra slashes to pattern
fixes #983
2019-07-30 10:54:40 +03:00
Roman Hotsiy
12b7057055
fix: fix fields table overflow if deeply nested with long title 2019-07-08 08:30:04 +03:00
Roman Hotsiy
45c0c23c73
chore: prettier all 2019-07-07 23:34:09 +03:00
Roman Hotsiy
f52d9e875b fix: markdown in examples descriptions + minor ui tweaks 2019-07-07 21:28:19 +03:00
zhzxang
c488bbf305 fix: styled-component style error in tabs (#946) 2019-06-18 11:39:38 +03:00
Roman Hotsiy
5c187f34c9
fix: remove tabs top margin 2019-05-12 23:17:26 +03:00
Roman Hotsiy
de2aed21e7
fix: right panel code samples bg color 2019-05-12 23:17:26 +03:00
Kris Kalavantavanich
5dd5d6d704 feat: add lineHeight config for headings (#894) 2019-04-19 11:31:50 +03:00
Roman Hotsiy
548fae3cbc
fix: remove huge space after Authentication section
fixes #872
2019-03-27 12:35:48 +02:00
Jon Nicholson
b21cd3d366 fix: tidy up non-redoc vendor extension presentation (#847) 2019-03-15 17:15:06 +02:00
Roman Hotsiy
2cdfcd25cd
feat: support externalValue for examples
implements #551, related to #840
2019-03-11 17:14:14 +02:00
Roman Hotsiy
4dd79cd840
fix: set last section min-height
fixes #820
2019-02-26 10:41:52 +02:00
Roman Hotsiy
007752dfc4
fix: make padding for md code blocks and code samples consistent 2019-01-23 19:55:14 +07:00
Roman Hotsiy
fa39ce4eef
fix: make example/defaults badge consistent with code blocks 2019-01-17 13:19:17 +02:00
Roman Hotsiy
c7436f2cee
fix: pattern constrain spacing 2019-01-17 12:54:59 +02:00
Roman Hotsiy
e2d0cd5b18
fix: theme improvments by @stasiukanya
squashed commit of the following:

commit 6b07dc7fa0
Author: Anya Stasiuk <stasiukanya@gmail.com>
Date:   Wed Nov 7 15:18:26 2018 +0200

    theme fixes
2018-11-27 12:07:52 +02:00
Roman Hotsiy
3673720497
fix: nested oneOf button spacing
fixes #719
2018-11-27 11:36:07 +02:00
Roman Hotsiy
27d195ef38
chore: update styled components typings 2018-11-27 11:28:13 +02:00
Roman Hotsiy
ef520eacfa
chore: upgrade to styled-components@4 2018-10-18 12:14:40 +03:00