@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,223 +0,0 @@
1
- @import '../_global';
2
-
3
- #EnumButton {
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- border: 0.0375rem solid #babdcc;
8
- border-radius: 0.3125rem;
9
- }
10
- div.endBtnIcon {
11
- align-self: center !important;
12
- }
13
-
14
- .methodDescForEnum {
15
- width: 16.875rem !important;
16
- }
17
-
18
- .select-inputs {
19
- display: flex;
20
- flex-direction: row;
21
- gap: .625rem;
22
- }
23
-
24
- .addEnumButton {
25
- color: #4d75d8 !important;
26
- display: flex;
27
- flex-direction: row;
28
- align-items: center;
29
- font-size: .9375rem;
30
- font-weight: 400;
31
- font-family: 'Cairo';
32
- gap: .3125rem;
33
- cursor: pointer;
34
- }
35
-
36
- .tableSectionContainer {
37
- .tableContainer {
38
- max-width: 100%;
39
- overflow-x: overlay;
40
-
41
- &.tableContainer * {
42
- font-family: 'Cairo';
43
- }
44
-
45
- .table {
46
- width: 100%;
47
- border-spacing: 0;
48
- border: none;
49
- border-right: 1px solid var(--border-color-neutral);
50
- border-left: 1px solid var(--border-color-neutral);
51
-
52
- &.borderRadiusTop {
53
- border-top-left-radius: 0.625rem;
54
- border-top-right-radius: 0.625rem;
55
- }
56
-
57
- &.borderRadiusBottom {
58
- border-bottom-left-radius: 0.625rem;
59
- border-bottom-right-radius: 0.625rem;
60
- }
61
-
62
- .tableHead {
63
- border: 1px solid var(--Gray-10);
64
- margin: 0rem !important;
65
- background-color: #f8f9fb;
66
- width: max-content;
67
- min-width: 100%;
68
- color: var(--Gray-50);
69
- font-weight: 400;
70
-
71
- .tableHeadCell {
72
- border-bottom: 1px solid var(--border-color-neutral);
73
- border-top: 1px solid var(--border-color-neutral);
74
- font-style: normal;
75
- font-size: 0.875rem;
76
- padding: 0.75rem 1.875rem;
77
- text-align: start;
78
- white-space: nowrap;
79
- color: inherit;
80
- font-weight: inherit;
81
-
82
- .sortIcon {
83
- padding: 0rem 0.25rem;
84
- height: 1.875rem;
85
- cursor: pointer;
86
- }
87
- }
88
-
89
- .headContainer {
90
- display: flex;
91
- flex-direction: row;
92
- align-items: center;
93
- text-overflow: ellipsis;
94
- }
95
- }
96
-
97
- .tableBody {
98
- tr {
99
- background-color: var(--background-color-white-secondary);
100
- overflow: visible !important;
101
-
102
- .tippy-content {
103
- background-color: var(--border-color-hover);
104
- color: var(--text-color-disabled);
105
- border-radius: 5px;
106
- font-size: 14px;
107
- font-weight: 400;
108
- line-height: 20px;
109
- text-align: left;
110
- }
111
- .tippy-box[data-placement^='bottom'] > .tippy-arrow:before {
112
- color: var(--border-color-hover);
113
- }
114
-
115
- &.rowSelected {
116
- background-color: var(--background-color-gray-40);
117
- }
118
- td {
119
- font-weight: 400;
120
- font-size: 0.875rem;
121
- text-align: start;
122
- color: var(--text-color-primary);
123
- border-bottom: 1px solid var(--border-color-gray);
124
- width: max-content;
125
- white-space: nowrap;
126
- height: 3.75rem;
127
- padding: 0.75rem 1.875rem;
128
- overflow: visible !important;
129
-
130
- .tableData {
131
- max-width: 100%;
132
- width: fit-content;
133
- white-space: nowrap;
134
- text-overflow: ellipsis;
135
- overflow: visible !important;
136
- }
137
-
138
- &:nth-child(2) {
139
- .tableData {
140
- .customBtn .btnContentWrapper .endBtnIcon svg path,
141
- .customBtn :link .btnContentWrapper .endBtnIcon svg path,
142
- .customBtn :visited .btnContentWrapper .endBtnIcon svg path {
143
- stroke-width: 0.1 !important;
144
- fill: #12131a !important;
145
- }
146
- }
147
- }
148
- }
149
-
150
- &:hover {
151
- background-color: var(--background-color-gray-10);
152
- }
153
- }
154
-
155
- .fallbackTableRow {
156
- background-color: var(--background-color-white-secondary);
157
- height: 4.375rem;
158
-
159
- &:hover {
160
- background-color: var(--background-color-white-secondary);
161
- }
162
-
163
- .fallbackContainer {
164
- width: 100%;
165
- height: 100%;
166
- color: var(--text-color-quaternary);
167
- .fallbackTextContainer {
168
- display: flex;
169
- flex-direction: row;
170
- align-items: center;
171
- justify-content: center;
172
- width: 100%;
173
- height: 100%;
174
-
175
- .fallbackText {
176
- font-style: normal;
177
- font-weight: 400;
178
- font-size: 0.875rem;
179
- line-height: 1.25rem;
180
- }
181
- }
182
- }
183
- }
184
- }
185
-
186
- th,
187
- td {
188
- text-align: left;
189
- }
190
- }
191
- }
192
-
193
- .tableFooterContainer {
194
- display: flex;
195
- width: 100%;
196
- height: auto;
197
- }
198
-
199
- .ascArrow {
200
- height: 0.8125rem;
201
- margin-bottom: 0.4375rem;
202
- cursor: pointer;
203
- }
204
-
205
- .descArrow {
206
- height: 0.8125rem;
207
- margin-top: 0.4375rem;
208
- cursor: pointer;
209
- }
210
-
211
- .defaultSortArrow {
212
- height: 1.25rem;
213
- cursor: pointer;
214
- }
215
-
216
- .ascArrow,
217
- .descArrow,
218
- .defaultSortArrow {
219
- path {
220
- fill: var(--Gray-50);
221
- }
222
- }
223
- }
@@ -1,43 +0,0 @@
1
- .codebox {
2
- border-radius: 0.25rem;
3
- overflow: hidden;
4
-
5
- &_header {
6
- display: flex;
7
- align-items: center;
8
- gap: 0.25rem;
9
- padding-left: 0.5rem;
10
- height: 1.75rem;
11
- border: 1px solid #bbbec5;
12
- border-top-right-radius: 0.25rem;
13
- border-top-left-radius: 0.25rem;
14
-
15
- &_themeToggle {
16
- width: 0.75rem;
17
- min-width: 0.75rem;
18
- aspect-ratio: 1 / 1;
19
- border: 1px solid transparent;
20
- border-radius: 100%;
21
- cursor: pointer;
22
-
23
- &_dark {
24
- background-color: #455162;
25
- border-color: #6b7280;
26
- }
27
-
28
- &_light {
29
- background-color: #edf1fb;
30
- border-color: #6b7280;
31
- }
32
- }
33
-
34
- &_copyIcon {
35
- cursor: pointer;
36
- }
37
- }
38
-
39
- :global(.custom-code-line),
40
- :global(.custom-code-line span) {
41
- font-family: 'Cascadia Code', sans-serif;
42
- }
43
- }
@@ -1,113 +0,0 @@
1
- .apiDocsAside {
2
- width: 22.5rem;
3
- padding: 3rem 1.5rem;
4
- background-color: #f0f1f2;
5
-
6
- &_title {
7
- font-size: 1.5rem;
8
- line-height: 2rem;
9
- font-weight: 600;
10
- color: #12131a;
11
- margin-bottom: 0.5rem;
12
- }
13
-
14
- &_subtitle {
15
- margin-bottom: 2rem;
16
-
17
- > span {
18
- font-size: 1.25rem;
19
- line-height: 1.75rem;
20
- font-weight: 400;
21
- }
22
-
23
- &_method {
24
- &[data-method='get'] {
25
- color: #3a6cd1;
26
- }
27
-
28
- &[data-method='post'] {
29
- color: #3aaa35;
30
- }
31
-
32
- &[data-method='put'] {
33
- color: #faad14;
34
- }
35
-
36
- &[data-method='delete'] {
37
- color: #da3f3f;
38
- }
39
-
40
- &[data-method='option'] {
41
- color: #495d97;
42
- }
43
-
44
- &[data-method='head'] {
45
- color: #9461c9;
46
- }
47
-
48
- &[data-method='patch'] {
49
- color: #58e2c2;
50
- }
51
- }
52
- }
53
-
54
- .codeboxSection {
55
- .codeboxHeader {
56
- height: 2rem;
57
- display: flex;
58
- justify-content: space-between;
59
- margin-bottom: 0.25rem;
60
-
61
- h6 {
62
- font-size: 1rem;
63
- line-height: 1.25rem;
64
- font-weight: 500;
65
- color: #616874;
66
- }
67
- }
68
-
69
- &:nth-of-type(2) {
70
- margin-top: 3rem;
71
- }
72
-
73
- :global(.multiSelectGroup) {
74
- :global(.selectDisplay) {
75
- padding: 0;
76
-
77
- :global(.select-label-container) {
78
- min-width: 100%;
79
- padding: 0;
80
- }
81
- }
82
-
83
- :global(.optionsList .option) {
84
- height: 1.5rem;
85
- padding: 0;
86
- }
87
-
88
- .statusCodeOptionContainer {
89
- display: flex;
90
- align-items: center;
91
- gap: 0.625rem;
92
- padding-left: 0.75rem;
93
-
94
- .statusCodeOptionCircle {
95
- width: 0.625rem;
96
- min-width: 0.625rem;
97
- aspect-ratio: 1 / 1;
98
- border-radius: 100%;
99
- }
100
- }
101
- }
102
- }
103
-
104
- :global(.multiSelectGroup .selectDisplay),
105
- :global(.multiSelectGroup) {
106
- width: 6.25rem !important;
107
- height: 1.5rem !important;
108
- }
109
-
110
- :global(.multiSelectGroup .selectDisplay .displayValueContainer .iconsContainer) {
111
- padding-right: 0.75rem !important;
112
- }
113
- }