@digi-frontend/dgate-api-documentation 1.4.96 → 2.0.0

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.
Files changed (35) hide show
  1. package/README.md +333 -0
  2. package/dist/index.cjs +983 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +793 -0
  5. package/dist/index.d.cts.map +1 -0
  6. package/dist/index.d.ts +792 -6
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +955 -32
  9. package/dist/index.js.map +1 -1
  10. package/package.json +53 -69
  11. package/dist/index.css +0 -5
  12. package/dist/index.css.map +0 -1
  13. package/dist/index.d.mts +0 -7
  14. package/dist/index.mjs +0 -11
  15. package/dist/index.mjs.map +0 -1
  16. package/src/components/Chips/style.scss +0 -147
  17. package/src/components/InfoForm/InfoForm.module.scss +0 -165
  18. package/src/components/JsonInput/style.module.scss +0 -133
  19. package/src/components/LivePreview/LivePreview.module.scss +0 -181
  20. package/src/components/MethodAccordion/MethodAccordion.module.scss +0 -399
  21. package/src/components/SectionHead/SectionHead.scss +0 -29
  22. package/src/components/SimpleLabelValue/style.scss +0 -30
  23. package/src/components/Tooltip/Tooltip.scss +0 -133
  24. package/src/components/_global.scss +0 -338
  25. package/src/components/dialog/style.scss +0 -188
  26. package/src/components/table/style.scss +0 -223
  27. package/src/layout/docsComponents/Codebox/style.module.scss +0 -43
  28. package/src/layout/docsComponents/DocsAside/style.module.scss +0 -113
  29. package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +0 -382
  30. package/src/layout/docsComponents/DocsContent/OverviewPage/style.scss +0 -332
  31. package/src/layout/docsComponents/DocsContent/style.scss +0 -0
  32. package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +0 -297
  33. package/src/layout/docsComponents/DocsSideMenuTree/style.scss +0 -202
  34. package/src/layout/docsComponents/index.scss +0 -49
  35. package/src/test.scss +0 -3
