@rarui/styles 2.0.0 → 2.1.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/CHANGELOG.md +12 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +52 -27
- 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 +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -323,7 +323,7 @@ declare const badgeStyles: {
|
|
|
323
323
|
badge: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
324
324
|
/**
|
|
325
325
|
* Determines the visual style of the badge, influencing its color scheme and appearance.
|
|
326
|
-
* @
|
|
326
|
+
* @default brand
|
|
327
327
|
*/
|
|
328
328
|
appearance: {
|
|
329
329
|
brand: {
|
|
@@ -9020,7 +9020,7 @@ export declare const link: {
|
|
|
9020
9020
|
};
|
|
9021
9021
|
declare const progressStyles: {
|
|
9022
9022
|
progress: string;
|
|
9023
|
-
|
|
9023
|
+
bar: string;
|
|
9024
9024
|
circle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9025
9025
|
/**
|
|
9026
9026
|
* Specifies the size of the progress indicator.
|
|
@@ -9060,7 +9060,7 @@ export interface ProgressSprinkle {
|
|
|
9060
9060
|
export declare const progress: {
|
|
9061
9061
|
classnames: {
|
|
9062
9062
|
progress: string;
|
|
9063
|
-
|
|
9063
|
+
bar: string;
|
|
9064
9064
|
circle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9065
9065
|
size: {
|
|
9066
9066
|
large: {
|
|
@@ -9443,7 +9443,7 @@ declare const dropdownStyles: {
|
|
|
9443
9443
|
};
|
|
9444
9444
|
};
|
|
9445
9445
|
}>;
|
|
9446
|
-
|
|
9446
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9447
9447
|
selected: {
|
|
9448
9448
|
true: {
|
|
9449
9449
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9454,7 +9454,7 @@ declare const dropdownStyles: {
|
|
|
9454
9454
|
};
|
|
9455
9455
|
}>;
|
|
9456
9456
|
};
|
|
9457
|
-
export type DropdownVariants = NonNullable<RecipeVariants<typeof dropdownStyles.dropdown> & RecipeVariants<typeof dropdownStyles.
|
|
9457
|
+
export type DropdownVariants = NonNullable<RecipeVariants<typeof dropdownStyles.dropdown> & RecipeVariants<typeof dropdownStyles.item>>;
|
|
9458
9458
|
export type DropdownDynamicProperties = Pick<StandardLonghandProperties, "width" | "maxWidth">;
|
|
9459
9459
|
export interface DropdownSprinkle extends DropdownDynamicProperties {
|
|
9460
9460
|
/**
|
|
@@ -9564,6 +9564,10 @@ declare const styles$5: {
|
|
|
9564
9564
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9565
9565
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9566
9566
|
};
|
|
9567
|
+
info: {
|
|
9568
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9569
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9570
|
+
};
|
|
9567
9571
|
};
|
|
9568
9572
|
/**
|
|
9569
9573
|
* Specifies the size of the badge, controlling its dimensions.
|
|
@@ -9635,6 +9639,10 @@ declare const status$1: {
|
|
|
9635
9639
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9636
9640
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9637
9641
|
};
|
|
9642
|
+
info: {
|
|
9643
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9644
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9645
|
+
};
|
|
9638
9646
|
};
|
|
9639
9647
|
size: {
|
|
9640
9648
|
normal: {
|
|
@@ -10497,12 +10505,6 @@ export declare const textarea: {
|
|
|
10497
10505
|
};
|
|
10498
10506
|
declare const styles$6: {
|
|
10499
10507
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10500
|
-
/**
|
|
10501
|
-
* Where the toast is located
|
|
10502
|
-
*/
|
|
10503
|
-
placement: {
|
|
10504
|
-
topRight: {};
|
|
10505
|
-
};
|
|
10506
10508
|
/**
|
|
10507
10509
|
* Determines the visual style of the toast, influencing its color scheme and appearance.
|
|
10508
10510
|
*/
|
|
@@ -10643,9 +10645,6 @@ export type ToastVariants = RecipeVariants<typeof styles$6.toast>;
|
|
|
10643
10645
|
export declare const toast: {
|
|
10644
10646
|
classnames: {
|
|
10645
10647
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10646
|
-
placement: {
|
|
10647
|
-
topRight: {};
|
|
10648
|
-
};
|
|
10649
10648
|
appearance: {
|
|
10650
10649
|
info: {
|
|
10651
10650
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -11149,7 +11148,7 @@ export declare const accordion: {
|
|
|
11149
11148
|
};
|
|
11150
11149
|
declare const breadcrumbStyles: {
|
|
11151
11150
|
breadcrumb: string;
|
|
11152
|
-
|
|
11151
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11153
11152
|
/**
|
|
11154
11153
|
* Indicates whether the breadcrumb item is currently active.
|
|
11155
11154
|
* An active item is typically styled differently to show that it represents the current page.
|
|
@@ -11161,11 +11160,11 @@ declare const breadcrumbStyles: {
|
|
|
11161
11160
|
};
|
|
11162
11161
|
}>;
|
|
11163
11162
|
};
|
|
11164
|
-
export type BreadcrumbVariants = RecipeVariants<typeof breadcrumbStyles.
|
|
11163
|
+
export type BreadcrumbVariants = RecipeVariants<typeof breadcrumbStyles.item>;
|
|
11165
11164
|
export declare const breadcrumb: {
|
|
11166
11165
|
classnames: {
|
|
11167
11166
|
breadcrumb: string;
|
|
11168
|
-
|
|
11167
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11169
11168
|
active: {
|
|
11170
11169
|
true: {
|
|
11171
11170
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -11419,7 +11418,7 @@ export declare const dropdown: {
|
|
|
11419
11418
|
};
|
|
11420
11419
|
};
|
|
11421
11420
|
}>;
|
|
11422
|
-
|
|
11421
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11423
11422
|
selected: {
|
|
11424
11423
|
true: {
|
|
11425
11424
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -11639,7 +11638,7 @@ declare const paginationStyles: {
|
|
|
11639
11638
|
large: {};
|
|
11640
11639
|
};
|
|
11641
11640
|
}>;
|
|
11642
|
-
|
|
11641
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11643
11642
|
selected: {
|
|
11644
11643
|
true: {
|
|
11645
11644
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -11674,7 +11673,7 @@ declare const paginationStyles: {
|
|
|
11674
11673
|
};
|
|
11675
11674
|
}>;
|
|
11676
11675
|
};
|
|
11677
|
-
export type PaginationVariants = Omit<NonNullable<RecipeVariants<typeof paginationStyles.
|
|
11676
|
+
export type PaginationVariants = Omit<NonNullable<RecipeVariants<typeof paginationStyles.item>>, "selected">;
|
|
11678
11677
|
export declare const pagination: {
|
|
11679
11678
|
classnames: {
|
|
11680
11679
|
container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -11686,7 +11685,7 @@ export declare const pagination: {
|
|
|
11686
11685
|
large: {};
|
|
11687
11686
|
};
|
|
11688
11687
|
}>;
|
|
11689
|
-
|
|
11688
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11690
11689
|
selected: {
|
|
11691
11690
|
true: {
|
|
11692
11691
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -11909,7 +11908,7 @@ declare const sideNavigationStyles: {
|
|
|
11909
11908
|
};
|
|
11910
11909
|
};
|
|
11911
11910
|
}>;
|
|
11912
|
-
|
|
11911
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11913
11912
|
/**
|
|
11914
11913
|
* Determines the level of nesting for the item.
|
|
11915
11914
|
*/
|
|
@@ -11954,7 +11953,7 @@ declare const sideNavigationStyles: {
|
|
|
11954
11953
|
};
|
|
11955
11954
|
}>;
|
|
11956
11955
|
};
|
|
11957
|
-
export type SideNavigationVariants = NonNullable<RecipeVariants<typeof sideNavigationStyles.sideNavigation> & RecipeVariants<typeof sideNavigationStyles.
|
|
11956
|
+
export type SideNavigationVariants = NonNullable<RecipeVariants<typeof sideNavigationStyles.sideNavigation> & RecipeVariants<typeof sideNavigationStyles.item>>;
|
|
11958
11957
|
export declare const sideNavigation: {
|
|
11959
11958
|
classnames: {
|
|
11960
11959
|
sideNavigation: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -11983,7 +11982,7 @@ export declare const sideNavigation: {
|
|
|
11983
11982
|
};
|
|
11984
11983
|
};
|
|
11985
11984
|
}>;
|
|
11986
|
-
|
|
11985
|
+
item: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11987
11986
|
level: {
|
|
11988
11987
|
0: {
|
|
11989
11988
|
paddingLeft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -12069,7 +12068,7 @@ declare const stepperStyles: {
|
|
|
12069
12068
|
};
|
|
12070
12069
|
};
|
|
12071
12070
|
}>;
|
|
12072
|
-
|
|
12071
|
+
circle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
12073
12072
|
/**
|
|
12074
12073
|
* Indicates whether the step is currently active. An active step is typically highlighted to show that it is the current step.
|
|
12075
12074
|
*/
|
|
@@ -12091,7 +12090,7 @@ declare const stepperStyles: {
|
|
|
12091
12090
|
}>;
|
|
12092
12091
|
};
|
|
12093
12092
|
export type StepperVariants = RecipeVariants<typeof stepperStyles.stepper>;
|
|
12094
|
-
export type StepperStepVariants = RecipeVariants<typeof stepperStyles.
|
|
12093
|
+
export type StepperStepVariants = RecipeVariants<typeof stepperStyles.circle>;
|
|
12095
12094
|
export declare const stepper: {
|
|
12096
12095
|
classNames: {
|
|
12097
12096
|
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -12128,7 +12127,7 @@ export declare const stepper: {
|
|
|
12128
12127
|
};
|
|
12129
12128
|
};
|
|
12130
12129
|
}>;
|
|
12131
|
-
|
|
12130
|
+
circle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
12132
12131
|
active: {
|
|
12133
12132
|
true: {
|
|
12134
12133
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -12158,6 +12157,21 @@ declare const tabsStyles: {
|
|
|
12158
12157
|
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
12159
12158
|
};
|
|
12160
12159
|
};
|
|
12160
|
+
/**
|
|
12161
|
+
* Controls where the tab buttons are displayed. This prop accepts one of the following values: "left", "center", or "right".
|
|
12162
|
+
* @default left
|
|
12163
|
+
*/
|
|
12164
|
+
position: {
|
|
12165
|
+
left: {
|
|
12166
|
+
justifyContent: "flex-start";
|
|
12167
|
+
};
|
|
12168
|
+
center: {
|
|
12169
|
+
justifyContent: "center";
|
|
12170
|
+
};
|
|
12171
|
+
right: {
|
|
12172
|
+
justifyContent: "flex-end";
|
|
12173
|
+
};
|
|
12174
|
+
};
|
|
12161
12175
|
}>;
|
|
12162
12176
|
li: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
12163
12177
|
/**
|
|
@@ -12217,6 +12231,17 @@ export declare const tabs: {
|
|
|
12217
12231
|
borderBottomColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
12218
12232
|
};
|
|
12219
12233
|
};
|
|
12234
|
+
position: {
|
|
12235
|
+
left: {
|
|
12236
|
+
justifyContent: "flex-start";
|
|
12237
|
+
};
|
|
12238
|
+
center: {
|
|
12239
|
+
justifyContent: "center";
|
|
12240
|
+
};
|
|
12241
|
+
right: {
|
|
12242
|
+
justifyContent: "flex-end";
|
|
12243
|
+
};
|
|
12244
|
+
};
|
|
12220
12245
|
}>;
|
|
12221
12246
|
li: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
12222
12247
|
full: {
|