@rarui/styles 2.2.0 → 2.2.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 +6 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/styles.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +28 -28
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +11 -2
package/dist/index.d.ts
CHANGED
|
@@ -405,7 +405,7 @@ declare const badgeStyles: {
|
|
|
405
405
|
};
|
|
406
406
|
}>;
|
|
407
407
|
};
|
|
408
|
-
export type BadgeVariants = RecipeVariants<typeof badgeStyles.badge
|
|
408
|
+
export type BadgeVariants = NonNullable<RecipeVariants<typeof badgeStyles.badge>>;
|
|
409
409
|
export declare const badge: {
|
|
410
410
|
classnames: {
|
|
411
411
|
badge: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -1624,7 +1624,7 @@ export interface StandardLonghandProperties {
|
|
|
1624
1624
|
*/
|
|
1625
1625
|
hangingPunctuation?: Property.HangingPunctuation | Conditions<Property.HangingPunctuation>;
|
|
1626
1626
|
/**
|
|
1627
|
-
* The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If `box-sizing` is set to `border-box`, however, it instead determines the height of the border area.
|
|
1627
|
+
* The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If `box-sizing` is set to `border-box`, however, it instead determines the height of the border area. It is also possible to pass a specific value.
|
|
1628
1628
|
*
|
|
1629
1629
|
*
|
|
1630
1630
|
* **Initial value**: `auto`
|
|
@@ -2052,7 +2052,7 @@ export interface StandardLonghandProperties {
|
|
|
2052
2052
|
*/
|
|
2053
2053
|
maxBlockSize?: Property.MaxBlockSize | Conditions<Property.MaxBlockSize>;
|
|
2054
2054
|
/**
|
|
2055
|
-
* The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`.
|
|
2055
|
+
* The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`. It is also possible to pass a specific value.
|
|
2056
2056
|
*
|
|
2057
2057
|
*
|
|
2058
2058
|
* **Initial value**: `none`
|
|
@@ -2073,7 +2073,7 @@ export interface StandardLonghandProperties {
|
|
|
2073
2073
|
*/
|
|
2074
2074
|
maxLines?: Property.MaxLines | Conditions<Property.MaxLines>;
|
|
2075
2075
|
/**
|
|
2076
|
-
* The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`.
|
|
2076
|
+
* The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. It is also possible to pass a specific value.
|
|
2077
2077
|
*
|
|
2078
2078
|
*
|
|
2079
2079
|
* **Initial value**: `none`
|
|
@@ -2089,7 +2089,7 @@ export interface StandardLonghandProperties {
|
|
|
2089
2089
|
*/
|
|
2090
2090
|
minBlockSize?: Property.MinBlockSize | Conditions<Property.MinBlockSize>;
|
|
2091
2091
|
/**
|
|
2092
|
-
* The **`min-height`** CSS property sets the minimum height of an element. It prevents the used value of the `height` property from becoming smaller than the value specified for `min-height`.
|
|
2092
|
+
* The **`min-height`** CSS property sets the minimum height of an element. It prevents the used value of the `height` property from becoming smaller than the value specified for `min-height`. It is also possible to pass a specific value.
|
|
2093
2093
|
*
|
|
2094
2094
|
*
|
|
2095
2095
|
* **Initial value**: `auto`
|
|
@@ -2105,7 +2105,7 @@ export interface StandardLonghandProperties {
|
|
|
2105
2105
|
*/
|
|
2106
2106
|
minInlineSize?: Property.MinInlineSize | Conditions<Property.MinInlineSize>;
|
|
2107
2107
|
/**
|
|
2108
|
-
* The **`min-width`** CSS property sets the minimum width of an element. It prevents the used value of the `width` property from becoming smaller than the value specified for `min-width`.
|
|
2108
|
+
* The **`min-width`** CSS property sets the minimum width of an element. It prevents the used value of the `width` property from becoming smaller than the value specified for `min-width`. It is also possible to pass a specific value.
|
|
2109
2109
|
*
|
|
2110
2110
|
*
|
|
2111
2111
|
* **Initial value**: `auto`
|
|
@@ -3189,7 +3189,7 @@ export interface StandardLonghandProperties {
|
|
|
3189
3189
|
*/
|
|
3190
3190
|
widows?: Property.Widows | Conditions<Property.Widows>;
|
|
3191
3191
|
/**
|
|
3192
|
-
* The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area.
|
|
3192
|
+
* The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. It is also possible to pass a specific value.
|
|
3193
3193
|
*
|
|
3194
3194
|
*
|
|
3195
3195
|
* **Initial value**: `auto`
|
|
@@ -7722,7 +7722,7 @@ export declare const box: {
|
|
|
7722
7722
|
}
|
|
7723
7723
|
]>;
|
|
7724
7724
|
};
|
|
7725
|
-
declare const
|
|
7725
|
+
declare const buttonStyles: {
|
|
7726
7726
|
button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7727
7727
|
/**
|
|
7728
7728
|
* Specifies whether the button should take up the full width of its container.
|
|
@@ -7823,7 +7823,7 @@ declare const styles: {
|
|
|
7823
7823
|
};
|
|
7824
7824
|
}>;
|
|
7825
7825
|
};
|
|
7826
|
-
export type ButtonVariants = NonNullable<RecipeVariants<typeof
|
|
7826
|
+
export type ButtonVariants = NonNullable<RecipeVariants<typeof buttonStyles.button>>;
|
|
7827
7827
|
export declare const button: {
|
|
7828
7828
|
classnames: {
|
|
7829
7829
|
button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8091,7 +8091,7 @@ declare const paddingProperties: {
|
|
|
8091
8091
|
medium: string;
|
|
8092
8092
|
small: string;
|
|
8093
8093
|
};
|
|
8094
|
-
export type ChipVariants = RecipeVariants<typeof chipStyles.chip
|
|
8094
|
+
export type ChipVariants = NonNullable<RecipeVariants<typeof chipStyles.chip>>;
|
|
8095
8095
|
export type ChipDynamicProperties = Pick<StandardLonghandProperties, "textTransform">;
|
|
8096
8096
|
export interface ChipSprinkle extends ChipDynamicProperties {
|
|
8097
8097
|
/**
|
|
@@ -8696,7 +8696,7 @@ export declare const iconButton: {
|
|
|
8696
8696
|
}>;
|
|
8697
8697
|
};
|
|
8698
8698
|
};
|
|
8699
|
-
declare const styles
|
|
8699
|
+
declare const styles: {
|
|
8700
8700
|
container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8701
8701
|
/**
|
|
8702
8702
|
* Determines the visual style of the input, affecting its border
|
|
@@ -8814,7 +8814,7 @@ declare const styles$1: {
|
|
|
8814
8814
|
};
|
|
8815
8815
|
}>;
|
|
8816
8816
|
};
|
|
8817
|
-
export type InputVariants = NonNullable<RecipeVariants<typeof styles
|
|
8817
|
+
export type InputVariants = NonNullable<RecipeVariants<typeof styles.container> & RecipeVariants<typeof styles.input>>;
|
|
8818
8818
|
export declare const input: {
|
|
8819
8819
|
classnames: {
|
|
8820
8820
|
container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8923,7 +8923,7 @@ export declare const input: {
|
|
|
8923
8923
|
}>;
|
|
8924
8924
|
};
|
|
8925
8925
|
};
|
|
8926
|
-
declare const styles$
|
|
8926
|
+
declare const styles$1: {
|
|
8927
8927
|
label: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8928
8928
|
/**
|
|
8929
8929
|
* Specifies whether the label is hidden or not
|
|
@@ -8942,7 +8942,7 @@ declare const styles$2: {
|
|
|
8942
8942
|
};
|
|
8943
8943
|
}>;
|
|
8944
8944
|
};
|
|
8945
|
-
export type LabelVariants = RecipeVariants<typeof styles$
|
|
8945
|
+
export type LabelVariants = RecipeVariants<typeof styles$1.label>;
|
|
8946
8946
|
export declare const label: {
|
|
8947
8947
|
classnames: {
|
|
8948
8948
|
label: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -8961,7 +8961,7 @@ export declare const label: {
|
|
|
8961
8961
|
}>;
|
|
8962
8962
|
};
|
|
8963
8963
|
};
|
|
8964
|
-
declare const styles$
|
|
8964
|
+
declare const styles$2: {
|
|
8965
8965
|
link: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8966
8966
|
/**
|
|
8967
8967
|
* Determines the visual style of the link.
|
|
@@ -8999,7 +8999,7 @@ declare const styles$3: {
|
|
|
8999
8999
|
};
|
|
9000
9000
|
}>;
|
|
9001
9001
|
};
|
|
9002
|
-
export type LinkVariants = RecipeVariants<typeof styles$
|
|
9002
|
+
export type LinkVariants = NonNullable<RecipeVariants<typeof styles$2.link>>;
|
|
9003
9003
|
export declare const link: {
|
|
9004
9004
|
classnames: {
|
|
9005
9005
|
link: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -9063,7 +9063,7 @@ declare const progressColorProperties: {
|
|
|
9063
9063
|
success: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9064
9064
|
brand: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9065
9065
|
};
|
|
9066
|
-
export type ProgressVariants = RecipeVariants<typeof progressStyles.circle
|
|
9066
|
+
export type ProgressVariants = NonNullable<RecipeVariants<typeof progressStyles.circle>>;
|
|
9067
9067
|
export interface ProgressSprinkle {
|
|
9068
9068
|
/**
|
|
9069
9069
|
* Specifies the color of the progress.
|
|
@@ -9151,7 +9151,7 @@ export declare const progress: {
|
|
|
9151
9151
|
}
|
|
9152
9152
|
]>;
|
|
9153
9153
|
};
|
|
9154
|
-
declare const styles$
|
|
9154
|
+
declare const styles$3: {
|
|
9155
9155
|
radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9156
9156
|
/**
|
|
9157
9157
|
* Specifies the size of the radiobutton
|
|
@@ -9215,7 +9215,7 @@ declare const styles$4: {
|
|
|
9215
9215
|
input: string;
|
|
9216
9216
|
container: string;
|
|
9217
9217
|
};
|
|
9218
|
-
export type RadioButtonVariants = RecipeVariants<typeof styles$
|
|
9218
|
+
export type RadioButtonVariants = NonNullable<RecipeVariants<typeof styles$3.radioButton>>;
|
|
9219
9219
|
export declare const radioButton: {
|
|
9220
9220
|
classnames: {
|
|
9221
9221
|
radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -10519,7 +10519,7 @@ export declare const textarea: {
|
|
|
10519
10519
|
}>;
|
|
10520
10520
|
};
|
|
10521
10521
|
};
|
|
10522
|
-
declare const styles$
|
|
10522
|
+
declare const styles$4: {
|
|
10523
10523
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10524
10524
|
/**
|
|
10525
10525
|
* Determines the visual style of the toast, influencing its color scheme and appearance.
|
|
@@ -10656,7 +10656,8 @@ declare const styles$5: {
|
|
|
10656
10656
|
};
|
|
10657
10657
|
}>;
|
|
10658
10658
|
};
|
|
10659
|
-
export type ToastVariants = RecipeVariants<typeof styles$
|
|
10659
|
+
export type ToastVariants = NonNullable<RecipeVariants<typeof styles$4.toast>>;
|
|
10660
|
+
export type ToastSprinkle = Pick<StandardLonghandProperties, "width">;
|
|
10660
10661
|
export declare const toast: {
|
|
10661
10662
|
classnames: {
|
|
10662
10663
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -10805,7 +10806,7 @@ export declare const toast: {
|
|
|
10805
10806
|
}
|
|
10806
10807
|
]>;
|
|
10807
10808
|
};
|
|
10808
|
-
declare const styles$
|
|
10809
|
+
declare const styles$5: {
|
|
10809
10810
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10810
10811
|
/**
|
|
10811
10812
|
* Specifies the size of the toggle, controlling its dimensions.
|
|
@@ -10911,7 +10912,7 @@ declare const styles$6: {
|
|
|
10911
10912
|
};
|
|
10912
10913
|
}>;
|
|
10913
10914
|
};
|
|
10914
|
-
export type ToggleVariants = RecipeVariants<typeof styles$
|
|
10915
|
+
export type ToggleVariants = RecipeVariants<typeof styles$5.toggle>;
|
|
10915
10916
|
export declare const toggle: {
|
|
10916
10917
|
classnames: {
|
|
10917
10918
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -11014,7 +11015,7 @@ export declare const toggle: {
|
|
|
11014
11015
|
}>;
|
|
11015
11016
|
};
|
|
11016
11017
|
};
|
|
11017
|
-
declare const styles$
|
|
11018
|
+
declare const styles$6: {
|
|
11018
11019
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
11019
11020
|
/**
|
|
11020
11021
|
* Specifies whether the color scheme should be inverted
|
|
@@ -11053,7 +11054,7 @@ declare const styles$7: {
|
|
|
11053
11054
|
}>;
|
|
11054
11055
|
container: string;
|
|
11055
11056
|
};
|
|
11056
|
-
export type TooltipVariants = RecipeVariants<typeof styles$
|
|
11057
|
+
export type TooltipVariants = NonNullable<RecipeVariants<typeof styles$6.tooltip>>;
|
|
11057
11058
|
export declare const tooltip: {
|
|
11058
11059
|
classnames: {
|
|
11059
11060
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
@@ -11192,7 +11193,7 @@ declare const breadcrumbStyles: {
|
|
|
11192
11193
|
};
|
|
11193
11194
|
}>;
|
|
11194
11195
|
};
|
|
11195
|
-
export type BreadcrumbVariants = RecipeVariants<typeof breadcrumbStyles.item
|
|
11196
|
+
export type BreadcrumbVariants = NonNullable<RecipeVariants<typeof breadcrumbStyles.item>>;
|
|
11196
11197
|
export declare const breadcrumb: {
|
|
11197
11198
|
classnames: {
|
|
11198
11199
|
breadcrumb: string;
|
|
@@ -12121,8 +12122,7 @@ declare const stepperStyles: {
|
|
|
12121
12122
|
};
|
|
12122
12123
|
}>;
|
|
12123
12124
|
};
|
|
12124
|
-
export type StepperVariants = RecipeVariants<typeof stepperStyles.stepper
|
|
12125
|
-
export type StepperStepVariants = RecipeVariants<typeof stepperStyles.circle>;
|
|
12125
|
+
export type StepperVariants = NonNullable<RecipeVariants<typeof stepperStyles.stepper> & RecipeVariants<typeof stepperStyles.circle>>;
|
|
12126
12126
|
export declare const stepper: {
|
|
12127
12127
|
classNames: {
|
|
12128
12128
|
stepper: import("@vanilla-extract/recipes").RuntimeFn<{
|