@rarui/styles 1.30.6 → 1.30.7
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 +6 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +34 -3
- 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 +2 -2
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})`;
|
|
@@ -4317,6 +4322,10 @@ export interface BoxSprinkle extends BoxDynamicProperties {
|
|
|
4317
4322
|
* The marginY property defines the margin area on the top and bottom of a box
|
|
4318
4323
|
*/
|
|
4319
4324
|
marginY?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
4325
|
+
/**
|
|
4326
|
+
* The fontFamily property sets the font family of the box.
|
|
4327
|
+
*/
|
|
4328
|
+
fontFamily?: AddDollar<keyof typeof fontFamilyProperties> | BoxConditions<AddDollar<keyof typeof fontFamilyProperties>>;
|
|
4320
4329
|
/**
|
|
4321
4330
|
* The fontSize property sets the size of the box.
|
|
4322
4331
|
*/
|
|
@@ -4688,15 +4697,15 @@ export declare const box: {
|
|
|
4688
4697
|
};
|
|
4689
4698
|
borderRadius: {
|
|
4690
4699
|
values: {
|
|
4691
|
-
|
|
4700
|
+
button: {
|
|
4692
4701
|
default: string;
|
|
4693
4702
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4694
4703
|
};
|
|
4695
|
-
|
|
4704
|
+
xs: {
|
|
4696
4705
|
default: string;
|
|
4697
4706
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4698
4707
|
};
|
|
4699
|
-
|
|
4708
|
+
xl: {
|
|
4700
4709
|
default: string;
|
|
4701
4710
|
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
4702
4711
|
};
|
|
@@ -6337,6 +6346,28 @@ export declare const box: {
|
|
|
6337
6346
|
};
|
|
6338
6347
|
name: "fontSize";
|
|
6339
6348
|
};
|
|
6349
|
+
fontFamily: {
|
|
6350
|
+
values: {
|
|
6351
|
+
body: {
|
|
6352
|
+
default: string;
|
|
6353
|
+
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
6354
|
+
};
|
|
6355
|
+
heading: {
|
|
6356
|
+
default: string;
|
|
6357
|
+
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
6358
|
+
};
|
|
6359
|
+
button: {
|
|
6360
|
+
default: string;
|
|
6361
|
+
conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
|
|
6362
|
+
};
|
|
6363
|
+
};
|
|
6364
|
+
staticScale: {
|
|
6365
|
+
body: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6366
|
+
heading: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6367
|
+
button: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6368
|
+
};
|
|
6369
|
+
name: "fontFamily";
|
|
6370
|
+
};
|
|
6340
6371
|
};
|
|
6341
6372
|
} & {
|
|
6342
6373
|
config: {
|