@@ -1,147 +0,0 @@
1
- .chips-container {
2
- width: 100%;
3
-
4
- .overflow-dropdown-div {
5
- max-height: 4.25rem;
6
- overflow: hidden;
7
-
8
- .dropdown-list {
9
- display: flex;
10
- flex-wrap: wrap;
11
- gap: 0.625rem;
12
- margin-top: 0.625rem;
13
-
14
- .chip {
15
- display: flex;
16
- justify-content: center;
17
- align-items: center;
18
- background: #ebecf2;
19
- border-radius: 3.125rem;
20
- width: max-content;
21
- height: 1.5rem;
22
- overflow: hidden;
23
- transition: all 0.4s ease-in-out;
24
- padding-right: 0.9375rem;
25
- cursor: default;
26
-
27
- &:not(.disabled) {
28
- &:hover {
29
- background: #d8dae5;
30
- }
31
-
32
- &:active {
33
- background: #696c80;
34
- color: #fff;
35
-
36
- .chip-close-icon {
37
- path {
38
- stroke: #fff;
39
- }
40
- }
41
- }
42
-
43
- .chip-close-icon {
44
- cursor: pointer;
45
- }
46
- }
47
-
48
- &.clickable {
49
- cursor: pointer;
50
- }
51
-
52
- .chip-text {
53
- display: flex;
54
- align-items: center;
55
- font-size: 0.95rem;
56
- height: 100%;
57
- padding-left: 0.9375rem;
58
- margin-top: -0.125rem;
59
- }
60
-
61
- .chip-close-icon {
62
- display: block;
63
- height: 0.75rem;
64
- width: 0.75rem;
65
- margin-block: auto;
66
- margin-left: 0.625rem;
67
-
68
- path {
69
- stroke: #12131a;
70
- }
71
- }
72
- }
73
- }
74
- }
75
-
76
- .dropdown-max-height {
77
- max-height: -moz-fit-content;
78
- max-height: fit-content !important;
79
- }
80
-
81
- .dropdown-overflow {
82
- overflow: visible !important;
83
- }
84
-
85
- .show-btn {
86
- display: flex;
87
- flex-direction: row;
88
- flex-wrap: nowrap;
89
- justify-content: center;
90
- align-items: center;
91
- width: auto;
92
- height: 1.25rem;
93
- cursor: pointer;
94
- border: none;
95
- margin-top: 0.625rem;
96
- color: #9a9eb2;
97
- background-color: transparent;
98
-
99
- .show-btn-text-container {
100
- flex: 1 1 auto;
101
-
102
- .show-btn-text {
103
- font-size: 0.75rem;
104
- text-decoration-line: underline;
105
- }
106
- }
107
-
108
- .show-btn-icon-container {
109
- display: flex;
110
- justify-content: center;
111
- align-items: center;
112
- height: 1.25rem;
113
- width: 1.25rem;
114
- margin-top: 0.1875rem;
115
- margin-left: 0.125rem;
116
-
117
- .show-btn-icon {
118
- height: 1.25rem;
119
- width: 1.25rem;
120
-
121
- path {
122
- fill: #9a9eb2;
123
- }
124
- }
125
- }
126
-
127
- &:hover {
128
- color: #7c9bea;
129
-
130
- .show-btn-icon-container .show-btn-icon {
131
- path {
132
- fill: #7c9bea;
133
- }
134
- }
135
- }
136
-
137
- &:active {
138
- color: #2c4fa4;
139
-
140
- .show-btn-icon-container .show-btn-icon {
141
- path {
142
- fill: #2c4fa4;
143
- }
144
- }
145
- }
146
- }
147
- }
@@ -1,165 +0,0 @@
1
- .apiInfoForm {
2
- display: grid;
3
- padding: 1.25rem 1.875rem;
4
- gap: 1.25rem;
5
-
6
- .paramsTable {
7
- .paramDescContainer {
8
- display: flex;
9
-
10
- .paramDescContainer_separator {
11
- height: inherit;
12
- width: 1px;
13
- background-color: #d8dae5;
14
- }
15
-
16
- :global(.customBtn) {
17
- svg {
18
- path {
19
- stroke-width: 0.1;
20
- }
21
- }
22
-
23
- &.editDescBtn {
24
- padding: 0;
25
- margin-right: 1.25rem;
26
-
27
- :global(.btnContentWrapper) {
28
- display: flex;
29
- align-items: center;
30
- padding: 0;
31
- font-size: 0.875rem;
32
-
33
- :global(.endBtnIcon) {
34
- margin-block: auto;
35
-
36
- svg {
37
- path {
38
- fill: #12131a;
39
- }
40
- }
41
- }
42
- }
43
- }
44
-
45
- &.deleteParamBtn {
46
- padding: 0;
47
- border-width: 0 !important;
48
-
49
- :global(.btnContentWrapper) {
50
- :global(.endBtnIcon) {
51
- margin-block: auto;
52
-
53
- svg {
54
- width: 1.125rem;
55
- }
56
- }
57
- }
58
- }
59
-
60
- &:not(:global(.disabled)):global(.success) {
61
- :global(.endBtnIcon) {
62
- margin-block: auto;
63
-
64
- svg {
65
- width: 1.125rem;
66
- path {
67
- fill: #3aaa35;
68
- }
69
- }
70
- }
71
- }
72
- }
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
-
97
- .editDescTooltipContent {
98
- display: flex;
99
- flex-direction: column;
100
- gap: 0.625rem;
101
- padding-bottom: 0.625rem;
102
-
103
- > *:not(.editDescTooltipContent_header) {
104
- margin-inline: 0.625rem;
105
- }
106
-
107
- .editDescTooltipContent_header {
108
- font-weight: 600;
109
- font-size: 0.875rem;
110
- line-height: 1.25rem;
111
- padding: 0.75rem 1.25rem;
112
- border-bottom: 1px solid #d8dae5;
113
- }
114
- }
115
-
116
- :global(.requiredParam) {
117
- :global(.headContainer) {
118
- &::after {
119
- content: '*';
120
- color: red;
121
- transform: translateX(0.125rem);
122
- }
123
- }
124
- }
125
- }
126
-
127
- .apiDocRow {
128
- display: grid;
129
- grid-template-columns: 1fr 1fr;
130
- gap: 1.25rem;
131
- }
132
-
133
- .apiInfoForm_tagsChips {
134
- margin-top: -1.25rem;
135
- }
136
-
137
- .editDescTooltipContent {
138
- display: flex;
139
- flex-direction: column;
140
- gap: 0.625rem;
141
- padding-bottom: 0.625rem;
142
-
143
- > *:not(.editDescTooltipContent_header) {
144
- margin-inline: 0.625rem;
145
- }
146
-
147
- .editDescTooltipContent_header {
148
- font-weight: 600;
149
- font-size: 0.875rem;
150
- line-height: 1.25rem;
151
- padding: 0.75rem 1.25rem;
152
- border-bottom: 1px solid #d8dae5;
153
- }
154
- }
155
-
156
- :global(.requiredParam) {
157
- :global(.headContainer) {
158
- &::after {
159
- content: '*';
160
- color: red;
161
- transform: translateX(0.125rem);
162
- }
163
- }
164
- }
165
- }
@@ -1,133 +0,0 @@
1
- .json-editor-container {
2
- overflow: hidden;
3
- border-bottom-right-radius: 0.3125rem;
4
- border-bottom-left-radius: 0.3125rem;
5
-
6
- .json-editor-label {
7
- font-size: 0.875rem;
8
- font-weight: 600;
9
- line-height: 1.25rem;
10
- margin-bottom: 0.3125rem;
11
- }
12
-
13
- .json-editor {
14
- display: flex;
15
- flex-direction: column;
16
- background-color: #142452;
17
- width: 100%;
18
- outline: 1px solid transparent;
19
- position: relative;
20
- overflow: hidden;
21
-
22
- .actions-container {
23
- width: 100%;
24
- height: 5rem;
25
- padding: 1.25rem;
26
- border-radius: 0 0 0.3125rem 0.3125rem;
27
- background: #101e47;
28
- display: flex;
29
- flex-direction: row;
30
- gap: 1.25rem;
31
- align-items: center;
32
-
33
- .validate {
34
- color: #fff;
35
- text-align: center;
36
- font-size: 1rem;
37
- font-style: normal;
38
- font-weight: 600;
39
- line-height: 1.25rem;
40
- width: 8.75rem;
41
- padding: 0.625rem 2.25rem;
42
- background-color: rgba(240, 248, 255, 0);
43
- border-radius: 0.3125rem;
44
- border: 0.0625rem solid #4d75d8;
45
- cursor: pointer;
46
-
47
- &:disabled {
48
- color: #babdcc;
49
- border-color: #a2a5b6;
50
- }
51
- }
52
-
53
- .beautify {
54
- color: #fff;
55
- text-align: center;
56
- font-size: 1rem;
57
- font-style: normal;
58
- font-weight: 600;
59
- line-height: 1.25rem;
60
- width: 8.75rem;
61
- padding: 0.625rem 2.25rem;
62
- background-color: rgba(240, 248, 255, 0);
63
- border-radius: 0.3125rem;
64
- border: 1px solid #babdcc;
65
- cursor: pointer;
66
-
67
- &:disabled {
68
- color: #a2a5b6;
69
- border-color: #a2a5b6;
70
- }
71
- }
72
- }
73
-
74
- textarea {
75
- width: 100%;
76
- padding: 1.25rem;
77
- font-size: 0.875rem;
78
- font-style: normal;
79
- font-weight: 400;
80
- line-height: 1.25rem;
81
- color: white;
82
- height: 25rem;
83
- background-color: #142452;
84
- border: none;
85
- resize: none;
86
-
87
- &:focus,
88
- &:focus-within,
89
- &:focus-visible &:active {
90
- outline: none;
91
- border: none;
92
- }
93
-
94
- &::-webkit-scrollbar {
95
- width: 0.5rem;
96
- }
97
-
98
- &::-webkit-scrollbar-track {
99
- background-color: #828699;
100
- border: none;
101
- border-color: transparent;
102
- border-top-left-radius: 0;
103
- }
104
-
105
- &::-webkit-scrollbar-thumb {
106
- background-color: #d8dae5;
107
- border: none;
108
- border-color: transparent;
109
- border-radius: 0;
110
- }
111
- }
112
-
113
- &.invalid {
114
- outline: 1px solid #ce2828 !important;
115
- }
116
- }
117
-
118
- .error-message {
119
- color: #ce2828;
120
- font-size: 0.75rem;
121
- line-height: 1.25rem;
122
- margin-top: 0.625rem;
123
- }
124
-
125
- &.disabled {
126
- .json-editor {
127
- textarea {
128
- background-color: white;
129
- color: #12131a;
130
- }
131
- }
132
- }
133
- }
@@ -1,181 +0,0 @@
1
- .livePreviewContainer {
2
- .titleContainer {
3
- margin-top: 1.875rem;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- flex-wrap: wrap;
8
- max-width: 100%;
9
- gap: 1.25rem;
10
-
11
- p.apiName {
12
- font-size: 40px;
13
- line-height: 30px;
14
- font-weight: 500;
15
- word-wrap: break-word;
16
- overflow-wrap: break-word;
17
- word-break: break-all;
18
- }
19
-
20
- .livePreviewChip {
21
- background-color: #ebecf2;
22
- color: #12131a;
23
- }
24
- }
25
-
26
- .description_preview {
27
- word-break: break-all;
28
- }
29
- }
30
-
31
- .requestAccordion,
32
- .responseAccordion {
33
- background-color: #f4c5c5;
34
- border: 1px solid #da3f3f;
35
- border-radius: 0.3125rem !important;
36
- box-shadow: none !important;
37
- margin-bottom: 0 !important;
38
- cursor: default !important;
39
- margin-top: 0.625rem;
40
-
41
- :global(.accordion-header) {
42
- background-color: #f4c5c5;
43
- display: flex;
44
- align-items: center;
45
- justify-content: space-between;
46
- margin: 0 !important;
47
- padding: 0 !important;
48
- height: 4.0625rem !important;
49
- border-radius: 0.3125rem !important;
50
- }
51
-
52
- :global(.accordion-details.expanded) {
53
- border-top: 1px solid #000 !important;
54
- padding: 1.25rem !important;
55
- padding: 0 !important;
56
-
57
- background-color: #f4c5c5;
58
- :global(.jsonField) {
59
- div {
60
- textarea {
61
- border-top-right-radius: 0;
62
- border-top-left-radius: 0;
63
- height: 10rem;
64
- }
65
- }
66
- }
67
- }
68
-
69
- :global(.accordion-details.expanded .textArea .containerTextArea) {
70
- display: flex;
71
- }
72
-
73
- :global(.accordion-details.expanded .textArea .containerTextArea .inputField) {
74
- height: 100%;
75
- padding: 1.25rem;
76
- }
77
-
78
- .accordionContent {
79
- max-width: 100%;
80
- padding-left: 0.625rem;
81
- padding-right: 0.625rem;
82
- padding-top: 0.9375rem;
83
-
84
- ol {
85
- padding-left: 1.7rem;
86
- li {
87
- max-width: 100%;
88
- // white-space: normal;
89
- word-break: break-all;
90
- // overflow-wrap: break-word;
91
- }
92
- }
93
- }
94
-
95
- .requestAccordionSummary,
96
- .responseAccordionSummary {
97
- width: 100%;
98
- cursor: pointer;
99
- display: flex;
100
- justify-content: space-between;
101
- font-weight: 700;
102
- font-size: 1.125rem;
103
- line-height: 1.5rem;
104
- display: flex;
105
- align-items: center;
106
- // cursor: default !important;
107
- margin-inline: 0.625rem 1.25rem;
108
- }
109
-
110
- .responseAccordionSummary_title,
111
- .requestAccordionSummary_title,
112
- .responseAccordionSummary {
113
- display: flex;
114
- align-items: center;
115
-
116
- svg {
117
- transition: rotate 0.2s ease-in-out;
118
- }
119
-
120
- .expanded {
121
- rotate: 180deg;
122
- }
123
- }
124
-
125
- :global(.accordion-details) {
126
- :global(.textArea .inputField) {
127
- padding: 0;
128
- border: none;
129
- }
130
- }
131
-
132
- :global(.accordion-header .iconContainer .dropdownIcon) {
133
- display: none !important;
134
- }
135
-
136
- :global(.accordion-header) {
137
- cursor: default;
138
- }
139
- }
140
-
141
- .responseAccordion {
142
- .responseAccordionSummary {
143
- display: flex;
144
- align-items: center;
145
-
146
- :global(.multiSelectGroup .optionsList) {
147
- width: 8rem !important;
148
- min-width: 8rem !important;
149
- }
150
-
151
- :global(.multiSelectGroup) {
152
- width: 8rem;
153
- margin-left: auto;
154
-
155
- :global(.selectDisplay) {
156
- height: 2.0625rem !important;
157
- min-height: 2.0625rem !important;
158
- padding: 0;
159
- padding-left: 0.625rem;
160
- }
161
- }
162
- }
163
-
164
- :global(.accordion-header) {
165
- overflow: visible;
166
- cursor: default;
167
- }
168
-
169
- .statusCodeOptionContainer {
170
- display: grid;
171
- grid-template-columns: min-content min-content;
172
- align-items: center;
173
- gap: 0.625rem;
174
-
175
- .statusCodeOptionCircle {
176
- width: 0.625rem;
177
- aspect-ratio: 1 / 1;
178
- border-radius: 100%;
179
- }
180
- }
181
- }