@rarui/styles 1.23.0 → 1.24.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 +116 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/themes/dark.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -7066,11 +7066,20 @@ export declare const box: {
|
|
|
7066
7066
|
};
|
|
7067
7067
|
declare const styles: {
|
|
7068
7068
|
button: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7069
|
+
/**
|
|
7070
|
+
* Specifies whether the button should take up the full width of its container.
|
|
7071
|
+
* This variant is useful when you want to make a button span the entire width of its parent container.
|
|
7072
|
+
*
|
|
7073
|
+
*/
|
|
7069
7074
|
full: {
|
|
7070
7075
|
true: {
|
|
7071
7076
|
width: "100%";
|
|
7072
7077
|
};
|
|
7073
7078
|
};
|
|
7079
|
+
/**
|
|
7080
|
+
* Defines the appearance variants for the button component.
|
|
7081
|
+
* Each appearance variant corresponds to a specific background color, border color, and text color.
|
|
7082
|
+
*/
|
|
7074
7083
|
appearance: {
|
|
7075
7084
|
brand: {
|
|
7076
7085
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7103,6 +7112,9 @@ declare const styles: {
|
|
|
7103
7112
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7104
7113
|
};
|
|
7105
7114
|
};
|
|
7115
|
+
/**
|
|
7116
|
+
* Defines the size of the button component.
|
|
7117
|
+
*/
|
|
7106
7118
|
size: {
|
|
7107
7119
|
large: {
|
|
7108
7120
|
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7120,6 +7132,9 @@ declare const styles: {
|
|
|
7120
7132
|
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7121
7133
|
};
|
|
7122
7134
|
};
|
|
7135
|
+
/**
|
|
7136
|
+
* Defines the visual variant of the badge, affecting its background style, border and text.
|
|
7137
|
+
*/
|
|
7123
7138
|
variant: {
|
|
7124
7139
|
solid: {};
|
|
7125
7140
|
outlined: {
|
|
@@ -7230,6 +7245,9 @@ export declare const button: {
|
|
|
7230
7245
|
};
|
|
7231
7246
|
};
|
|
7232
7247
|
declare const checkbox: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7248
|
+
/**
|
|
7249
|
+
* Specifies whether the checkbox is in error state
|
|
7250
|
+
*/
|
|
7233
7251
|
error: {
|
|
7234
7252
|
true: {
|
|
7235
7253
|
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7238,6 +7256,9 @@ declare const checkbox: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
7238
7256
|
};
|
|
7239
7257
|
};
|
|
7240
7258
|
};
|
|
7259
|
+
/**
|
|
7260
|
+
* Specifies the size of the checkbox
|
|
7261
|
+
*/
|
|
7241
7262
|
size: {
|
|
7242
7263
|
medium: {
|
|
7243
7264
|
width: "1.25rem";
|
|
@@ -7248,6 +7269,9 @@ declare const checkbox: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
7248
7269
|
height: "1.5rem";
|
|
7249
7270
|
};
|
|
7250
7271
|
};
|
|
7272
|
+
/**
|
|
7273
|
+
* Specifies whether the checkbox is indeterminate state
|
|
7274
|
+
*/
|
|
7251
7275
|
indeterminate: {
|
|
7252
7276
|
true: {
|
|
7253
7277
|
selectors: {
|
|
@@ -7316,11 +7340,17 @@ declare const checkbox$1: {
|
|
|
7316
7340
|
};
|
|
7317
7341
|
declare const styles$1: {
|
|
7318
7342
|
chip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7343
|
+
/**
|
|
7344
|
+
* Specifies whether the chip will be displayed in the pill shape
|
|
7345
|
+
*/
|
|
7319
7346
|
pill: {
|
|
7320
7347
|
true: {
|
|
7321
7348
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7322
7349
|
};
|
|
7323
7350
|
};
|
|
7351
|
+
/**
|
|
7352
|
+
* Specifies whether the chip is selected
|
|
7353
|
+
*/
|
|
7324
7354
|
selected: {
|
|
7325
7355
|
true: {
|
|
7326
7356
|
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7331,6 +7361,9 @@ declare const styles$1: {
|
|
|
7331
7361
|
};
|
|
7332
7362
|
};
|
|
7333
7363
|
};
|
|
7364
|
+
/**
|
|
7365
|
+
* Specifies the size of the chip
|
|
7366
|
+
*/
|
|
7334
7367
|
size: {
|
|
7335
7368
|
medium: {
|
|
7336
7369
|
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7742,6 +7775,9 @@ export declare const icon: {
|
|
|
7742
7775
|
};
|
|
7743
7776
|
declare const styles$2: {
|
|
7744
7777
|
iconButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7778
|
+
/**
|
|
7779
|
+
* Determines the visual style of the icon button, influencing its color scheme and appearance.
|
|
7780
|
+
*/
|
|
7745
7781
|
appearance: {
|
|
7746
7782
|
brand: {
|
|
7747
7783
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7775,6 +7811,9 @@ declare const styles$2: {
|
|
|
7775
7811
|
};
|
|
7776
7812
|
};
|
|
7777
7813
|
variant: {
|
|
7814
|
+
/**
|
|
7815
|
+
* Defines the visual variant of the icon button, affecting its background style, border and text.
|
|
7816
|
+
*/
|
|
7778
7817
|
solid: {};
|
|
7779
7818
|
outlined: {
|
|
7780
7819
|
backgroundColor: "transparent";
|
|
@@ -7885,6 +7924,9 @@ export declare const iconButton: {
|
|
|
7885
7924
|
};
|
|
7886
7925
|
declare const styles$3: {
|
|
7887
7926
|
container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7927
|
+
/**
|
|
7928
|
+
* Determines the visual style of the input, affecting its border
|
|
7929
|
+
*/
|
|
7888
7930
|
appearance: {
|
|
7889
7931
|
success: {
|
|
7890
7932
|
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -7907,9 +7949,15 @@ declare const styles$3: {
|
|
|
7907
7949
|
};
|
|
7908
7950
|
}>;
|
|
7909
7951
|
input: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
7952
|
+
/**
|
|
7953
|
+
* Places a divider between the input and the leading components
|
|
7954
|
+
*/
|
|
7910
7955
|
divider: {
|
|
7911
7956
|
false: {};
|
|
7912
7957
|
};
|
|
7958
|
+
/**
|
|
7959
|
+
* Specifies the size of the badge, controlling its dimensions.
|
|
7960
|
+
*/
|
|
7913
7961
|
size: {
|
|
7914
7962
|
large: {
|
|
7915
7963
|
height: "3rem";
|
|
@@ -8064,6 +8112,9 @@ export declare const input: {
|
|
|
8064
8112
|
};
|
|
8065
8113
|
declare const styles$4: {
|
|
8066
8114
|
label: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8115
|
+
/**
|
|
8116
|
+
* Specifies whether the label is hidden or not
|
|
8117
|
+
*/
|
|
8067
8118
|
hidden: {
|
|
8068
8119
|
true: {
|
|
8069
8120
|
border: "0";
|
|
@@ -8099,6 +8150,9 @@ export declare const label: {
|
|
|
8099
8150
|
};
|
|
8100
8151
|
declare const styles$5: {
|
|
8101
8152
|
link: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8153
|
+
/**
|
|
8154
|
+
* Determines the visual style of the link.
|
|
8155
|
+
*/
|
|
8102
8156
|
appearance: {
|
|
8103
8157
|
brand: {
|
|
8104
8158
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -8110,6 +8164,9 @@ declare const styles$5: {
|
|
|
8110
8164
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8111
8165
|
};
|
|
8112
8166
|
};
|
|
8167
|
+
/**
|
|
8168
|
+
* Specifies the size of the link.
|
|
8169
|
+
*/
|
|
8113
8170
|
size: {
|
|
8114
8171
|
large: {
|
|
8115
8172
|
fontSize: "1.125rem";
|
|
@@ -8258,6 +8315,9 @@ export declare const progress: {
|
|
|
8258
8315
|
};
|
|
8259
8316
|
declare const styles$6: {
|
|
8260
8317
|
radioButton: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8318
|
+
/**
|
|
8319
|
+
* Specifies the size of the radiobutton
|
|
8320
|
+
*/
|
|
8261
8321
|
size: {
|
|
8262
8322
|
small: {
|
|
8263
8323
|
width: "1.25rem";
|
|
@@ -8284,6 +8344,9 @@ declare const styles$6: {
|
|
|
8284
8344
|
};
|
|
8285
8345
|
};
|
|
8286
8346
|
};
|
|
8347
|
+
/**
|
|
8348
|
+
* Specifies whether the radiobutton is in error state
|
|
8349
|
+
*/
|
|
8287
8350
|
error: {
|
|
8288
8351
|
true: {
|
|
8289
8352
|
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -8495,6 +8558,9 @@ export declare const skeleton: {
|
|
|
8495
8558
|
};
|
|
8496
8559
|
declare const styles$7: {
|
|
8497
8560
|
status: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
8561
|
+
/**
|
|
8562
|
+
* Determines the visual style of the status, influencing its color scheme.
|
|
8563
|
+
*/
|
|
8498
8564
|
appearance: {
|
|
8499
8565
|
success: {
|
|
8500
8566
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -8513,6 +8579,9 @@ declare const styles$7: {
|
|
|
8513
8579
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8514
8580
|
};
|
|
8515
8581
|
};
|
|
8582
|
+
/**
|
|
8583
|
+
* Specifies the size of the badge, controlling its dimensions.
|
|
8584
|
+
*/
|
|
8516
8585
|
size: {
|
|
8517
8586
|
normal: {
|
|
8518
8587
|
height: "1.75rem";
|
|
@@ -8523,9 +8592,15 @@ declare const styles$7: {
|
|
|
8523
8592
|
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8524
8593
|
};
|
|
8525
8594
|
};
|
|
8595
|
+
/**
|
|
8596
|
+
* Specifies whether the status is in subdued mode
|
|
8597
|
+
*/
|
|
8526
8598
|
subdued: {
|
|
8527
8599
|
true: {};
|
|
8528
8600
|
};
|
|
8601
|
+
/**
|
|
8602
|
+
* Specifies the variant of the status
|
|
8603
|
+
*/
|
|
8529
8604
|
variant: {
|
|
8530
8605
|
solid: {};
|
|
8531
8606
|
text: {
|
|
@@ -9269,9 +9344,15 @@ export declare const banner: {
|
|
|
9269
9344
|
};
|
|
9270
9345
|
declare const styles$8: {
|
|
9271
9346
|
toast: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9347
|
+
/**
|
|
9348
|
+
* Where the toast is located
|
|
9349
|
+
*/
|
|
9272
9350
|
placement: {
|
|
9273
9351
|
topRight: {};
|
|
9274
9352
|
};
|
|
9353
|
+
/**
|
|
9354
|
+
* Determines the visual style of the toast, influencing its color scheme and appearance.
|
|
9355
|
+
*/
|
|
9275
9356
|
appearance: {
|
|
9276
9357
|
info: {
|
|
9277
9358
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9298,6 +9379,9 @@ declare const styles$8: {
|
|
|
9298
9379
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9299
9380
|
};
|
|
9300
9381
|
};
|
|
9382
|
+
/**
|
|
9383
|
+
* Specifies the size of the toast, controlling its dimensions.
|
|
9384
|
+
*/
|
|
9301
9385
|
size: {
|
|
9302
9386
|
small: {
|
|
9303
9387
|
padding: `var(--${string}) var(--${string})` | `var(--${string}) var(--${string}, ${string})` | `var(--${string}) var(--${string}, ${number})` | `var(--${string}, ${string}) var(--${string})` | `var(--${string}, ${string}) var(--${string}, ${string})` | `var(--${string}, ${string}) var(--${string}, ${number})` | `var(--${string}, ${number}) var(--${string})` | `var(--${string}, ${number}) var(--${string}, ${string})` | `var(--${string}, ${number}) var(--${string}, ${number})`;
|
|
@@ -9309,6 +9393,9 @@ declare const styles$8: {
|
|
|
9309
9393
|
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9310
9394
|
};
|
|
9311
9395
|
};
|
|
9396
|
+
/**
|
|
9397
|
+
* Specifies the variant of the toast
|
|
9398
|
+
*/
|
|
9312
9399
|
variant: {
|
|
9313
9400
|
solid: {};
|
|
9314
9401
|
tonal: {
|
|
@@ -9530,6 +9617,9 @@ export declare const toast: {
|
|
|
9530
9617
|
};
|
|
9531
9618
|
declare const styles$9: {
|
|
9532
9619
|
toggle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9620
|
+
/**
|
|
9621
|
+
* Specifies the size of the toggle, controlling its dimensions.
|
|
9622
|
+
*/
|
|
9533
9623
|
size: {
|
|
9534
9624
|
large: {
|
|
9535
9625
|
":before": {
|
|
@@ -9556,6 +9646,9 @@ declare const styles$9: {
|
|
|
9556
9646
|
};
|
|
9557
9647
|
};
|
|
9558
9648
|
};
|
|
9649
|
+
/**
|
|
9650
|
+
* Specifies whether the radiobutton is in error state
|
|
9651
|
+
*/
|
|
9559
9652
|
error: {
|
|
9560
9653
|
true: {
|
|
9561
9654
|
":before": {
|
|
@@ -9671,6 +9764,9 @@ export declare const toggle: {
|
|
|
9671
9764
|
};
|
|
9672
9765
|
declare const styles$10: {
|
|
9673
9766
|
tooltip: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9767
|
+
/**
|
|
9768
|
+
* Specifies whether the color scheme should be inverted
|
|
9769
|
+
*/
|
|
9674
9770
|
inverted: {
|
|
9675
9771
|
true: {
|
|
9676
9772
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9681,6 +9777,9 @@ declare const styles$10: {
|
|
|
9681
9777
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9682
9778
|
};
|
|
9683
9779
|
};
|
|
9780
|
+
/**
|
|
9781
|
+
* Specifies the padding for the tooltip
|
|
9782
|
+
*/
|
|
9684
9783
|
padding: {
|
|
9685
9784
|
base: {
|
|
9686
9785
|
padding: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9765,6 +9864,14 @@ export declare const breadcrumb: {
|
|
|
9765
9864
|
}>;
|
|
9766
9865
|
};
|
|
9767
9866
|
};
|
|
9867
|
+
export declare const datepicker: {
|
|
9868
|
+
classnames: {
|
|
9869
|
+
datepicker: string;
|
|
9870
|
+
day: string;
|
|
9871
|
+
weekday: string;
|
|
9872
|
+
time: string;
|
|
9873
|
+
};
|
|
9874
|
+
};
|
|
9768
9875
|
declare const dropdownStyles: {
|
|
9769
9876
|
dropdown: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
9770
9877
|
/**
|
|
@@ -9845,6 +9952,7 @@ declare const paginationStyles: {
|
|
|
9845
9952
|
selected: {
|
|
9846
9953
|
true: {
|
|
9847
9954
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9955
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9848
9956
|
":hover": {
|
|
9849
9957
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9850
9958
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9891,6 +9999,7 @@ export declare const pagination: {
|
|
|
9891
9999
|
selected: {
|
|
9892
10000
|
true: {
|
|
9893
10001
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10002
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9894
10003
|
":hover": {
|
|
9895
10004
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9896
10005
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -9920,6 +10029,9 @@ export declare const pagination: {
|
|
|
9920
10029
|
};
|
|
9921
10030
|
declare const sidebarStyles: {
|
|
9922
10031
|
sidebar: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
10032
|
+
/**
|
|
10033
|
+
* Specifies where the sidebar should be positioned
|
|
10034
|
+
*/
|
|
9923
10035
|
position: {
|
|
9924
10036
|
left: {
|
|
9925
10037
|
left: number;
|
|
@@ -9930,6 +10042,10 @@ declare const sidebarStyles: {
|
|
|
9930
10042
|
transform: "translateX(100%)";
|
|
9931
10043
|
};
|
|
9932
10044
|
};
|
|
10045
|
+
/**
|
|
10046
|
+
* Determines if the sidebar is shown or not.
|
|
10047
|
+
* @default true
|
|
10048
|
+
*/
|
|
9933
10049
|
open: {
|
|
9934
10050
|
true: {
|
|
9935
10051
|
opacity: number;
|