@digi-frontend/dgate-api-documentation 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/InfoForm/InfoForm.js +1 -1
- package/dist/src/components/InfoForm/InfoForm.js.map +1 -1
- package/dist/src/components/JsonInput/JsonInput.js +1 -1
- package/dist/src/components/JsonInput/JsonInput.js.map +1 -1
- package/dist/src/components/LivePreview/LivePreview.js +1 -1
- package/dist/src/components/LivePreview/LivePreview.js.map +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js.map +1 -1
- package/dist/src/components/table/table.js +1 -1
- package/dist/src/components/table/table.js.map +1 -1
- package/dist/src/components/table/tags-table.js +1 -1
- package/dist/src/components/table/tags-table.js.map +1 -1
- package/dist/src/constants/regex.js +1 -1
- package/dist/src/constants/regex.js.map +1 -1
- package/dist/src/helpers/layout.helper.js +1 -1
- package/dist/src/helpers/layout.helper.js.map +1 -1
- package/dist/src/layout/layout.js +1 -1
- package/dist/src/layout/layout.js.map +1 -1
- package/dist/src/layout/layout.module.css.js +1 -1
- package/dist/src/validator/form.scheme.js +1 -1
- package/dist/src/validator/form.scheme.js.map +1 -1
- package/dist/styles.css +265 -232
- package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +3 -1
- package/dist/types/constants/regex.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/InfoForm/InfoForm.module.scss +24 -1
- package/src/components/InfoForm/InfoForm.tsx +56 -33
- package/src/components/JsonInput/JsonInput.tsx +11 -6
- package/src/components/LivePreview/LivePreview.module.scss +18 -5
- package/src/components/LivePreview/LivePreview.tsx +7 -4
- package/src/components/MethodAccordion/MethodAccordion.tsx +77 -63
- package/src/components/Tooltip/Tooltip.scss +9 -6
- package/src/components/table/style.scss +1 -1
- package/src/components/table/table.tsx +9 -8
- package/src/components/table/tags-table.tsx +26 -13
- package/src/constants/regex.ts +1 -0
- package/src/helpers/layout.helper.ts +1 -1
- package/src/layout/layout.module.css +5 -0
- package/src/layout/layout.tsx +4 -1
- package/src/validator/form.scheme.ts +1 -1
package/dist/styles.css
CHANGED
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
.
|
|
2
|
-
height: 64px;
|
|
3
|
-
min-height: 64px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: #f1f2f6;
|
|
9
|
-
padding: 0 30px 0 30px;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
.containerTitleDrawer span {
|
|
13
|
-
color: #12131a;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
font-size: 18px;
|
|
16
|
-
line-height: 25px;
|
|
17
|
-
letter-spacing: 0em;
|
|
18
|
-
}
|
|
19
|
-
.containerTitleDrawer svg path {
|
|
20
|
-
stroke: #000 !important;
|
|
21
|
-
}
|
|
22
|
-
.containerTitleDrawer .closeIcon {
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}.methodAccordion {
|
|
1
|
+
.methodAccordion {
|
|
25
2
|
border: none !important;
|
|
26
3
|
box-shadow: none !important;
|
|
27
4
|
margin-bottom: 0 !important;
|
|
@@ -294,6 +271,124 @@
|
|
|
294
271
|
}
|
|
295
272
|
.methodAccordion.readOnly .methodSummaryContainer .methodExpandArrowContainer {
|
|
296
273
|
background-color: #ebecf2;
|
|
274
|
+
}.apiInfoForm {
|
|
275
|
+
display: grid;
|
|
276
|
+
padding: 1.25rem 1.875rem;
|
|
277
|
+
gap: 1.25rem;
|
|
278
|
+
}
|
|
279
|
+
.apiInfoForm .paramsTable .paramDescContainer {
|
|
280
|
+
display: flex;
|
|
281
|
+
}
|
|
282
|
+
.apiInfoForm .paramsTable .paramDescContainer .paramDescContainer_separator {
|
|
283
|
+
height: inherit;
|
|
284
|
+
width: 1px;
|
|
285
|
+
background-color: #d8dae5;
|
|
286
|
+
}
|
|
287
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn) svg path {
|
|
288
|
+
stroke-width: 0.1;
|
|
289
|
+
}
|
|
290
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn {
|
|
291
|
+
padding: 0;
|
|
292
|
+
margin-right: 1.25rem;
|
|
293
|
+
}
|
|
294
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) {
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
padding: 0;
|
|
298
|
+
font-size: 0.875rem;
|
|
299
|
+
}
|
|
300
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
|
|
301
|
+
margin-block: auto;
|
|
302
|
+
}
|
|
303
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg path {
|
|
304
|
+
fill: #12131a;
|
|
305
|
+
}
|
|
306
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn {
|
|
307
|
+
padding: 0;
|
|
308
|
+
border-width: 0 !important;
|
|
309
|
+
}
|
|
310
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
|
|
311
|
+
margin-block: auto;
|
|
312
|
+
}
|
|
313
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg {
|
|
314
|
+
width: 1.125rem;
|
|
315
|
+
}
|
|
316
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) {
|
|
317
|
+
margin-block: auto;
|
|
318
|
+
}
|
|
319
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg {
|
|
320
|
+
width: 1.125rem;
|
|
321
|
+
}
|
|
322
|
+
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg path {
|
|
323
|
+
fill: #3aaa35;
|
|
324
|
+
}
|
|
325
|
+
.apiInfoForm .paramsTable .externalDocsLink {
|
|
326
|
+
font-size: 0.875rem;
|
|
327
|
+
line-height: 1.25rem;
|
|
328
|
+
cursor: pointer;
|
|
329
|
+
align-self: center;
|
|
330
|
+
margin-right: 2rem;
|
|
331
|
+
}
|
|
332
|
+
.apiInfoForm .paramsTable .editExternalDocs {
|
|
333
|
+
display: flex;
|
|
334
|
+
align-items: center;
|
|
335
|
+
padding-right: 0.625rem;
|
|
336
|
+
}
|
|
337
|
+
.apiInfoForm .paramsTable .editExternalDocs svg {
|
|
338
|
+
cursor: pointer;
|
|
339
|
+
}
|
|
340
|
+
.apiInfoForm .paramsTable .editExternalDocs svg path {
|
|
341
|
+
fill: #12131a;
|
|
342
|
+
}
|
|
343
|
+
.apiInfoForm .paramsTable .editDescTooltipContent {
|
|
344
|
+
display: flex;
|
|
345
|
+
flex-direction: column;
|
|
346
|
+
gap: 0.625rem;
|
|
347
|
+
padding-bottom: 0.625rem;
|
|
348
|
+
}
|
|
349
|
+
.apiInfoForm .paramsTable .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
|
|
350
|
+
margin-inline: 0.625rem;
|
|
351
|
+
}
|
|
352
|
+
.apiInfoForm .paramsTable .editDescTooltipContent .editDescTooltipContent_header {
|
|
353
|
+
font-weight: 600;
|
|
354
|
+
font-size: 0.875rem;
|
|
355
|
+
line-height: 1.25rem;
|
|
356
|
+
padding: 0.75rem 1.25rem;
|
|
357
|
+
border-bottom: 1px solid #d8dae5;
|
|
358
|
+
}
|
|
359
|
+
.apiInfoForm .paramsTable :global(.requiredParam) :global(.headContainer)::after {
|
|
360
|
+
content: "*";
|
|
361
|
+
color: red;
|
|
362
|
+
transform: translateX(0.125rem);
|
|
363
|
+
}
|
|
364
|
+
.apiInfoForm .apiDocRow {
|
|
365
|
+
display: grid;
|
|
366
|
+
grid-template-columns: 1fr 1fr;
|
|
367
|
+
gap: 1.25rem;
|
|
368
|
+
}
|
|
369
|
+
.apiInfoForm .apiInfoForm_tagsChips {
|
|
370
|
+
margin-top: -1.25rem;
|
|
371
|
+
}
|
|
372
|
+
.apiInfoForm .editDescTooltipContent {
|
|
373
|
+
display: flex;
|
|
374
|
+
flex-direction: column;
|
|
375
|
+
gap: 0.625rem;
|
|
376
|
+
padding-bottom: 0.625rem;
|
|
377
|
+
}
|
|
378
|
+
.apiInfoForm .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
|
|
379
|
+
margin-inline: 0.625rem;
|
|
380
|
+
}
|
|
381
|
+
.apiInfoForm .editDescTooltipContent .editDescTooltipContent_header {
|
|
382
|
+
font-weight: 600;
|
|
383
|
+
font-size: 0.875rem;
|
|
384
|
+
line-height: 1.25rem;
|
|
385
|
+
padding: 0.75rem 1.25rem;
|
|
386
|
+
border-bottom: 1px solid #d8dae5;
|
|
387
|
+
}
|
|
388
|
+
.apiInfoForm :global(.requiredParam) :global(.headContainer)::after {
|
|
389
|
+
content: "*";
|
|
390
|
+
color: red;
|
|
391
|
+
transform: translateX(0.125rem);
|
|
297
392
|
}.json-editor-container {
|
|
298
393
|
overflow: hidden;
|
|
299
394
|
border-bottom-right-radius: 0.3125rem;
|
|
@@ -482,14 +577,14 @@
|
|
|
482
577
|
display: flex;
|
|
483
578
|
gap: 1.25rem;
|
|
484
579
|
margin-top: 1.875rem;
|
|
485
|
-
}p.apiName {
|
|
486
|
-
font-size: 40px;
|
|
487
|
-
line-height: 30px;
|
|
488
|
-
font-weight: 500;
|
|
489
580
|
}.tooltip-custom-wrapper {
|
|
490
581
|
display: flex;
|
|
491
582
|
}
|
|
492
583
|
|
|
584
|
+
[data-tippy-root] {
|
|
585
|
+
z-index: 2 !important;
|
|
586
|
+
}
|
|
587
|
+
|
|
493
588
|
.tippy-box {
|
|
494
589
|
background-color: #202f5b;
|
|
495
590
|
font-size: 0.875rem;
|
|
@@ -500,12 +595,13 @@
|
|
|
500
595
|
word-break: break-word;
|
|
501
596
|
position: relative;
|
|
502
597
|
border: 1px solid #d8dae5;
|
|
598
|
+
z-index: 2;
|
|
503
599
|
}
|
|
504
600
|
.tippy-box.function .tippy-content {
|
|
505
601
|
background-color: #fff !important;
|
|
506
602
|
color: #000 !important;
|
|
507
603
|
}
|
|
508
|
-
.tippy-box[data-placement] > .tippy-arrow:before {
|
|
604
|
+
.tippy-box.function[data-placement] > .tippy-arrow:before {
|
|
509
605
|
color: #fff !important;
|
|
510
606
|
}
|
|
511
607
|
.tippy-box.info .tippy-arrow {
|
|
@@ -562,7 +658,7 @@
|
|
|
562
658
|
.tippy-box.arrow-with-border[data-placement] .tippy-arrow {
|
|
563
659
|
top: 1px;
|
|
564
660
|
background-color: white;
|
|
565
|
-
z-index:
|
|
661
|
+
z-index: 2;
|
|
566
662
|
height: 1px;
|
|
567
663
|
}
|
|
568
664
|
.tippy-box.arrow-with-border[data-placement] .tippy-arrow:before {
|
|
@@ -573,213 +669,22 @@
|
|
|
573
669
|
border: none;
|
|
574
670
|
border-left: 1px solid #d8dae5 !important;
|
|
575
671
|
border-top: 1px solid #d8dae5 !important;
|
|
576
|
-
z-index:
|
|
672
|
+
z-index: 2;
|
|
577
673
|
top: -0.45rem;
|
|
578
674
|
transform-origin: center !important;
|
|
579
|
-
}
|
|
580
|
-
--white: #fff;
|
|
581
|
-
--Gray-5: #f1f2f6;
|
|
582
|
-
--Gray-10: #ebecf2;
|
|
583
|
-
--Gray-20: #d8dae5;
|
|
584
|
-
--Gray-30: #babdcc;
|
|
585
|
-
--Gray-40: #9a9eb2;
|
|
586
|
-
--Gray-50: #828699;
|
|
587
|
-
--Gray-60: #696c80;
|
|
588
|
-
--Gray-100: #12131a;
|
|
589
|
-
--black: #000;
|
|
590
|
-
--primary-static: #4d75d8;
|
|
591
|
-
--primary-hover: #7c9bea;
|
|
592
|
-
--primary-active: #2c4fa4;
|
|
593
|
-
--primary-disabled: #9a9eb2;
|
|
594
|
-
--secondary-static: #40e0d0;
|
|
595
|
-
--secondary-hover: #9efcf2;
|
|
596
|
-
--secondary-active: #2fa599;
|
|
597
|
-
--error-static: #da3f3f;
|
|
598
|
-
--error-hover: #e75d5d;
|
|
599
|
-
--error-active: #bb3232;
|
|
600
|
-
--success-static: #3aaa35;
|
|
601
|
-
--success-hover: #5cda56;
|
|
602
|
-
--success-active: #2a8a25;
|
|
603
|
-
--info-static: #c6c6c6;
|
|
604
|
-
--info-hover: #e4e4e4;
|
|
605
|
-
--info-active: #979797;
|
|
606
|
-
--warning-static: #faad14;
|
|
607
|
-
--warning-hover: #f9be4a;
|
|
608
|
-
--warning-active: #db9711;
|
|
609
|
-
--action-static: #142452;
|
|
610
|
-
--action-hover: #21387d;
|
|
611
|
-
--action-active: #000000;
|
|
612
|
-
--color-info-primary: #3a6cd1;
|
|
613
|
-
--primary-font-color: #142452;
|
|
614
|
-
--placeholder-font-color: #babdcc;
|
|
615
|
-
--warning-font-color: #ce2828;
|
|
616
|
-
--alert-error: #da3f3f;
|
|
617
|
-
--alert-light-error: #f4c5c5;
|
|
618
|
-
--alert-success: #3aaa35;
|
|
619
|
-
--alert-light-success: #c4e5c2;
|
|
620
|
-
--alert-info: #8eaaf1;
|
|
621
|
-
--alert-light-info: #c4d3f1;
|
|
622
|
-
--alert-warning: #faad14;
|
|
623
|
-
--alert-light-warning: #fde6b8;
|
|
624
|
-
--border-focus: #3a6cd1;
|
|
625
|
-
--tooltip-background-color: #202f5b;
|
|
626
|
-
--text-color-primary: #142452;
|
|
627
|
-
--text-color-secondary: #ffff;
|
|
628
|
-
--text-color-neutral: #828699;
|
|
629
|
-
--text-color-tertiary: #808080;
|
|
630
|
-
--text-color-note: #242424;
|
|
631
|
-
--text-color-quaternary: #142452;
|
|
632
|
-
--text-color-disabled: #ffff;
|
|
633
|
-
--background-color-white-primary: #fff;
|
|
634
|
-
--background-color-light-primary: #8eaaf1;
|
|
635
|
-
--background-color-white-secondary: #fff;
|
|
636
|
-
--background-color-primary-dark: #142452;
|
|
637
|
-
--background-color-gray-5: #f1f2f6;
|
|
638
|
-
--background-color-gray-30: #ebecf2;
|
|
639
|
-
--background-color-tertiary-light: #2c4fa4;
|
|
640
|
-
--background-color-gray-10: #f1f2f6;
|
|
641
|
-
--background-color-gray-40: #ebecf2;
|
|
642
|
-
--background-color-light-blue: #dfe7f8;
|
|
643
|
-
--border-color-primary: #babdcc;
|
|
644
|
-
--border-color-secondary: #d8dae5;
|
|
645
|
-
--border-color-neutral: #ebecf2;
|
|
646
|
-
--border-color-tertiary: #ebecf2;
|
|
647
|
-
--border-color-gray: #ebecf2;
|
|
648
|
-
--border-color-hover: #142452;
|
|
649
|
-
--border-color-active: #3a6cd1;
|
|
650
|
-
--icon-color-main: #142452;
|
|
651
|
-
--icon-color-secondary: #000;
|
|
652
|
-
--icon-color-quaternary: #babdcc;
|
|
653
|
-
--icon-color-disabled: #9a9eb2;
|
|
654
|
-
--link-btn-primary-color: #3a6cd1;
|
|
655
|
-
--button-color-static: #4d75d8;
|
|
656
|
-
--button-color-hover: #7c9bea;
|
|
657
|
-
--button-color-active: #2c4fa4;
|
|
658
|
-
--alert-natural: #c4d3f1;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.drawerItemContainer {
|
|
662
|
-
display: flex;
|
|
663
|
-
flex-direction: column;
|
|
664
|
-
}
|
|
665
|
-
.drawerItemContainer .title {
|
|
666
|
-
color: #000;
|
|
667
|
-
font-weight: 600;
|
|
668
|
-
font-size: 24px;
|
|
669
|
-
line-height: 35px;
|
|
670
|
-
margin-bottom: 3px;
|
|
671
|
-
margin-top: 1.5rem;
|
|
672
|
-
}
|
|
673
|
-
.drawerItemContainer .text {
|
|
674
|
-
color: #000;
|
|
675
|
-
font-weight: 400;
|
|
676
|
-
font-size: 24px;
|
|
677
|
-
line-height: 25px;
|
|
678
|
-
}
|
|
679
|
-
.drawerItemContainer .color-green {
|
|
680
|
-
color: var(--color-success);
|
|
681
|
-
}
|
|
682
|
-
.drawerItemContainer .color-red {
|
|
683
|
-
color: var(--color-error);
|
|
684
|
-
}.apiInfoForm {
|
|
685
|
-
display: grid;
|
|
686
|
-
padding: 1.25rem 1.875rem;
|
|
687
|
-
gap: 1.25rem;
|
|
688
|
-
}
|
|
689
|
-
.apiInfoForm .paramsTable .paramDescContainer {
|
|
690
|
-
display: flex;
|
|
691
|
-
}
|
|
692
|
-
.apiInfoForm .paramsTable .paramDescContainer .paramDescContainer_separator {
|
|
693
|
-
height: inherit;
|
|
694
|
-
width: 1px;
|
|
695
|
-
background-color: #d8dae5;
|
|
696
|
-
}
|
|
697
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn) svg path {
|
|
698
|
-
stroke-width: 0.1;
|
|
699
|
-
}
|
|
700
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn {
|
|
701
|
-
padding: 0;
|
|
702
|
-
margin-right: 1.25rem;
|
|
703
|
-
}
|
|
704
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) {
|
|
675
|
+
}.livePreviewContainer .titleContainer {
|
|
705
676
|
display: flex;
|
|
677
|
+
justify-content: space-between;
|
|
706
678
|
align-items: center;
|
|
707
|
-
padding: 0;
|
|
708
|
-
color: #12131a;
|
|
709
|
-
}
|
|
710
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
|
|
711
|
-
margin-block: auto;
|
|
712
|
-
}
|
|
713
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).editDescBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg path {
|
|
714
|
-
fill: #12131a;
|
|
715
|
-
}
|
|
716
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn {
|
|
717
|
-
padding: 0;
|
|
718
|
-
}
|
|
719
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) {
|
|
720
|
-
margin-block: auto;
|
|
721
|
-
}
|
|
722
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn).deleteParamBtn :global(.btnContentWrapper) :global(.endBtnIcon) svg {
|
|
723
|
-
width: 1.125rem;
|
|
724
|
-
}
|
|
725
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) {
|
|
726
|
-
margin-block: auto;
|
|
727
|
-
}
|
|
728
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg {
|
|
729
|
-
width: 1.125rem;
|
|
730
|
-
}
|
|
731
|
-
.apiInfoForm .paramsTable .paramDescContainer :global(.customBtn):not(:global(.disabled)):global(.success) :global(.endBtnIcon) svg path {
|
|
732
|
-
fill: #3aaa35;
|
|
733
|
-
}
|
|
734
|
-
.apiInfoForm .paramsTable .editDescTooltipContent {
|
|
735
|
-
display: flex;
|
|
736
|
-
flex-direction: column;
|
|
737
|
-
gap: 0.625rem;
|
|
738
|
-
padding-bottom: 0.625rem;
|
|
739
|
-
}
|
|
740
|
-
.apiInfoForm .paramsTable .editDescTooltipContent > *:not(.editDescTooltipContent_header) {
|
|
741
|
-
margin-inline: 0.625rem;
|
|
742
|
-
}
|
|
743
|
-
.apiInfoForm .paramsTable .editDescTooltipContent .editDescTooltipContent_header {
|
|
744
|
-
font-weight: 600;
|
|
745
|
-
font-size: 0.875rem;
|
|
746
|
-
line-height: 1.25rem;
|
|
747
|
-
padding: 0.75rem 1.25rem;
|
|
748
|
-
border-bottom: 1px solid #d8dae5;
|
|
749
|
-
}
|
|
750
|
-
.apiInfoForm .paramsTable :global(.requiredParam) :global(.headContainer)::after {
|
|
751
|
-
content: "*";
|
|
752
|
-
color: red;
|
|
753
|
-
transform: translateX(0.125rem);
|
|
754
|
-
}
|
|
755
|
-
.apiInfoForm .apiDocRow {
|
|
756
|
-
display: grid;
|
|
757
|
-
grid-template-columns: 1fr 1fr;
|
|
758
|
-
gap: 1.25rem;
|
|
759
|
-
}
|
|
760
|
-
.apiInfoForm .apiInfoForm_tagsChips {
|
|
761
|
-
margin-top: -1.25rem;
|
|
762
|
-
}
|
|
763
|
-
.apiInfoForm .editDescTooltipContent {
|
|
764
|
-
display: flex;
|
|
765
|
-
flex-direction: column;
|
|
766
|
-
gap: 0.625rem;
|
|
767
|
-
padding-bottom: 0.625rem;
|
|
768
679
|
}
|
|
769
|
-
.
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
font-weight: 600;
|
|
774
|
-
font-size: 0.875rem;
|
|
775
|
-
line-height: 1.25rem;
|
|
776
|
-
padding: 0.75rem 1.25rem;
|
|
777
|
-
border-bottom: 1px solid #d8dae5;
|
|
680
|
+
.livePreviewContainer .titleContainer p.apiName {
|
|
681
|
+
font-size: 40px;
|
|
682
|
+
line-height: 30px;
|
|
683
|
+
font-weight: 500;
|
|
778
684
|
}
|
|
779
|
-
.
|
|
780
|
-
|
|
781
|
-
color:
|
|
782
|
-
transform: translateX(0.125rem);
|
|
685
|
+
.livePreviewContainer .titleContainer .livePreviewChip {
|
|
686
|
+
background-color: #ebecf2;
|
|
687
|
+
color: #12131a;
|
|
783
688
|
}:root {
|
|
784
689
|
--white: #fff;
|
|
785
690
|
--Gray-5: #f1f2f6;
|
|
@@ -887,7 +792,7 @@
|
|
|
887
792
|
.tableSectionContainer .tableContainer .table .tableHead {
|
|
888
793
|
border: 1px solid var(--Gray-10);
|
|
889
794
|
margin: 0rem !important;
|
|
890
|
-
background-color:
|
|
795
|
+
background-color: #f8f9fb;
|
|
891
796
|
width: max-content;
|
|
892
797
|
min-width: 100%;
|
|
893
798
|
color: var(--Gray-50);
|
|
@@ -1015,4 +920,132 @@
|
|
|
1015
920
|
.tableSectionContainer .descArrow path,
|
|
1016
921
|
.tableSectionContainer .defaultSortArrow path {
|
|
1017
922
|
fill: var(--Gray-50);
|
|
923
|
+
}.containerTitleDrawer {
|
|
924
|
+
height: 64px;
|
|
925
|
+
min-height: 64px;
|
|
926
|
+
display: flex;
|
|
927
|
+
flex-direction: row;
|
|
928
|
+
justify-content: space-between;
|
|
929
|
+
align-items: center;
|
|
930
|
+
background-color: #f1f2f6;
|
|
931
|
+
padding: 0 30px 0 30px;
|
|
932
|
+
width: 100%;
|
|
933
|
+
}
|
|
934
|
+
.containerTitleDrawer span {
|
|
935
|
+
color: #12131a;
|
|
936
|
+
font-weight: 600;
|
|
937
|
+
font-size: 18px;
|
|
938
|
+
line-height: 25px;
|
|
939
|
+
letter-spacing: 0em;
|
|
940
|
+
}
|
|
941
|
+
.containerTitleDrawer svg path {
|
|
942
|
+
stroke: #000 !important;
|
|
943
|
+
}
|
|
944
|
+
.containerTitleDrawer .closeIcon {
|
|
945
|
+
cursor: pointer;
|
|
946
|
+
}:root {
|
|
947
|
+
--white: #fff;
|
|
948
|
+
--Gray-5: #f1f2f6;
|
|
949
|
+
--Gray-10: #ebecf2;
|
|
950
|
+
--Gray-20: #d8dae5;
|
|
951
|
+
--Gray-30: #babdcc;
|
|
952
|
+
--Gray-40: #9a9eb2;
|
|
953
|
+
--Gray-50: #828699;
|
|
954
|
+
--Gray-60: #696c80;
|
|
955
|
+
--Gray-100: #12131a;
|
|
956
|
+
--black: #000;
|
|
957
|
+
--primary-static: #4d75d8;
|
|
958
|
+
--primary-hover: #7c9bea;
|
|
959
|
+
--primary-active: #2c4fa4;
|
|
960
|
+
--primary-disabled: #9a9eb2;
|
|
961
|
+
--secondary-static: #40e0d0;
|
|
962
|
+
--secondary-hover: #9efcf2;
|
|
963
|
+
--secondary-active: #2fa599;
|
|
964
|
+
--error-static: #da3f3f;
|
|
965
|
+
--error-hover: #e75d5d;
|
|
966
|
+
--error-active: #bb3232;
|
|
967
|
+
--success-static: #3aaa35;
|
|
968
|
+
--success-hover: #5cda56;
|
|
969
|
+
--success-active: #2a8a25;
|
|
970
|
+
--info-static: #c6c6c6;
|
|
971
|
+
--info-hover: #e4e4e4;
|
|
972
|
+
--info-active: #979797;
|
|
973
|
+
--warning-static: #faad14;
|
|
974
|
+
--warning-hover: #f9be4a;
|
|
975
|
+
--warning-active: #db9711;
|
|
976
|
+
--action-static: #142452;
|
|
977
|
+
--action-hover: #21387d;
|
|
978
|
+
--action-active: #000000;
|
|
979
|
+
--color-info-primary: #3a6cd1;
|
|
980
|
+
--primary-font-color: #142452;
|
|
981
|
+
--placeholder-font-color: #babdcc;
|
|
982
|
+
--warning-font-color: #ce2828;
|
|
983
|
+
--alert-error: #da3f3f;
|
|
984
|
+
--alert-light-error: #f4c5c5;
|
|
985
|
+
--alert-success: #3aaa35;
|
|
986
|
+
--alert-light-success: #c4e5c2;
|
|
987
|
+
--alert-info: #8eaaf1;
|
|
988
|
+
--alert-light-info: #c4d3f1;
|
|
989
|
+
--alert-warning: #faad14;
|
|
990
|
+
--alert-light-warning: #fde6b8;
|
|
991
|
+
--border-focus: #3a6cd1;
|
|
992
|
+
--tooltip-background-color: #202f5b;
|
|
993
|
+
--text-color-primary: #142452;
|
|
994
|
+
--text-color-secondary: #ffff;
|
|
995
|
+
--text-color-neutral: #828699;
|
|
996
|
+
--text-color-tertiary: #808080;
|
|
997
|
+
--text-color-note: #242424;
|
|
998
|
+
--text-color-quaternary: #142452;
|
|
999
|
+
--text-color-disabled: #ffff;
|
|
1000
|
+
--background-color-white-primary: #fff;
|
|
1001
|
+
--background-color-light-primary: #8eaaf1;
|
|
1002
|
+
--background-color-white-secondary: #fff;
|
|
1003
|
+
--background-color-primary-dark: #142452;
|
|
1004
|
+
--background-color-gray-5: #f1f2f6;
|
|
1005
|
+
--background-color-gray-30: #ebecf2;
|
|
1006
|
+
--background-color-tertiary-light: #2c4fa4;
|
|
1007
|
+
--background-color-gray-10: #f1f2f6;
|
|
1008
|
+
--background-color-gray-40: #ebecf2;
|
|
1009
|
+
--background-color-light-blue: #dfe7f8;
|
|
1010
|
+
--border-color-primary: #babdcc;
|
|
1011
|
+
--border-color-secondary: #d8dae5;
|
|
1012
|
+
--border-color-neutral: #ebecf2;
|
|
1013
|
+
--border-color-tertiary: #ebecf2;
|
|
1014
|
+
--border-color-gray: #ebecf2;
|
|
1015
|
+
--border-color-hover: #142452;
|
|
1016
|
+
--border-color-active: #3a6cd1;
|
|
1017
|
+
--icon-color-main: #142452;
|
|
1018
|
+
--icon-color-secondary: #000;
|
|
1019
|
+
--icon-color-quaternary: #babdcc;
|
|
1020
|
+
--icon-color-disabled: #9a9eb2;
|
|
1021
|
+
--link-btn-primary-color: #3a6cd1;
|
|
1022
|
+
--button-color-static: #4d75d8;
|
|
1023
|
+
--button-color-hover: #7c9bea;
|
|
1024
|
+
--button-color-active: #2c4fa4;
|
|
1025
|
+
--alert-natural: #c4d3f1;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
.drawerItemContainer {
|
|
1029
|
+
display: flex;
|
|
1030
|
+
flex-direction: column;
|
|
1031
|
+
}
|
|
1032
|
+
.drawerItemContainer .title {
|
|
1033
|
+
color: #000;
|
|
1034
|
+
font-weight: 600;
|
|
1035
|
+
font-size: 24px;
|
|
1036
|
+
line-height: 35px;
|
|
1037
|
+
margin-bottom: 3px;
|
|
1038
|
+
margin-top: 1.5rem;
|
|
1039
|
+
}
|
|
1040
|
+
.drawerItemContainer .text {
|
|
1041
|
+
color: #000;
|
|
1042
|
+
font-weight: 400;
|
|
1043
|
+
font-size: 24px;
|
|
1044
|
+
line-height: 25px;
|
|
1045
|
+
}
|
|
1046
|
+
.drawerItemContainer .color-green {
|
|
1047
|
+
color: var(--color-success);
|
|
1048
|
+
}
|
|
1049
|
+
.drawerItemContainer .color-red {
|
|
1050
|
+
color: var(--color-error);
|
|
1018
1051
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { TransformedMethod } from '../../types/layout.type';
|
|
2
2
|
import { Tags } from '@entities/openApi';
|
|
3
|
-
declare const MethodsAccordion: ({ method, path, setFieldValue, readOnly, tags, }: {
|
|
3
|
+
declare const MethodsAccordion: ({ method, path, setFieldValue, readOnly, tags, isOpen, setIsOpen, }: {
|
|
4
4
|
method: TransformedMethod;
|
|
5
5
|
path: string;
|
|
6
6
|
setFieldValue?: (key: string, value: string | string[]) => void;
|
|
7
7
|
readOnly?: boolean;
|
|
8
8
|
tags: Tags[];
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
setIsOpen: (open: boolean) => void;
|
|
9
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export default MethodsAccordion;
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
30
30
|
padding: 0;
|
|
31
|
-
|
|
31
|
+
font-size: 0.875rem;
|
|
32
32
|
|
|
33
33
|
:global(.endBtnIcon) {
|
|
34
34
|
margin-block: auto;
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
&.deleteParamBtn {
|
|
46
46
|
padding: 0;
|
|
47
|
+
border-width: 0 !important;
|
|
47
48
|
|
|
48
49
|
:global(.btnContentWrapper) {
|
|
49
50
|
:global(.endBtnIcon) {
|
|
@@ -71,6 +72,28 @@
|
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
|
|
75
|
+
.externalDocsLink {
|
|
76
|
+
font-size: 0.875rem;
|
|
77
|
+
line-height: 1.25rem;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
align-self: center;
|
|
80
|
+
margin-right: 2rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.editExternalDocs {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
padding-right: 0.625rem;
|
|
87
|
+
|
|
88
|
+
svg {
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
|
|
91
|
+
path {
|
|
92
|
+
fill: #12131a;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
74
97
|
.editDescTooltipContent {
|
|
75
98
|
display: flex;
|
|
76
99
|
flex-direction: column;
|