@scalar/sidebar 0.12.0 → 0.12.2

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 +33 -9
  2. package/package.json +7 -7
package/dist/style.css CHANGED
@@ -91,12 +91,12 @@
91
91
  }
92
92
 
93
93
  @layer scalar-base {
94
- body {
94
+ body.scalar-app {
95
95
  line-height: inherit;
96
96
  margin: 0;
97
97
  }
98
98
 
99
- :root {
99
+ :root, :host {
100
100
  --scalar-border-width: .5px;
101
101
  --scalar-radius: 3px;
102
102
  --scalar-radius-max: 20px;
@@ -180,7 +180,7 @@
180
180
  }
181
181
 
182
182
  @media (max-width: 460px) {
183
- :root {
183
+ :root, :host {
184
184
  --scalar-font-size-1: 22px;
185
185
  --scalar-font-size-2: 14px;
186
186
  --scalar-font-size-3: 12px;
@@ -188,7 +188,7 @@
188
188
  }
189
189
 
190
190
  @media (max-width: 720px) {
191
- :root {
191
+ :root, :host {
192
192
  --scalar-heading-1: 24px;
193
193
  --scalar-page-description: 20px;
194
194
  }
@@ -196,13 +196,13 @@
196
196
 
197
197
  @media (max-resolution: 1.5x) {
198
198
  @supports ((-moz-appearance: none)) {
199
- :root {
199
+ :root, :host {
200
200
  --scalar-border-width: 1px;
201
201
  }
202
202
  }
203
203
  }
204
204
 
205
- :root {
205
+ :root, :host {
206
206
  --scalar-text-decoration: underline;
207
207
  --scalar-text-decoration-hover: underline;
208
208
  }
@@ -1557,7 +1557,7 @@
1557
1557
  display: contents;
1558
1558
  }
1559
1559
 
1560
- .scalar-app .markdown.markdown-summary.markdown-summary img, .scalar-app .markdown.markdown-summary.markdown-summary svg, .scalar-app .markdown.markdown-summary.markdown-summary hr, .scalar-app .markdown.markdown-summary.markdown-summary pre {
1560
+ .scalar-app .markdown.markdown-summary.markdown-summary [data-markdown-block], .scalar-app .markdown.markdown-summary.markdown-summary img, .scalar-app .markdown.markdown-summary.markdown-summary svg, .scalar-app .markdown.markdown-summary.markdown-summary hr, .scalar-app .markdown.markdown-summary.markdown-summary pre {
1561
1561
  display: none;
1562
1562
  }
1563
1563
 
@@ -2045,8 +2045,8 @@
2045
2045
  right: 4px;
2046
2046
  }
2047
2047
 
2048
- .scalar-app .right-1\.25 {
2049
- right: 5px;
2048
+ .scalar-app .right-1\.75 {
2049
+ right: 7px;
2050
2050
  }
2051
2051
 
2052
2052
  .scalar-app .right-2 {
@@ -2530,10 +2530,18 @@
2530
2530
  min-height: 48px;
2531
2531
  }
2532
2532
 
2533
+ .scalar-app .w-2\/3 {
2534
+ width: 66.6667%;
2535
+ }
2536
+
2533
2537
  .scalar-app .w-3 {
2534
2538
  width: 12px;
2535
2539
  }
2536
2540
 
2541
+ .scalar-app .w-5 {
2542
+ width: 20px;
2543
+ }
2544
+
2537
2545
  .scalar-app .w-6 {
2538
2546
  width: 24px;
2539
2547
  }
@@ -2638,6 +2646,10 @@
2638
2646
  flex: 1;
2639
2647
  }
2640
2648
 
2649
+ .scalar-app .flex-auto {
2650
+ flex: auto;
2651
+ }
2652
+
2641
2653
  .scalar-app .flex-shrink, .scalar-app .shrink {
2642
2654
  flex-shrink: 1;
2643
2655
  }
@@ -2776,6 +2788,10 @@
2776
2788
  flex-direction: row;
2777
2789
  }
2778
2790
 
2791
+ .scalar-app .flex-wrap {
2792
+ flex-wrap: wrap;
2793
+ }
2794
+
2779
2795
  .scalar-app .items-baseline {
2780
2796
  align-items: baseline;
2781
2797
  }
@@ -2840,6 +2856,10 @@
2840
2856
  gap: 1px;
2841
2857
  }
2842
2858
 
2859
+ .scalar-app .gap-y-1 {
2860
+ row-gap: 4px;
2861
+ }
2862
+
2843
2863
  :where(.scalar-app .divide-y > :not(:last-child)) {
2844
2864
  --tw-divide-y-reverse: 0;
2845
2865
  border-bottom-style: var(--tw-border-style);
@@ -3320,6 +3340,10 @@
3320
3340
  padding-right: 24px;
3321
3341
  }
3322
3342
 
3343
+ .scalar-app .pr-7\.25 {
3344
+ padding-right: 29px;
3345
+ }
3346
+
3323
3347
  .scalar-app .pr-\[100\%\] {
3324
3348
  padding-right: 100%;
3325
3349
  }
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.12.0",
13
+ "version": "0.12.2",
14
14
  "engines": {
15
15
  "node": ">=22"
16
16
  },
@@ -32,12 +32,12 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@scalar/components": "0.31.1",
36
- "@scalar/helpers": "0.16.3",
37
- "@scalar/icons": "0.7.6",
38
- "@scalar/themes": "0.19.1",
39
- "@scalar/use-hooks": "0.4.20",
40
- "@scalar/workspace-store": "0.68.3",
35
+ "@scalar/components": "0.32.1",
36
+ "@scalar/helpers": "0.16.4",
37
+ "@scalar/icons": "0.7.7",
38
+ "@scalar/themes": "0.19.2",
39
+ "@scalar/use-hooks": "0.4.21",
40
+ "@scalar/workspace-store": "0.68.5",
41
41
  "vue": "^3.5.40"
42
42
  },
43
43
  "devDependencies": {