@rarui/styles 1.31.0-rc.8 → 1.31.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/CHANGELOG.md +32 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +136 -25
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/themes/dark.css +1 -1
- package/dist/themes/dark.js +1 -1
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
|
@@ -3974,6 +3974,11 @@ declare const fontSizeProperties: {
|
|
|
3974
3974
|
"label-m": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3975
3975
|
"label-l": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3976
3976
|
};
|
|
3977
|
+
declare const fontFamilyProperties: {
|
|
3978
|
+
body: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3979
|
+
heading: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3980
|
+
button: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3981
|
+
};
|
|
3977
3982
|
declare const lineHeightProperties: {
|
|
3978
3983
|
readonly hero: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3979
3984
|
readonly "body-xxs": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -4166,19 +4171,19 @@ export interface BoxSprinkle extends BoxDynamicProperties {
|
|
|
4166
4171
|
*/
|
|
4167
4172
|
borderRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
4168
4173
|
/**
|
|
4169
|
-
* The
|
|
4174
|
+
* The borderTopLeftRadius property rounds the corners of an box's outer border edge.
|
|
4170
4175
|
*/
|
|
4171
4176
|
borderTopLeftRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
4172
4177
|
/**
|
|
4173
|
-
* The
|
|
4178
|
+
* The borderTopRightRadius property rounds the corners of an box's outer border edge.
|
|
4174
4179
|
*/
|
|
4175
4180
|
borderTopRightRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
4176
4181
|
/**
|
|
4177
|
-
* The
|
|
4182
|
+
* The borderBottomLeftRadius property rounds the corners of an box's outer border edge.
|
|
4178
4183
|
*/
|
|
4179
4184
|
borderBottomLeftRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
4180
4185
|
/**
|
|
4181
|
-
* The
|
|
4186
|
+
* The borderBottomRightRadius property rounds the corners of an box's outer border edge.
|
|
4182
4187
|
*/
|
|
4183
4188
|
borderBottomRightRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
4184
4189
|
/**
|
|
@@ -4333,6 +4338,10 @@ export interface BoxSprinkle extends BoxDynamicProperties {
|
|
|
4333
4338
|
* The marginY property defines the margin area on the top and bottom of a box
|
|
4334
4339
|
*/
|
|
4335
4340
|
marginY?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
4341
|
+
/**
|
|
4342
|
+
* The fontFamily property sets the font family of the box.
|
|
4343
|
+
*/
|
|
4344
|
+
fontFamily?: AddDollar<keyof typeof fontFamilyProperties> | BoxConditions<AddDollar<keyof typeof fontFamilyProperties>>;
|
|
4336
4345
|
/**
|
|
4337
4346
|
* The fontSize property sets the size of the box.
|
|
4338
4347
|
*/
|
|
@@ -4704,15 +4713,15 @@ export declare const box: {
|
|
|
4704
4713
|
};
|
|
4705
4714
|
borderRadius: {
|
|
4706
4715
|
values: {
|
|
4707
|
-
|
|
4716
|
+
button: {
|
|
4708
4717
|
default: string;
|
|
4709
4718
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4710
4719
|
};
|
|
4711
|
-
|
|
4720
|
+
xs: {
|
|
4712
4721
|
default: string;
|
|
4713
4722
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4714
4723
|
};
|
|
4715
|
-
|
|
4724
|
+
xl: {
|
|
4716
4725
|
default: string;
|
|
4717
4726
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4718
4727
|
};
|
|
@@ -4766,15 +4775,15 @@ export declare const box: {
|
|
|
4766
4775
|
};
|
|
4767
4776
|
borderTopLeftRadius: {
|
|
4768
4777
|
values: {
|
|
4769
|
-
|
|
4778
|
+
button: {
|
|
4770
4779
|
default: string;
|
|
4771
4780
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4772
4781
|
};
|
|
4773
|
-
|
|
4782
|
+
xs: {
|
|
4774
4783
|
default: string;
|
|
4775
4784
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4776
4785
|
};
|
|
4777
|
-
|
|
4786
|
+
xl: {
|
|
4778
4787
|
default: string;
|
|
4779
4788
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4780
4789
|
};
|
|
@@ -4828,15 +4837,15 @@ export declare const box: {
|
|
|
4828
4837
|
};
|
|
4829
4838
|
borderTopRightRadius: {
|
|
4830
4839
|
values: {
|
|
4831
|
-
|
|
4840
|
+
button: {
|
|
4832
4841
|
default: string;
|
|
4833
4842
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4834
4843
|
};
|
|
4835
|
-
|
|
4844
|
+
xs: {
|
|
4836
4845
|
default: string;
|
|
4837
4846
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4838
4847
|
};
|
|
4839
|
-
|
|
4848
|
+
xl: {
|
|
4840
4849
|
default: string;
|
|
4841
4850
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4842
4851
|
};
|
|
@@ -4890,15 +4899,15 @@ export declare const box: {
|
|
|
4890
4899
|
};
|
|
4891
4900
|
borderBottomLeftRadius: {
|
|
4892
4901
|
values: {
|
|
4893
|
-
|
|
4902
|
+
button: {
|
|
4894
4903
|
default: string;
|
|
4895
4904
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4896
4905
|
};
|
|
4897
|
-
|
|
4906
|
+
xs: {
|
|
4898
4907
|
default: string;
|
|
4899
4908
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4900
4909
|
};
|
|
4901
|
-
|
|
4910
|
+
xl: {
|
|
4902
4911
|
default: string;
|
|
4903
4912
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4904
4913
|
};
|
|
@@ -4952,15 +4961,15 @@ export declare const box: {
|
|
|
4952
4961
|
};
|
|
4953
4962
|
borderBottomRightRadius: {
|
|
4954
4963
|
values: {
|
|
4955
|
-
|
|
4964
|
+
button: {
|
|
4956
4965
|
default: string;
|
|
4957
4966
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4958
4967
|
};
|
|
4959
|
-
|
|
4968
|
+
xs: {
|
|
4960
4969
|
default: string;
|
|
4961
4970
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4962
4971
|
};
|
|
4963
|
-
|
|
4972
|
+
xl: {
|
|
4964
4973
|
default: string;
|
|
4965
4974
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4966
4975
|
};
|
|
@@ -6601,6 +6610,28 @@ export declare const box: {
|
|
|
6601
6610
|
};
|
|
6602
6611
|
name: "fontSize";
|
|
6603
6612
|
};
|
|
6613
|
+
fontFamily: {
|
|
6614
|
+
values: {
|
|
6615
|
+
body: {
|
|
6616
|
+
default: string;
|
|
6617
|
+
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
6618
|
+
};
|
|
6619
|
+
heading: {
|
|
6620
|
+
default: string;
|
|
6621
|
+
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
6622
|
+
};
|
|
6623
|
+
button: {
|
|
6624
|
+
default: string;
|
|
6625
|
+
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
6626
|
+
};
|
|
6627
|
+
};
|
|
6628
|
+
staticScale: {
|
|
6629
|
+
body: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6630
|
+
heading: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6631
|
+
button: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6632
|
+
};
|
|
6633
|
+
name: "fontFamily";
|
|
6634
|
+
};
|
|
6604
6635
|
};
|
|
6605
6636
|
} & {
|
|
6606
6637
|
config: {
|
|
@@ -8595,7 +8626,21 @@ declare const progressStyles: {
|
|
|
8595
8626
|
}>;
|
|
8596
8627
|
circleText: string;
|
|
8597
8628
|
};
|
|
8629
|
+
declare const progressBackgroundColorProperties: {
|
|
8630
|
+
info: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8631
|
+
success: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8632
|
+
brand: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8633
|
+
};
|
|
8598
8634
|
export type ProgressVariants = RecipeVariants<typeof progressStyles.circle>;
|
|
8635
|
+
export interface ProgressSprinkle {
|
|
8636
|
+
/**
|
|
8637
|
+
* Specifies the background color of the progress.
|
|
8638
|
+
* This prop accepts one of the following values: "$info", "$success" or "$brand"
|
|
8639
|
+
* @default $info
|
|
8640
|
+
* @examples ["$brand", { xs: "$brand", md: "$info" }]
|
|
8641
|
+
*/
|
|
8642
|
+
backgroundColor?: AddDollar<keyof typeof progressBackgroundColorProperties>;
|
|
8643
|
+
}
|
|
8599
8644
|
export declare const progress: {
|
|
8600
8645
|
classnames: {
|
|
8601
8646
|
progress: string;
|
|
@@ -8627,6 +8672,9 @@ export declare const progress: {
|
|
|
8627
8672
|
config: {
|
|
8628
8673
|
backgroundColor: {
|
|
8629
8674
|
values: {
|
|
8675
|
+
brand: {
|
|
8676
|
+
default: string;
|
|
8677
|
+
};
|
|
8630
8678
|
info: {
|
|
8631
8679
|
default: string;
|
|
8632
8680
|
};
|
|
@@ -8637,6 +8685,7 @@ export declare const progress: {
|
|
|
8637
8685
|
staticScale: {
|
|
8638
8686
|
info: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8639
8687
|
success: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8688
|
+
brand: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8640
8689
|
};
|
|
8641
8690
|
name: "backgroundColor";
|
|
8642
8691
|
};
|
|
@@ -10212,7 +10261,7 @@ declare const styles$7: {
|
|
|
10212
10261
|
};
|
|
10213
10262
|
":after": {
|
|
10214
10263
|
top: "-.3125rem";
|
|
10215
|
-
left: "-.
|
|
10264
|
+
left: "-.3125rem";
|
|
10216
10265
|
height: "2.75rem";
|
|
10217
10266
|
width: "2.75rem";
|
|
10218
10267
|
};
|
|
@@ -10247,7 +10296,6 @@ declare const styles$7: {
|
|
|
10247
10296
|
};
|
|
10248
10297
|
}>;
|
|
10249
10298
|
input: string;
|
|
10250
|
-
icon: string;
|
|
10251
10299
|
slider: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10252
10300
|
size: {
|
|
10253
10301
|
large: {
|
|
@@ -10273,6 +10321,38 @@ declare const styles$7: {
|
|
|
10273
10321
|
};
|
|
10274
10322
|
};
|
|
10275
10323
|
}>;
|
|
10324
|
+
unchecked: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10325
|
+
size: {
|
|
10326
|
+
large: {
|
|
10327
|
+
left: "1rem";
|
|
10328
|
+
height: "1.5rem";
|
|
10329
|
+
width: "1.5rem";
|
|
10330
|
+
borderRadius: "0.75rem";
|
|
10331
|
+
};
|
|
10332
|
+
small: {
|
|
10333
|
+
left: "0.75rem";
|
|
10334
|
+
width: "1rem";
|
|
10335
|
+
height: "1rem";
|
|
10336
|
+
borderRadius: "0.5rem";
|
|
10337
|
+
};
|
|
10338
|
+
};
|
|
10339
|
+
}>;
|
|
10340
|
+
checked: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10341
|
+
size: {
|
|
10342
|
+
large: {
|
|
10343
|
+
left: "2.25rem";
|
|
10344
|
+
height: "1.5rem";
|
|
10345
|
+
width: "1.5rem";
|
|
10346
|
+
borderRadius: "0.75rem";
|
|
10347
|
+
};
|
|
10348
|
+
small: {
|
|
10349
|
+
left: "2rem";
|
|
10350
|
+
width: "1rem";
|
|
10351
|
+
height: "1rem";
|
|
10352
|
+
borderRadius: "0.5rem";
|
|
10353
|
+
};
|
|
10354
|
+
};
|
|
10355
|
+
}>;
|
|
10276
10356
|
};
|
|
10277
10357
|
export type ToggleVariants = RecipeVariants<typeof styles$7.toggle>;
|
|
10278
10358
|
export declare const toggle: {
|
|
@@ -10286,7 +10366,7 @@ export declare const toggle: {
|
|
|
10286
10366
|
};
|
|
10287
10367
|
":after": {
|
|
10288
10368
|
top: "-.3125rem";
|
|
10289
|
-
left: "-.
|
|
10369
|
+
left: "-.3125rem";
|
|
10290
10370
|
height: "2.75rem";
|
|
10291
10371
|
width: "2.75rem";
|
|
10292
10372
|
};
|
|
@@ -10318,7 +10398,6 @@ export declare const toggle: {
|
|
|
10318
10398
|
};
|
|
10319
10399
|
}>;
|
|
10320
10400
|
input: string;
|
|
10321
|
-
icon: string;
|
|
10322
10401
|
slider: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10323
10402
|
size: {
|
|
10324
10403
|
large: {
|
|
@@ -10344,6 +10423,38 @@ export declare const toggle: {
|
|
|
10344
10423
|
};
|
|
10345
10424
|
};
|
|
10346
10425
|
}>;
|
|
10426
|
+
unchecked: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10427
|
+
size: {
|
|
10428
|
+
large: {
|
|
10429
|
+
left: "1rem";
|
|
10430
|
+
height: "1.5rem";
|
|
10431
|
+
width: "1.5rem";
|
|
10432
|
+
borderRadius: "0.75rem";
|
|
10433
|
+
};
|
|
10434
|
+
small: {
|
|
10435
|
+
left: "0.75rem";
|
|
10436
|
+
width: "1rem";
|
|
10437
|
+
height: "1rem";
|
|
10438
|
+
borderRadius: "0.5rem";
|
|
10439
|
+
};
|
|
10440
|
+
};
|
|
10441
|
+
}>;
|
|
10442
|
+
checked: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10443
|
+
size: {
|
|
10444
|
+
large: {
|
|
10445
|
+
left: "2.25rem";
|
|
10446
|
+
height: "1.5rem";
|
|
10447
|
+
width: "1.5rem";
|
|
10448
|
+
borderRadius: "0.75rem";
|
|
10449
|
+
};
|
|
10450
|
+
small: {
|
|
10451
|
+
left: "2rem";
|
|
10452
|
+
width: "1rem";
|
|
10453
|
+
height: "1rem";
|
|
10454
|
+
borderRadius: "0.5rem";
|
|
10455
|
+
};
|
|
10456
|
+
};
|
|
10457
|
+
}>;
|
|
10347
10458
|
};
|
|
10348
10459
|
};
|
|
10349
10460
|
declare const styles$8: {
|
|
@@ -11305,7 +11416,7 @@ declare const sideNavigationStyles: {
|
|
|
11305
11416
|
open: {
|
|
11306
11417
|
true: {
|
|
11307
11418
|
overflow: "visible";
|
|
11308
|
-
maxHeight: "
|
|
11419
|
+
maxHeight: "unset";
|
|
11309
11420
|
marginTop: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11310
11421
|
};
|
|
11311
11422
|
};
|
|
@@ -11376,7 +11487,7 @@ export declare const sideNavigation: {
|
|
|
11376
11487
|
open: {
|
|
11377
11488
|
true: {
|
|
11378
11489
|
overflow: "visible";
|
|
11379
|
-
maxHeight: "
|
|
11490
|
+
maxHeight: "unset";
|
|
11380
11491
|
marginTop: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11381
11492
|
};
|
|
11382
11493
|
};
|