@scalar/api-client 0.1.1 → 0.1.3

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/style.css CHANGED
@@ -967,11 +967,11 @@ to {
967
967
  font-size: 12px;
968
968
  margin-top: -3px;
969
969
  justify-content: space-between;
970
- .cm-s-default {
970
+ }
971
+ .scalar-api-client__item__content .cm-s-default {
971
972
  border: var(--scalar-api-client-border);
972
973
  border-radius: var(--scalar-api-client-rounded);
973
974
  }
974
- }
975
975
  .scalar-api-client__item__content .scalar-api-client__item__content--code {
976
976
  width: 100%;
977
977
  max-height: calc(100vh - 200px);
@@ -1027,11 +1027,11 @@ to {
1027
1027
  cursor: pointer;
1028
1028
  margin: 0 4px 8px;
1029
1029
  user-select: none;
1030
- &:hover {
1031
- box-shadow: 0 0 0 1px var(--scalar-api-client-border-color);
1032
- background: var(--scalar-api-client-gradient);
1033
- color: var(--scalar-api-client-theme-color-1);
1034
1030
  }
1031
+ .scalar-collapsible-section-option:hover {
1032
+ box-shadow: 0 0 0 1px var(--scalar-api-client-border-color);
1033
+ background: var(--scalar-api-client-gradient);
1034
+ color: var(--scalar-api-client-theme-color-1);
1035
1035
  }
1036
1036
  .input {
1037
1037
  background: var(--scalar-api-client-background-secondary);
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "@scalar/api-client",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "author": "Scalar",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
7
7
  "node": ">=18"
8
8
  },
9
9
  "type": "module",
10
- "main": "src/index.ts",
11
10
  "files": [
12
11
  "dist"
13
12
  ],
13
+ "main": "dist/index.js",
14
+ "types": "dist/index.d.ts",
14
15
  "dependencies": {
15
16
  "@codemirror/lang-javascript": "6.1.9",
16
17
  "@codemirror/lang-json": "6.0.1",
@@ -30,8 +31,8 @@
30
31
  "pretty-bytes": "6.1.0",
31
32
  "pretty-ms": "8.0.0",
32
33
  "tippy.js": "6.3.7",
33
- "@scalar/use-codemirror": "0.1.1",
34
- "@scalar/use-keyboard-event": "0.1.1"
34
+ "@scalar/use-codemirror": "0.1.3",
35
+ "@scalar/use-keyboard-event": "0.1.3"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@vitejs/plugin-vue": "4.2.3",
package/src/index.ts DELETED
@@ -1,8 +0,0 @@
1
- export { ApiClient } from './components/ApiClient'
2
-
3
- export * from './helpers'
4
- export * from './hooks'
5
- export * from './stores/apiClientStore'
6
- export * from './stores/apiClientRequestStore'
7
- export * from './types'
8
- export * from './fixtures'