@rarui/styles 1.31.0-rc.7 → 1.31.0

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/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 borderRadius property rounds the corners of an box's outer border edge.
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 borderRadius property rounds the corners of an box's outer border edge.
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 borderRadius property rounds the corners of an box's outer border edge.
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 borderRadius property rounds the corners of an box's outer border edge.
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
- xs: {
4716
+ button: {
4708
4717
  default: string;
4709
4718
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4710
4719
  };
4711
- xl: {
4720
+ xs: {
4712
4721
  default: string;
4713
4722
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4714
4723
  };
4715
- button: {
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
- xs: {
4778
+ button: {
4770
4779
  default: string;
4771
4780
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4772
4781
  };
4773
- xl: {
4782
+ xs: {
4774
4783
  default: string;
4775
4784
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4776
4785
  };
4777
- button: {
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
- xs: {
4840
+ button: {
4832
4841
  default: string;
4833
4842
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4834
4843
  };
4835
- xl: {
4844
+ xs: {
4836
4845
  default: string;
4837
4846
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4838
4847
  };
4839
- button: {
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
- xs: {
4902
+ button: {
4894
4903
  default: string;
4895
4904
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4896
4905
  };
4897
- xl: {
4906
+ xs: {
4898
4907
  default: string;
4899
4908
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4900
4909
  };
4901
- button: {
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
- xs: {
4964
+ button: {
4956
4965
  default: string;
4957
4966
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4958
4967
  };
4959
- xl: {
4968
+ xs: {
4960
4969
  default: string;
4961
4970
  conditions: Record<"disabled" | "hover" | "xs" | "xl" | "md" | "lg" | "active" | "focus" | "focusWithin", string>;
4962
4971
  };
4963
- button: {
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
  };
@@ -11266,7 +11315,22 @@ declare const sideNavigationStyles: {
11266
11315
  };
11267
11316
  };
11268
11317
  }>;
11269
- sideNavigationItem: string;
11318
+ sideNavigationItem: import("@vanilla-extract/recipes").RuntimeFn<{
11319
+ /**
11320
+ * Determines the level of nesting for the item.
11321
+ */
11322
+ level: {
11323
+ 0: {
11324
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11325
+ };
11326
+ 1: {
11327
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11328
+ };
11329
+ 2: {
11330
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11331
+ };
11332
+ };
11333
+ }>;
11270
11334
  name: import("@vanilla-extract/recipes").RuntimeFn<{
11271
11335
  active: {
11272
11336
  true: {
@@ -11290,13 +11354,13 @@ declare const sideNavigationStyles: {
11290
11354
  open: {
11291
11355
  true: {
11292
11356
  overflow: "visible";
11293
- maxHeight: "100vh";
11357
+ maxHeight: "unset";
11294
11358
  marginTop: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11295
11359
  };
11296
11360
  };
11297
11361
  }>;
11298
11362
  };
11299
- export type SideNavigationVariants = RecipeVariants<typeof sideNavigationStyles.sideNavigation>;
11363
+ export type SideNavigationVariants = NonNullable<RecipeVariants<typeof sideNavigationStyles.sideNavigation> & RecipeVariants<typeof sideNavigationStyles.sideNavigationItem>>;
11300
11364
  export declare const sideNavigation: {
11301
11365
  classnames: {
11302
11366
  sideNavigation: import("@vanilla-extract/recipes").RuntimeFn<{
@@ -11325,7 +11389,19 @@ export declare const sideNavigation: {
11325
11389
  };
11326
11390
  };
11327
11391
  }>;
11328
- sideNavigationItem: string;
11392
+ sideNavigationItem: import("@vanilla-extract/recipes").RuntimeFn<{
11393
+ level: {
11394
+ 0: {
11395
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11396
+ };
11397
+ 1: {
11398
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11399
+ };
11400
+ 2: {
11401
+ paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11402
+ };
11403
+ };
11404
+ }>;
11329
11405
  name: import("@vanilla-extract/recipes").RuntimeFn<{
11330
11406
  active: {
11331
11407
  true: {
@@ -11349,7 +11425,7 @@ export declare const sideNavigation: {
11349
11425
  open: {
11350
11426
  true: {
11351
11427
  overflow: "visible";
11352
- maxHeight: "100vh";
11428
+ maxHeight: "unset";
11353
11429
  marginTop: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
11354
11430
  };
11355
11431
  };