@scalar/components 0.21.4 → 0.22.1
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/components/ScalarHeader/ScalarHeader.vue.d.ts.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeader.vue.js.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeader.vue.script.js +7 -4
- package/dist/components/ScalarHeader/ScalarHeader.vue.script.js.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts +2 -2
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.js.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.script.js +6 -6
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.script.js.map +1 -1
- package/dist/components/ScalarIcon/variants.d.ts +2 -50
- package/dist/components/ScalarIcon/variants.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.script.js +2 -2
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.script.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts +2 -0
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.script.js +7 -6
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.script.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.script.js +4 -4
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.script.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue.js.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue.script.js +4 -4
- package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue.script.js.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.js.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.script.js +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.script.js.map +1 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.d.ts +10 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.d.ts.map +1 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.js +3 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.js.map +1 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.script.js +183 -37
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.script.js.map +1 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualTextSearch.vue.d.ts +45 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualTextSearch.vue.d.ts.map +1 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualTextSearch.vue.js +9 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualTextSearch.vue.js.map +1 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualTextSearch.vue.script.js +101 -0
- package/dist/components/ScalarVirtualText/ScalarVirtualTextSearch.vue.script.js.map +1 -0
- package/dist/docs/useBindCx/MockComponents.d.ts +4 -100
- package/dist/docs/useBindCx/MockComponents.d.ts.map +1 -1
- package/dist/style.css +144 -22
- package/package.json +12 -12
|
@@ -11,59 +11,11 @@ export declare const SimpleComponent: import("vue").DefineComponent<import("vue"
|
|
|
11
11
|
variants: (props?: ({
|
|
12
12
|
active?: boolean | undefined;
|
|
13
13
|
} & ({
|
|
14
|
-
class?:
|
|
15
|
-
[x: string]: any;
|
|
16
|
-
} | null | undefined)[] | {
|
|
17
|
-
[x: string]: any;
|
|
18
|
-
} | null | undefined)[] | {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
} | null | undefined)[] | {
|
|
21
|
-
[x: string]: any;
|
|
22
|
-
} | null | undefined)[] | {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
} | null | undefined)[] | {
|
|
25
|
-
[x: string]: any;
|
|
26
|
-
} | null | undefined)[] | {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
} | null | undefined)[] | {
|
|
29
|
-
[x: string]: any;
|
|
30
|
-
} | null | undefined)[] | {
|
|
31
|
-
[x: string]: any;
|
|
32
|
-
} | null | undefined)[] | {
|
|
33
|
-
[x: string]: any;
|
|
34
|
-
} | null | undefined)[] | {
|
|
35
|
-
[x: string]: any;
|
|
36
|
-
} | null | undefined)[] | {
|
|
37
|
-
[x: string]: any;
|
|
38
|
-
} | null | undefined;
|
|
14
|
+
class?: import("cva").ClassValue;
|
|
39
15
|
className?: never;
|
|
40
16
|
} | {
|
|
41
17
|
class?: never;
|
|
42
|
-
className?:
|
|
43
|
-
[x: string]: any;
|
|
44
|
-
} | null | undefined)[] | {
|
|
45
|
-
[x: string]: any;
|
|
46
|
-
} | null | undefined)[] | {
|
|
47
|
-
[x: string]: any;
|
|
48
|
-
} | null | undefined)[] | {
|
|
49
|
-
[x: string]: any;
|
|
50
|
-
} | null | undefined)[] | {
|
|
51
|
-
[x: string]: any;
|
|
52
|
-
} | null | undefined)[] | {
|
|
53
|
-
[x: string]: any;
|
|
54
|
-
} | null | undefined)[] | {
|
|
55
|
-
[x: string]: any;
|
|
56
|
-
} | null | undefined)[] | {
|
|
57
|
-
[x: string]: any;
|
|
58
|
-
} | null | undefined)[] | {
|
|
59
|
-
[x: string]: any;
|
|
60
|
-
} | null | undefined)[] | {
|
|
61
|
-
[x: string]: any;
|
|
62
|
-
} | null | undefined)[] | {
|
|
63
|
-
[x: string]: any;
|
|
64
|
-
} | null | undefined)[] | {
|
|
65
|
-
[x: string]: any;
|
|
66
|
-
} | null | undefined;
|
|
18
|
+
className?: import("cva").ClassValue;
|
|
67
19
|
})) | undefined) => string;
|
|
68
20
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
21
|
active: {
|
|
@@ -89,59 +41,11 @@ export declare const ComplexComponent: import("vue").DefineComponent<import("vue
|
|
|
89
41
|
variants: (props?: ({
|
|
90
42
|
active?: boolean | undefined;
|
|
91
43
|
} & ({
|
|
92
|
-
class?:
|
|
93
|
-
[x: string]: any;
|
|
94
|
-
} | null | undefined)[] | {
|
|
95
|
-
[x: string]: any;
|
|
96
|
-
} | null | undefined)[] | {
|
|
97
|
-
[x: string]: any;
|
|
98
|
-
} | null | undefined)[] | {
|
|
99
|
-
[x: string]: any;
|
|
100
|
-
} | null | undefined)[] | {
|
|
101
|
-
[x: string]: any;
|
|
102
|
-
} | null | undefined)[] | {
|
|
103
|
-
[x: string]: any;
|
|
104
|
-
} | null | undefined)[] | {
|
|
105
|
-
[x: string]: any;
|
|
106
|
-
} | null | undefined)[] | {
|
|
107
|
-
[x: string]: any;
|
|
108
|
-
} | null | undefined)[] | {
|
|
109
|
-
[x: string]: any;
|
|
110
|
-
} | null | undefined)[] | {
|
|
111
|
-
[x: string]: any;
|
|
112
|
-
} | null | undefined)[] | {
|
|
113
|
-
[x: string]: any;
|
|
114
|
-
} | null | undefined)[] | {
|
|
115
|
-
[x: string]: any;
|
|
116
|
-
} | null | undefined;
|
|
44
|
+
class?: import("cva").ClassValue;
|
|
117
45
|
className?: never;
|
|
118
46
|
} | {
|
|
119
47
|
class?: never;
|
|
120
|
-
className?:
|
|
121
|
-
[x: string]: any;
|
|
122
|
-
} | null | undefined)[] | {
|
|
123
|
-
[x: string]: any;
|
|
124
|
-
} | null | undefined)[] | {
|
|
125
|
-
[x: string]: any;
|
|
126
|
-
} | null | undefined)[] | {
|
|
127
|
-
[x: string]: any;
|
|
128
|
-
} | null | undefined)[] | {
|
|
129
|
-
[x: string]: any;
|
|
130
|
-
} | null | undefined)[] | {
|
|
131
|
-
[x: string]: any;
|
|
132
|
-
} | null | undefined)[] | {
|
|
133
|
-
[x: string]: any;
|
|
134
|
-
} | null | undefined)[] | {
|
|
135
|
-
[x: string]: any;
|
|
136
|
-
} | null | undefined)[] | {
|
|
137
|
-
[x: string]: any;
|
|
138
|
-
} | null | undefined)[] | {
|
|
139
|
-
[x: string]: any;
|
|
140
|
-
} | null | undefined)[] | {
|
|
141
|
-
[x: string]: any;
|
|
142
|
-
} | null | undefined)[] | {
|
|
143
|
-
[x: string]: any;
|
|
144
|
-
} | null | undefined;
|
|
48
|
+
className?: import("cva").ClassValue;
|
|
145
49
|
})) | undefined) => string;
|
|
146
50
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
51
|
active: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MockComponents.d.ts","sourceRoot":"","sources":["../../../src/docs/useBindCx/MockComponents.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"MockComponents.d.ts","sourceRoot":"","sources":["../../../src/docs/useBindCx/MockComponents.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;4EAU1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAgB3B,CAAA"}
|
package/dist/style.css
CHANGED
|
@@ -1282,6 +1282,25 @@ to {
|
|
|
1282
1282
|
inherits: false;
|
|
1283
1283
|
initial-value: 0 0 #0000;
|
|
1284
1284
|
}
|
|
1285
|
+
|
|
1286
|
+
.scalar-virtual-text-search-input[data-v-95edadbb]::-webkit-search-cancel-button {
|
|
1287
|
+
display: none;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
.scalar-virtual-text[data-v-b50a85e1]:focus {
|
|
1291
|
+
outline: none;
|
|
1292
|
+
}
|
|
1293
|
+
.scalar-virtual-text-highlight[data-v-b50a85e1] {
|
|
1294
|
+
background: var(--scalar-background-accent);
|
|
1295
|
+
color: inherit;
|
|
1296
|
+
border-radius: 2px;
|
|
1297
|
+
padding: 1px 0;
|
|
1298
|
+
}
|
|
1299
|
+
.scalar-virtual-text-highlight-active[data-v-b50a85e1] {
|
|
1300
|
+
background: var(--scalar-color-accent);
|
|
1301
|
+
color: var(--scalar-background-1);
|
|
1302
|
+
border-radius: 2px;
|
|
1303
|
+
}
|
|
1285
1304
|
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
1286
1305
|
@layer properties {
|
|
1287
1306
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
@@ -1326,6 +1345,11 @@ to {
|
|
|
1326
1345
|
--tw-mask-bottom-to-color: transparent;
|
|
1327
1346
|
--tw-leading: initial;
|
|
1328
1347
|
--tw-font-weight: initial;
|
|
1348
|
+
--tw-ordinal: initial;
|
|
1349
|
+
--tw-slashed-zero: initial;
|
|
1350
|
+
--tw-numeric-figure: initial;
|
|
1351
|
+
--tw-numeric-spacing: initial;
|
|
1352
|
+
--tw-numeric-fraction: initial;
|
|
1329
1353
|
--tw-shadow: 0 0 #0000;
|
|
1330
1354
|
--tw-shadow-color: initial;
|
|
1331
1355
|
--tw-shadow-alpha: 100%;
|
|
@@ -2174,10 +2198,6 @@ to {
|
|
|
2174
2198
|
margin: auto;
|
|
2175
2199
|
}
|
|
2176
2200
|
|
|
2177
|
-
.scalar-app .-mx-0\.25 {
|
|
2178
|
-
margin-inline: -1px;
|
|
2179
|
-
}
|
|
2180
|
-
|
|
2181
2201
|
.scalar-app .-mx-0\.75 {
|
|
2182
2202
|
margin-inline: -3px;
|
|
2183
2203
|
}
|
|
@@ -2186,6 +2206,10 @@ to {
|
|
|
2186
2206
|
margin-inline: -1px;
|
|
2187
2207
|
}
|
|
2188
2208
|
|
|
2209
|
+
.scalar-app .mx-0\.5 {
|
|
2210
|
+
margin-inline: 2px;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2189
2213
|
.scalar-app .mx-px {
|
|
2190
2214
|
margin-inline: 1px;
|
|
2191
2215
|
}
|
|
@@ -2238,7 +2262,7 @@ to {
|
|
|
2238
2262
|
margin-top: 20svh;
|
|
2239
2263
|
}
|
|
2240
2264
|
|
|
2241
|
-
.scalar-app .-mr-
|
|
2265
|
+
.scalar-app .-mr-px {
|
|
2242
2266
|
margin-right: -1px;
|
|
2243
2267
|
}
|
|
2244
2268
|
|
|
@@ -2254,6 +2278,10 @@ to {
|
|
|
2254
2278
|
margin-right: 6px;
|
|
2255
2279
|
}
|
|
2256
2280
|
|
|
2281
|
+
.scalar-app .mr-2 {
|
|
2282
|
+
margin-right: 8px;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2257
2285
|
.scalar-app .mr-3 {
|
|
2258
2286
|
margin-right: 12px;
|
|
2259
2287
|
}
|
|
@@ -2537,6 +2565,10 @@ to {
|
|
|
2537
2565
|
width: 128px;
|
|
2538
2566
|
}
|
|
2539
2567
|
|
|
2568
|
+
.scalar-app .w-36 {
|
|
2569
|
+
width: 144px;
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2540
2572
|
.scalar-app .w-40 {
|
|
2541
2573
|
width: 160px;
|
|
2542
2574
|
}
|
|
@@ -2597,6 +2629,10 @@ to {
|
|
|
2597
2629
|
width: min-content;
|
|
2598
2630
|
}
|
|
2599
2631
|
|
|
2632
|
+
.scalar-app .w-px {
|
|
2633
|
+
width: 1px;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2600
2636
|
.scalar-app .w-screen {
|
|
2601
2637
|
width: 100vw;
|
|
2602
2638
|
}
|
|
@@ -2750,10 +2786,6 @@ to {
|
|
|
2750
2786
|
cursor: auto;
|
|
2751
2787
|
}
|
|
2752
2788
|
|
|
2753
|
-
.scalar-app .cursor-default {
|
|
2754
|
-
cursor: default;
|
|
2755
|
-
}
|
|
2756
|
-
|
|
2757
2789
|
.scalar-app .cursor-not-allowed {
|
|
2758
2790
|
cursor: not-allowed;
|
|
2759
2791
|
}
|
|
@@ -3029,6 +3061,10 @@ to {
|
|
|
3029
3061
|
border-color: var(--scalar-background-3);
|
|
3030
3062
|
}
|
|
3031
3063
|
|
|
3064
|
+
.scalar-app .border-border-header {
|
|
3065
|
+
border-color: var(--scalar-header-border-color, var(--scalar-border-color));
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3032
3068
|
.scalar-app .border-c-1 {
|
|
3033
3069
|
border-color: var(--scalar-color-1);
|
|
3034
3070
|
}
|
|
@@ -3091,6 +3127,14 @@ to {
|
|
|
3091
3127
|
background-color: var(--scalar-background-danger);
|
|
3092
3128
|
}
|
|
3093
3129
|
|
|
3130
|
+
.scalar-app .bg-b-header-1 {
|
|
3131
|
+
background-color: var(--scalar-header-background-1, var(--scalar-background-1));
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
.scalar-app .bg-b-header-cta {
|
|
3135
|
+
background-color: var(--scalar-header-call-to-action-color, var(--scalar-button-1));
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3094
3138
|
.scalar-app .bg-b-tooltip {
|
|
3095
3139
|
background-color: var(--scalar-tooltip-background);
|
|
3096
3140
|
}
|
|
@@ -3262,6 +3306,10 @@ to {
|
|
|
3262
3306
|
padding: 1px;
|
|
3263
3307
|
}
|
|
3264
3308
|
|
|
3309
|
+
.scalar-app .px-1 {
|
|
3310
|
+
padding-inline: 4px;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3265
3313
|
.scalar-app .px-1\.5 {
|
|
3266
3314
|
padding-inline: 6px;
|
|
3267
3315
|
}
|
|
@@ -3302,6 +3350,10 @@ to {
|
|
|
3302
3350
|
padding-inline: 36px;
|
|
3303
3351
|
}
|
|
3304
3352
|
|
|
3353
|
+
.scalar-app .py-0\.5 {
|
|
3354
|
+
padding-block: 2px;
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3305
3357
|
.scalar-app .py-1 {
|
|
3306
3358
|
padding-block: 4px;
|
|
3307
3359
|
}
|
|
@@ -3334,10 +3386,6 @@ to {
|
|
|
3334
3386
|
padding-block: 6.75px;
|
|
3335
3387
|
}
|
|
3336
3388
|
|
|
3337
|
-
.scalar-app .pt-0 {
|
|
3338
|
-
padding-top: 0;
|
|
3339
|
-
}
|
|
3340
|
-
|
|
3341
3389
|
.scalar-app .pt-3 {
|
|
3342
3390
|
padding-top: 12px;
|
|
3343
3391
|
}
|
|
@@ -3362,6 +3410,10 @@ to {
|
|
|
3362
3410
|
padding-bottom: 0;
|
|
3363
3411
|
}
|
|
3364
3412
|
|
|
3413
|
+
.scalar-app .pb-3 {
|
|
3414
|
+
padding-bottom: 12px;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3365
3417
|
.scalar-app .pl-2 {
|
|
3366
3418
|
padding-left: 8px;
|
|
3367
3419
|
}
|
|
@@ -3437,11 +3489,6 @@ to {
|
|
|
3437
3489
|
font-size: var(--scalar-font-size-6);
|
|
3438
3490
|
}
|
|
3439
3491
|
|
|
3440
|
-
.scalar-app .leading-5 {
|
|
3441
|
-
--tw-leading: calc(4px * 5);
|
|
3442
|
-
line-height: 20px;
|
|
3443
|
-
}
|
|
3444
|
-
|
|
3445
3492
|
.scalar-app .leading-\[22px\] {
|
|
3446
3493
|
--tw-leading: 22px;
|
|
3447
3494
|
line-height: 22px;
|
|
@@ -3530,6 +3577,18 @@ to {
|
|
|
3530
3577
|
color: var(--scalar-color-danger);
|
|
3531
3578
|
}
|
|
3532
3579
|
|
|
3580
|
+
.scalar-app .text-c-header-1 {
|
|
3581
|
+
color: var(--scalar-header-color-1, var(--scalar-color-1));
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
.scalar-app .text-c-header-2 {
|
|
3585
|
+
color: var(--scalar-header-color-2, var(--scalar-color-2));
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
.scalar-app .text-c-header-cta {
|
|
3589
|
+
color: var(--scalar-button-1-color);
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3533
3592
|
.scalar-app .text-c-tooltip {
|
|
3534
3593
|
color: var(--scalar-tooltip-color);
|
|
3535
3594
|
}
|
|
@@ -3574,6 +3633,11 @@ to {
|
|
|
3574
3633
|
text-transform: uppercase;
|
|
3575
3634
|
}
|
|
3576
3635
|
|
|
3636
|
+
.scalar-app .tabular-nums {
|
|
3637
|
+
--tw-numeric-spacing: tabular-nums;
|
|
3638
|
+
font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3577
3641
|
.scalar-app .no-underline {
|
|
3578
3642
|
text-decoration-line: none;
|
|
3579
3643
|
}
|
|
@@ -3609,6 +3673,11 @@ to {
|
|
|
3609
3673
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3610
3674
|
}
|
|
3611
3675
|
|
|
3676
|
+
.scalar-app .shadow-md {
|
|
3677
|
+
--tw-shadow: var(--scalar-shadow-1);
|
|
3678
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3612
3681
|
.scalar-app .shadow-none {
|
|
3613
3682
|
--tw-shadow: 0 0 #0000;
|
|
3614
3683
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -3788,8 +3857,8 @@ to {
|
|
|
3788
3857
|
justify-content: center;
|
|
3789
3858
|
}
|
|
3790
3859
|
|
|
3791
|
-
:is(.scalar-app .\*\:gap-
|
|
3792
|
-
gap:
|
|
3860
|
+
:is(.scalar-app .\*\:gap-1 > *) {
|
|
3861
|
+
gap: 4px;
|
|
3793
3862
|
}
|
|
3794
3863
|
|
|
3795
3864
|
:is(.scalar-app .\*\:rounded > *) {
|
|
@@ -3828,8 +3897,8 @@ to {
|
|
|
3828
3897
|
background-color: var(--scalar-sidebar-indent-border-hover, var(--scalar-border-color));
|
|
3829
3898
|
}
|
|
3830
3899
|
|
|
3831
|
-
.scalar-app .group-hover\/button\:text-c-1:is(:where(.group\/button):hover *) {
|
|
3832
|
-
color: var(--scalar-color-1);
|
|
3900
|
+
.scalar-app .group-hover\/button\:text-c-header-1:is(:where(.group\/button):hover *) {
|
|
3901
|
+
color: var(--scalar-header-color-1, var(--scalar-color-1));
|
|
3833
3902
|
}
|
|
3834
3903
|
}
|
|
3835
3904
|
|
|
@@ -3909,10 +3978,26 @@ to {
|
|
|
3909
3978
|
background-color: var(--scalar-background-3);
|
|
3910
3979
|
}
|
|
3911
3980
|
|
|
3981
|
+
.scalar-app .hover\:bg-b-header-2:hover {
|
|
3982
|
+
background-color: var(--scalar-header-background-2, var(--scalar-background-2));
|
|
3983
|
+
}
|
|
3984
|
+
|
|
3912
3985
|
.scalar-app .hover\:bg-h-btn:hover {
|
|
3913
3986
|
background-color: var(--scalar-button-1-hover);
|
|
3914
3987
|
}
|
|
3915
3988
|
|
|
3989
|
+
.scalar-app .hover\:bg-h-header-cta:hover {
|
|
3990
|
+
background-color: var(--scalar-header-call-to-action-color, var(--scalar-button-1));
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3994
|
+
.scalar-app .hover\:bg-h-header-cta:hover {
|
|
3995
|
+
background-color: color-mix(in srgb,
|
|
3996
|
+
var(--scalar-header-call-to-action-color, var(--scalar-button-1)),
|
|
3997
|
+
var(--scalar-header-background-1, var(--scalar-background-1)) 15%);
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
|
|
3916
4001
|
.scalar-app .hover\:bg-sidebar-b-1:hover {
|
|
3917
4002
|
background-color: var(--scalar-sidebar-background-1, var(--scalar-background-1));
|
|
3918
4003
|
}
|
|
@@ -3953,6 +4038,10 @@ to {
|
|
|
3953
4038
|
color: var(--scalar-color-1);
|
|
3954
4039
|
}
|
|
3955
4040
|
|
|
4041
|
+
.scalar-app .hover\:text-c-header-1:hover {
|
|
4042
|
+
color: var(--scalar-header-color-1, var(--scalar-color-1));
|
|
4043
|
+
}
|
|
4044
|
+
|
|
3956
4045
|
.scalar-app .hover\:text-sidebar-c-1:hover {
|
|
3957
4046
|
color: var(--scalar-sidebar-color-1, var(--scalar-color-1));
|
|
3958
4047
|
}
|
|
@@ -3998,6 +4087,14 @@ to {
|
|
|
3998
4087
|
filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
|
|
3999
4088
|
}
|
|
4000
4089
|
|
|
4090
|
+
.scalar-app .disabled\:pointer-events-none:disabled {
|
|
4091
|
+
pointer-events: none;
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
.scalar-app .disabled\:opacity-30:disabled {
|
|
4095
|
+
opacity: .3;
|
|
4096
|
+
}
|
|
4097
|
+
|
|
4001
4098
|
.scalar-app .has-\[\:focus-visible\]\:bg-sidebar-b-1:has(:focus-visible) {
|
|
4002
4099
|
background-color: var(--scalar-sidebar-background-1, var(--scalar-background-1));
|
|
4003
4100
|
}
|
|
@@ -4319,6 +4416,31 @@ to {
|
|
|
4319
4416
|
inherits: false
|
|
4320
4417
|
}
|
|
4321
4418
|
|
|
4419
|
+
@property --tw-ordinal {
|
|
4420
|
+
syntax: "*";
|
|
4421
|
+
inherits: false
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
@property --tw-slashed-zero {
|
|
4425
|
+
syntax: "*";
|
|
4426
|
+
inherits: false
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4429
|
+
@property --tw-numeric-figure {
|
|
4430
|
+
syntax: "*";
|
|
4431
|
+
inherits: false
|
|
4432
|
+
}
|
|
4433
|
+
|
|
4434
|
+
@property --tw-numeric-spacing {
|
|
4435
|
+
syntax: "*";
|
|
4436
|
+
inherits: false
|
|
4437
|
+
}
|
|
4438
|
+
|
|
4439
|
+
@property --tw-numeric-fraction {
|
|
4440
|
+
syntax: "*";
|
|
4441
|
+
inherits: false
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4322
4444
|
@property --tw-shadow {
|
|
4323
4445
|
syntax: "*";
|
|
4324
4446
|
inherits: false;
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/components"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.
|
|
13
|
+
"version": "0.22.1",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=22"
|
|
16
16
|
},
|
|
@@ -38,29 +38,29 @@
|
|
|
38
38
|
"nanoid": "^5.1.6",
|
|
39
39
|
"radix-vue": "^1.9.17",
|
|
40
40
|
"vue": "^3.5.30",
|
|
41
|
-
"vue-component-type-helpers": "^3.2.
|
|
42
|
-
"@scalar/
|
|
41
|
+
"vue-component-type-helpers": "^3.2.6",
|
|
42
|
+
"@scalar/code-highlight": "0.3.3",
|
|
43
|
+
"@scalar/helpers": "0.5.1",
|
|
43
44
|
"@scalar/icons": "0.7.2",
|
|
44
|
-
"@scalar/code-highlight": "0.3.2",
|
|
45
45
|
"@scalar/use-hooks": "0.4.2",
|
|
46
46
|
"@scalar/themes": "0.15.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@headlessui/tailwindcss": "^0.2.2",
|
|
50
50
|
"@playwright/test": "1.56.0",
|
|
51
|
-
"@storybook/addon-docs": "10.
|
|
52
|
-
"@storybook/addon-links": "10.
|
|
53
|
-
"@storybook/vue3-vite": "10.
|
|
51
|
+
"@storybook/addon-docs": "10.3.5",
|
|
52
|
+
"@storybook/addon-links": "10.3.5",
|
|
53
|
+
"@storybook/vue3-vite": "10.3.5",
|
|
54
54
|
"@tailwindcss/vite": "^4.2.0",
|
|
55
|
-
"@types/jsdom": "
|
|
55
|
+
"@types/jsdom": "28.0.1",
|
|
56
56
|
"@types/node": "^24.1.0",
|
|
57
57
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
58
58
|
"@vue/test-utils": "2.4.6",
|
|
59
|
-
"@vueless/storybook-dark-mode": "^10.0.
|
|
59
|
+
"@vueless/storybook-dark-mode": "^10.0.7",
|
|
60
60
|
"concurrently": "9.1.2",
|
|
61
61
|
"jsdom": "27.4.0",
|
|
62
|
-
"storybook": "10.
|
|
63
|
-
"svglint": "^4.1
|
|
62
|
+
"storybook": "10.3.5",
|
|
63
|
+
"svglint": "^4.2.1",
|
|
64
64
|
"tailwindcss": "^4.1.18",
|
|
65
65
|
"vite": "8.0.0",
|
|
66
66
|
"vite-svg-loader": "5.1.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"lint:check": "pnpm lint:icons",
|
|
76
76
|
"lint:icons": "svglint src/components/ScalarIcon/icons/*.svg --config src/components/ScalarIcon/.svglintrc.js",
|
|
77
77
|
"preview": "vite preview --outDir storybook-static -c test/vite.config.ts 1>&2",
|
|
78
|
-
"test": "vitest",
|
|
78
|
+
"test": "vitest --run",
|
|
79
79
|
"test:e2e": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:5001/ playwright test",
|
|
80
80
|
"test:e2e:ci": "CI=1 playwright test",
|
|
81
81
|
"test:e2e:update": "pnpm test:e2e --update-snapshots",
|