@scalar/sidebar 0.9.17 → 0.9.19

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 (2) hide show
  1. package/dist/style.css +13 -12
  2. package/package.json +8 -8
package/dist/style.css CHANGED
@@ -101,12 +101,9 @@
101
101
  --scalar-radius: 3px;
102
102
  --scalar-radius-lg: 6px;
103
103
  --scalar-radius-xl: 8px;
104
- --scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
105
- "Helvetica Neue", sans-serif;
106
- --scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco,
107
- "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono",
108
- "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono",
109
- "Courier New", monospace;
104
+ --scalar-font: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
105
+ "Noto Color Emoji";
106
+ --scalar-font-code: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
110
107
  --scalar-heading-1: 24px;
111
108
  --scalar-page-description: 16px;
112
109
  --scalar-heading-2: 20px;
@@ -164,7 +161,7 @@
164
161
  --scalar-scrollbar-color: #0000002e;
165
162
  --scalar-button-1: #000;
166
163
  --scalar-button-1-hover: #000c;
167
- --scalar-button-1-color: #ffffffe6;
164
+ --scalar-button-1-color: #fff;
168
165
  --scalar-shadow-1: 0 1px 3px 0 #0000001c;
169
166
  --scalar-shadow-2: #00000014 0px 13px 20px 0px, #00000014 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;
170
167
  --scalar-lifted-brightness: 1;
@@ -258,7 +255,7 @@
258
255
  --scalar-link-color-hover: var(--scalar-link-color);
259
256
  --scalar-button-1: #000;
260
257
  --scalar-button-1-hover: #000c;
261
- --scalar-button-1-color: #ffffffe6;
258
+ --scalar-button-1-color: #fff;
262
259
  --scalar-tooltip-background: #1a1a1ae6;
263
260
  --scalar-tooltip-color: #ffffffd9;
264
261
  --scalar-color-alert: var(--scalar-color-orange);
@@ -664,6 +661,10 @@
664
661
  }
665
662
  }
666
663
 
664
+ .scalar-code-block pre {
665
+ font-variant-ligatures: none;
666
+ }
667
+
667
668
  .scalar-code-block.bg-b-1 .scalar-code-copy-backdrop {
668
669
  background-color: var(--scalar-background-1);
669
670
  }
@@ -1946,10 +1947,6 @@
1946
1947
  top: 1lh;
1947
1948
  }
1948
1949
 
1949
- .scalar-app .top-\[calc\(10px\+0\.5lh\)\] {
1950
- top: calc(10px + .5lh);
1951
- }
1952
-
1953
1950
  .scalar-app .top-px {
1954
1951
  top: 1px;
1955
1952
  }
@@ -2444,6 +2441,10 @@
2444
2441
  max-height: calc(var(--radix-popper-available-height) - 8px);
2445
2442
  }
2446
2443
 
2444
+ .scalar-app .max-h-screen {
2445
+ max-height: 100vh;
2446
+ }
2447
+
2447
2448
  .scalar-app .min-h-0 {
2448
2449
  min-height: 0;
2449
2450
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "packages/sidebar"
12
12
  },
13
- "version": "0.9.17",
13
+ "version": "0.9.19",
14
14
  "engines": {
15
15
  "node": ">=22"
16
16
  },
@@ -33,12 +33,12 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "vue": "^3.5.30",
36
- "@scalar/components": "0.26.0",
37
- "@scalar/icons": "0.7.2",
38
- "@scalar/use-hooks": "0.4.6",
39
- "@scalar/themes": "0.15.5",
40
- "@scalar/workspace-store": "0.52.0",
41
- "@scalar/helpers": "0.8.0"
36
+ "@scalar/components": "0.27.0",
37
+ "@scalar/helpers": "0.8.1",
38
+ "@scalar/themes": "0.16.0",
39
+ "@scalar/icons": "0.7.3",
40
+ "@scalar/workspace-store": "0.54.0",
41
+ "@scalar/use-hooks": "0.4.6"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tailwindcss/cli": "^4.2.4",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "scripts": {
56
56
  "build": "vite build && pnpm build:styles && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
57
- "build:styles": "cp -r src/styles dist && tailwindcss --optimize -i src/style.css -o dist/style.css && cat dist/vue-styles.css >> dist/style.css",
57
+ "build:styles": "shx cp -r src/styles dist && tailwindcss --optimize -i src/style.css -o dist/style.css && cat dist/vue-styles.css >> dist/style.css",
58
58
  "dev": "vite ./playground -c ./vite.config.ts",
59
59
  "test": "vitest --run",
60
60
  "types:check": "vue-tsc --noEmit"