docusaurus-theme-openapi-docs 0.0.0-542 → 0.0.0-546

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.
@@ -241,11 +241,11 @@ function SchemaTabsComponent(props) {
241
241
  (tabItem) => tabItem.props.value === defaultValue
242
242
  )[0],
243
243
  {
244
- className: "margin-vert--md",
244
+ className: styles.marginVertical,
245
245
  }
246
246
  )
247
247
  ) : (
248
- <div className="margin-vert--md">
248
+ <div className={styles.marginVertical}>
249
249
  {children.map((tabItem, i) =>
250
250
  cloneElement(tabItem, {
251
251
  key: i,
@@ -103,3 +103,8 @@
103
103
  width: 100%;
104
104
  }
105
105
  }
106
+
107
+ .marginVertical {
108
+ margin-top: 1rem !important;
109
+ margin-bottom: unset !important;
110
+ }
@@ -78,10 +78,14 @@
78
78
 
79
79
  .theme-api-markdown details li {
80
80
  list-style: none;
81
- padding-bottom: 5px;
82
81
  padding-top: 5px;
83
82
  }
84
83
 
84
+ .theme-api-markdown .tabs__item {
85
+ padding-bottom: unset;
86
+ padding-top: unset;
87
+ }
88
+
85
89
  .theme-api-markdown details > div > div {
86
90
  padding-top: unset !important;
87
91
  border-top: unset !important;
@@ -245,6 +249,8 @@
245
249
  color: var(--ifm-color-success);
246
250
  padding-left: 1.4rem;
247
251
  padding-right: 1.4rem;
252
+ padding-top: 1rem !important;
253
+ padding-bottom: 1rem !important;
248
254
  }
249
255
 
250
256
  .code__tab--python.tabs__item--active {
@@ -269,6 +275,8 @@
269
275
  color: var(--ifm-color-info);
270
276
  padding-left: 1.4rem;
271
277
  padding-right: 1.4rem;
278
+ padding-top: 1rem !important;
279
+ padding-bottom: 1rem !important;
272
280
  }
273
281
 
274
282
  .code__tab--go.tabs__item--active {
@@ -293,6 +301,8 @@
293
301
  color: var(--ifm-color-warning);
294
302
  padding-left: 1.4rem;
295
303
  padding-right: 1.4rem;
304
+ padding-top: 1rem !important;
305
+ padding-bottom: 1rem !important;
296
306
  }
297
307
 
298
308
  .code__tab--javascript.tabs__item--active {
@@ -317,6 +327,8 @@
317
327
  color: var(--ifm-color-danger);
318
328
  padding-left: 1.4rem;
319
329
  padding-right: 1.4rem;
330
+ padding-top: 1rem !important;
331
+ padding-bottom: 1rem !important;
320
332
  }
321
333
 
322
334
  .code__tab--bash.tabs__item--active {
@@ -341,6 +353,8 @@
341
353
  color: var(--ifm-color-danger);
342
354
  padding-left: 1.4rem;
343
355
  padding-right: 1.4rem;
356
+ padding-top: 1rem !important;
357
+ padding-bottom: 1rem !important;
344
358
  }
345
359
 
346
360
  .code__tab--ruby.tabs__item--active {
@@ -365,6 +379,8 @@
365
379
  color: var(--ifm-color-gray-500);
366
380
  padding-left: 1.4rem;
367
381
  padding-right: 1.4rem;
382
+ padding-top: 1rem !important;
383
+ padding-bottom: 1rem !important;
368
384
  }
369
385
 
370
386
  .code__tab--csharp.tabs__item--active {
@@ -389,6 +405,8 @@
389
405
  color: var(--ifm-color-success);
390
406
  padding-left: 1.4rem;
391
407
  padding-right: 1.4rem;
408
+ padding-top: 1rem !important;
409
+ padding-bottom: 1rem !important;
392
410
  }
393
411
 
394
412
  .code__tab--nodejs.tabs__item--active {
@@ -413,6 +431,8 @@
413
431
  color: var(--ifm-color-gray-500);
414
432
  padding-left: 1.4rem;
415
433
  padding-right: 1.4rem;
434
+ padding-top: 1rem !important;
435
+ padding-bottom: 1rem !important;
416
436
  }
417
437
 
418
438
  .code__tab--php.tabs__item--active {
@@ -241,11 +241,11 @@ function SchemaTabsComponent(props) {
241
241
  (tabItem) => tabItem.props.value === defaultValue
242
242
  )[0],
243
243
  {
244
- className: "margin-vert--md",
244
+ className: styles.marginVertical,
245
245
  }
246
246
  )
247
247
  ) : (
248
- <div className="margin-vert--md">
248
+ <div className={styles.marginVertical}>
249
249
  {children.map((tabItem, i) =>
250
250
  cloneElement(tabItem, {
251
251
  key: i,
@@ -103,3 +103,8 @@
103
103
  width: 100%;
104
104
  }
105
105
  }
106
+
107
+ .marginVertical {
108
+ margin-top: 1rem !important;
109
+ margin-bottom: unset !important;
110
+ }
@@ -78,10 +78,14 @@
78
78
 
79
79
  .theme-api-markdown details li {
80
80
  list-style: none;
81
- padding-bottom: 5px;
82
81
  padding-top: 5px;
83
82
  }
84
83
 
84
+ .theme-api-markdown .tabs__item {
85
+ padding-bottom: unset;
86
+ padding-top: unset;
87
+ }
88
+
85
89
  .theme-api-markdown details > div > div {
86
90
  padding-top: unset !important;
87
91
  border-top: unset !important;
@@ -245,6 +249,8 @@
245
249
  color: var(--ifm-color-success);
246
250
  padding-left: 1.4rem;
247
251
  padding-right: 1.4rem;
252
+ padding-top: 1rem !important;
253
+ padding-bottom: 1rem !important;
248
254
  }
249
255
 
250
256
  .code__tab--python.tabs__item--active {
@@ -269,6 +275,8 @@
269
275
  color: var(--ifm-color-info);
270
276
  padding-left: 1.4rem;
271
277
  padding-right: 1.4rem;
278
+ padding-top: 1rem !important;
279
+ padding-bottom: 1rem !important;
272
280
  }
273
281
 
274
282
  .code__tab--go.tabs__item--active {
@@ -293,6 +301,8 @@
293
301
  color: var(--ifm-color-warning);
294
302
  padding-left: 1.4rem;
295
303
  padding-right: 1.4rem;
304
+ padding-top: 1rem !important;
305
+ padding-bottom: 1rem !important;
296
306
  }
297
307
 
298
308
  .code__tab--javascript.tabs__item--active {
@@ -317,6 +327,8 @@
317
327
  color: var(--ifm-color-danger);
318
328
  padding-left: 1.4rem;
319
329
  padding-right: 1.4rem;
330
+ padding-top: 1rem !important;
331
+ padding-bottom: 1rem !important;
320
332
  }
321
333
 
322
334
  .code__tab--bash.tabs__item--active {
@@ -341,6 +353,8 @@
341
353
  color: var(--ifm-color-danger);
342
354
  padding-left: 1.4rem;
343
355
  padding-right: 1.4rem;
356
+ padding-top: 1rem !important;
357
+ padding-bottom: 1rem !important;
344
358
  }
345
359
 
346
360
  .code__tab--ruby.tabs__item--active {
@@ -365,6 +379,8 @@
365
379
  color: var(--ifm-color-gray-500);
366
380
  padding-left: 1.4rem;
367
381
  padding-right: 1.4rem;
382
+ padding-top: 1rem !important;
383
+ padding-bottom: 1rem !important;
368
384
  }
369
385
 
370
386
  .code__tab--csharp.tabs__item--active {
@@ -389,6 +405,8 @@
389
405
  color: var(--ifm-color-success);
390
406
  padding-left: 1.4rem;
391
407
  padding-right: 1.4rem;
408
+ padding-top: 1rem !important;
409
+ padding-bottom: 1rem !important;
392
410
  }
393
411
 
394
412
  .code__tab--nodejs.tabs__item--active {
@@ -413,6 +431,8 @@
413
431
  color: var(--ifm-color-gray-500);
414
432
  padding-left: 1.4rem;
415
433
  padding-right: 1.4rem;
434
+ padding-top: 1rem !important;
435
+ padding-bottom: 1rem !important;
416
436
  }
417
437
 
418
438
  .code__tab--php.tabs__item--active {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docusaurus-theme-openapi-docs",
3
3
  "description": "OpenAPI theme for Docusaurus.",
4
- "version": "0.0.0-542",
4
+ "version": "0.0.0-546",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -51,7 +51,7 @@
51
51
  "buffer": "^6.0.3",
52
52
  "clsx": "^1.1.1",
53
53
  "crypto-js": "^4.1.1",
54
- "docusaurus-plugin-openapi-docs": "0.0.0-542",
54
+ "docusaurus-plugin-openapi-docs": "0.0.0-546",
55
55
  "file-saver": "^2.0.5",
56
56
  "immer": "^9.0.7",
57
57
  "lodash": "^4.17.20",
@@ -73,5 +73,5 @@
73
73
  "engines": {
74
74
  "node": ">=14"
75
75
  },
76
- "gitHead": "f8f22a69b03f070a5952c504156bd668edf9be34"
76
+ "gitHead": "046657762bb71c14e7b629e94cbfb1cf1443ddae"
77
77
  }
@@ -241,11 +241,11 @@ function SchemaTabsComponent(props) {
241
241
  (tabItem) => tabItem.props.value === defaultValue
242
242
  )[0],
243
243
  {
244
- className: "margin-vert--md",
244
+ className: styles.marginVertical,
245
245
  }
246
246
  )
247
247
  ) : (
248
- <div className="margin-vert--md">
248
+ <div className={styles.marginVertical}>
249
249
  {children.map((tabItem, i) =>
250
250
  cloneElement(tabItem, {
251
251
  key: i,
@@ -103,3 +103,8 @@
103
103
  width: 100%;
104
104
  }
105
105
  }
106
+
107
+ .marginVertical {
108
+ margin-top: 1rem !important;
109
+ margin-bottom: unset !important;
110
+ }
@@ -78,10 +78,14 @@
78
78
 
79
79
  .theme-api-markdown details li {
80
80
  list-style: none;
81
- padding-bottom: 5px;
82
81
  padding-top: 5px;
83
82
  }
84
83
 
84
+ .theme-api-markdown .tabs__item {
85
+ padding-bottom: unset;
86
+ padding-top: unset;
87
+ }
88
+
85
89
  .theme-api-markdown details > div > div {
86
90
  padding-top: unset !important;
87
91
  border-top: unset !important;
@@ -245,6 +249,8 @@
245
249
  color: var(--ifm-color-success);
246
250
  padding-left: 1.4rem;
247
251
  padding-right: 1.4rem;
252
+ padding-top: 1rem !important;
253
+ padding-bottom: 1rem !important;
248
254
  }
249
255
 
250
256
  .code__tab--python.tabs__item--active {
@@ -269,6 +275,8 @@
269
275
  color: var(--ifm-color-info);
270
276
  padding-left: 1.4rem;
271
277
  padding-right: 1.4rem;
278
+ padding-top: 1rem !important;
279
+ padding-bottom: 1rem !important;
272
280
  }
273
281
 
274
282
  .code__tab--go.tabs__item--active {
@@ -293,6 +301,8 @@
293
301
  color: var(--ifm-color-warning);
294
302
  padding-left: 1.4rem;
295
303
  padding-right: 1.4rem;
304
+ padding-top: 1rem !important;
305
+ padding-bottom: 1rem !important;
296
306
  }
297
307
 
298
308
  .code__tab--javascript.tabs__item--active {
@@ -317,6 +327,8 @@
317
327
  color: var(--ifm-color-danger);
318
328
  padding-left: 1.4rem;
319
329
  padding-right: 1.4rem;
330
+ padding-top: 1rem !important;
331
+ padding-bottom: 1rem !important;
320
332
  }
321
333
 
322
334
  .code__tab--bash.tabs__item--active {
@@ -341,6 +353,8 @@
341
353
  color: var(--ifm-color-danger);
342
354
  padding-left: 1.4rem;
343
355
  padding-right: 1.4rem;
356
+ padding-top: 1rem !important;
357
+ padding-bottom: 1rem !important;
344
358
  }
345
359
 
346
360
  .code__tab--ruby.tabs__item--active {
@@ -365,6 +379,8 @@
365
379
  color: var(--ifm-color-gray-500);
366
380
  padding-left: 1.4rem;
367
381
  padding-right: 1.4rem;
382
+ padding-top: 1rem !important;
383
+ padding-bottom: 1rem !important;
368
384
  }
369
385
 
370
386
  .code__tab--csharp.tabs__item--active {
@@ -389,6 +405,8 @@
389
405
  color: var(--ifm-color-success);
390
406
  padding-left: 1.4rem;
391
407
  padding-right: 1.4rem;
408
+ padding-top: 1rem !important;
409
+ padding-bottom: 1rem !important;
392
410
  }
393
411
 
394
412
  .code__tab--nodejs.tabs__item--active {
@@ -413,6 +431,8 @@
413
431
  color: var(--ifm-color-gray-500);
414
432
  padding-left: 1.4rem;
415
433
  padding-right: 1.4rem;
434
+ padding-top: 1rem !important;
435
+ padding-bottom: 1rem !important;
416
436
  }
417
437
 
418
438
  .code__tab--php.tabs__item--active {