@scalar/api-reference-react 0.9.54 → 0.9.55

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.9.55
4
+
3
5
  ## 0.9.54
4
6
 
5
7
  ## 0.9.53
package/README.md CHANGED
@@ -5,6 +5,20 @@
5
5
  [![License](https://img.shields.io/npm/l/%40scalar%2Fapi-reference-react)](https://www.npmjs.com/package/@scalar/api-reference-react)
6
6
  [![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)
7
7
 
8
+ ---
9
+
10
+ Scalar is an open-source API platform for teams who want beautiful developer interfaces without vendor lock-in.
11
+
12
+ - **[API References](https://scalar.com/products/api-references/getting-started)** — Interactive API documentation from OpenAPI and AsyncAPI specs.
13
+ - **[Docs](https://scalar.com/products/docs/getting-started)** — Write in Markdown/MDX, generate API references, sync with two-way Git.
14
+ - **[SDKs](https://scalar.com/products/sdks/getting-started)** — Type-safe client libraries in TypeScript, Python, Go, PHP, Java, and Ruby.
15
+ - **[MCP Servers](https://scalar.com/products/agent/getting-started)** — Generate secure MCP servers from your API spec.
16
+ - **[API Client](https://scalar.com/products/api-client/getting-started)** — Open-source, offline-first Postman alternative built on OpenAPI.
17
+
18
+ 20M+ monthly npm installs · 15,500+ GitHub stars · MIT licensed · [scalar.com](https://scalar.com)
19
+
20
+ ---
21
+
8
22
  ## Documentation
9
23
 
10
24
  [Read the documentation here](https://scalar.com/products/api-references/integrations/react)
package/dist/style.css CHANGED
@@ -10212,7 +10212,7 @@ body {
10212
10212
  }
10213
10213
  /* Configurable Layout Variables */
10214
10214
  @layer scalar-config {
10215
- .scalar-api-reference[data-v-433108a8] {
10215
+ .scalar-api-reference[data-v-d3902f0e] {
10216
10216
  /* The header height */
10217
10217
  --refs-header-height: calc(
10218
10218
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -10234,19 +10234,19 @@ body {
10234
10234
  /* The maximum width of the content column */
10235
10235
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
10236
10236
  }
10237
- .scalar-api-reference.references-classic[data-v-433108a8] {
10237
+ .scalar-api-reference.references-classic[data-v-d3902f0e] {
10238
10238
  /* Classic layout is wider */
10239
10239
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
10240
10240
  min-height: 100dvh;
10241
10241
  --refs-sidebar-width: 0;
10242
10242
  }
10243
10243
  }
10244
- .t-doc__sidebar[data-v-433108a8] {
10244
+ .t-doc__sidebar[data-v-d3902f0e] {
10245
10245
  z-index: 10;
10246
10246
  }
10247
10247
  /* ----------------------------------------------------- */
10248
10248
  /* References Layout */
10249
- .references-layout[data-v-433108a8] {
10249
+ .references-layout[data-v-d3902f0e] {
10250
10250
  /* Try to fill the container */
10251
10251
  min-height: 100dvh;
10252
10252
  min-width: 100%;
@@ -10270,31 +10270,31 @@ body {
10270
10270
 
10271
10271
  background: var(--scalar-background-1);
10272
10272
  }
10273
- .references-editor[data-v-433108a8] {
10273
+ .references-editor[data-v-d3902f0e] {
10274
10274
  grid-area: editor;
10275
10275
  display: flex;
10276
10276
  min-width: 0;
10277
10277
  background: var(--scalar-background-1);
10278
10278
  }
10279
- .references-rendered[data-v-433108a8] {
10279
+ .references-rendered[data-v-d3902f0e] {
10280
10280
  position: relative;
10281
10281
  grid-area: rendered;
10282
10282
  min-width: 0;
10283
10283
  background: var(--scalar-background-1);
10284
10284
  }
10285
- .scalar-api-reference.references-classic[data-v-433108a8],
10286
- .references-classic .references-rendered[data-v-433108a8] {
10285
+ .scalar-api-reference.references-classic[data-v-d3902f0e],
10286
+ .references-classic .references-rendered[data-v-d3902f0e] {
10287
10287
  height: initial !important;
10288
10288
  max-height: initial !important;
10289
10289
  }
10290
10290
  @layer scalar-config {
10291
- .references-sidebar[data-v-433108a8] {
10291
+ .references-sidebar[data-v-d3902f0e] {
10292
10292
  /* Set a default width if references are enabled */
10293
10293
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
10294
10294
  }
10295
10295
  }
10296
10296
  /* Footer */
10297
- .references-footer[data-v-433108a8] {
10297
+ .references-footer[data-v-d3902f0e] {
10298
10298
  grid-area: footer;
10299
10299
  }
10300
10300
  /* ----------------------------------------------------- */
@@ -10309,12 +10309,12 @@ body {
10309
10309
  */
10310
10310
  @media (width < 1000px) {
10311
10311
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
10312
- .references-developer-tools[data-v-433108a8] {
10312
+ .references-developer-tools[data-v-d3902f0e] {
10313
10313
  display: none;
10314
10314
  }
10315
10315
 
10316
10316
  /* Stack view on mobile */
10317
- .references-layout[data-v-433108a8] {
10317
+ .references-layout[data-v-d3902f0e] {
10318
10318
  /* Adjust the sidebar height to the viewport height minus the header height */
10319
10319
  --refs-sidebar-height: calc(
10320
10320
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -10329,13 +10329,13 @@ body {
10329
10329
  'rendered'
10330
10330
  'footer';
10331
10331
  }
10332
- .references-editable[data-v-433108a8] {
10332
+ .references-editable[data-v-d3902f0e] {
10333
10333
  grid-template-areas:
10334
10334
  'header'
10335
10335
  'navigation'
10336
10336
  'editor';
10337
10337
  }
10338
- .references-rendered[data-v-433108a8] {
10338
+ .references-rendered[data-v-d3902f0e] {
10339
10339
  position: static;
10340
10340
  }
10341
10341
  }
@@ -10346,11 +10346,11 @@ body {
10346
10346
  */
10347
10347
  /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
10348
10348
  @media (width < 1000px) {
10349
- .scalar-api-references-standalone-mobile[data-v-433108a8]:not(.references-classic) {
10349
+ .scalar-api-references-standalone-mobile[data-v-d3902f0e]:not(.references-classic) {
10350
10350
  --scalar-header-height: 50px;
10351
10351
  }
10352
10352
  }
10353
- .darklight-reference[data-v-433108a8] {
10353
+ .darklight-reference[data-v-d3902f0e] {
10354
10354
  width: 100%;
10355
10355
  margin-top: auto;
10356
10356
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.54",
21
+ "version": "0.9.55",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/api-reference": "1.62.5",
43
- "@scalar/types": "0.16.2"
42
+ "@scalar/types": "0.16.2",
43
+ "@scalar/api-reference": "1.62.6"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^19.2.7",