@rarui/styles 2.3.0-rc.1 → 2.3.0-rc.3
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/decorators/addSprinkleAttributes.d.ts +3 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +73 -12398
- package/dist/packages/exhibition/avatar/index.d.ts +52 -0
- package/dist/packages/exhibition/avatar/rarui-avatar.css.d.ts +54 -0
- package/dist/packages/exhibition/avatar/rarui-avatar.types.d.ts +6 -0
- package/dist/packages/exhibition/badge/index.d.ts +79 -0
- package/dist/packages/exhibition/badge/rarui-badge.css.d.ts +89 -0
- package/dist/packages/exhibition/badge/rarui-badge.types.d.ts +6 -0
- package/dist/packages/exhibition/divider/index.d.ts +167 -0
- package/dist/packages/exhibition/divider/rarui-divider.css.d.ts +6 -0
- package/dist/packages/exhibition/divider/rarui-divider.types.d.ts +26 -0
- package/dist/packages/exhibition/icon/index.d.ts +136 -0
- package/dist/packages/exhibition/icon/rarui-icon.types.d.ts +13 -0
- package/dist/packages/exhibition/label/index.d.ts +22 -0
- package/dist/packages/exhibition/label/rarui-label.css.d.ts +23 -0
- package/dist/packages/exhibition/label/rarui-label.types.d.ts +6 -0
- package/dist/packages/exhibition/stepper/index.d.ts +56 -0
- package/dist/packages/exhibition/stepper/rarui-stepper.css.d.ts +68 -0
- package/dist/packages/exhibition/stepper/rarui-stepper.types.d.ts +6 -0
- package/dist/packages/exhibition/text/index.d.ts +325 -0
- package/dist/packages/exhibition/text/rarui-text.css.d.ts +18 -0
- package/dist/packages/exhibition/text/rarui-text.types.d.ts +27 -0
- package/dist/packages/exhibition/title/index.d.ts +289 -0
- package/dist/packages/exhibition/title/rarui-title.css.d.ts +18 -0
- package/dist/packages/exhibition/title/rarui-title.types.d.ts +27 -0
- package/dist/packages/exhibition/tooltip/index.d.ts +39 -0
- package/dist/packages/exhibition/tooltip/rarui-tooltip.css.d.ts +43 -0
- package/dist/packages/exhibition/tooltip/rarui-tooltip.types.d.ts +6 -0
- package/dist/packages/feedback/progress/index.d.ts +81 -0
- package/dist/packages/feedback/progress/rarui-progress.css.d.ts +33 -0
- package/dist/packages/feedback/progress/rarui-progress.types.d.ts +16 -0
- package/dist/packages/feedback/skeleton/index.d.ts +115 -0
- package/dist/packages/feedback/skeleton/rarui-skeleton.types.d.ts +13 -0
- package/dist/packages/feedback/status/index.d.ts +70 -0
- package/dist/packages/feedback/status/rarui-status.css.d.ts +85 -0
- package/dist/packages/feedback/status/rarui-status.types.d.ts +6 -0
- package/dist/packages/feedback/toast/index.d.ts +151 -0
- package/dist/packages/feedback/toast/rarui-toast.css.d.ts +141 -0
- package/dist/packages/feedback/toast/rarui-toast.types.d.ts +8 -0
- package/dist/packages/input/button/index.d.ts +91 -0
- package/dist/packages/input/button/rarui-button.css.d.ts +105 -0
- package/dist/packages/input/button/rarui-button.types.d.ts +6 -0
- package/dist/packages/input/checkbox/index.d.ts +53 -0
- package/dist/packages/input/checkbox/rarui-checkbox.css.d.ts +63 -0
- package/dist/packages/input/checkbox/rarui-checkbox.types.d.ts +6 -0
- package/dist/packages/input/chip/index.d.ts +93 -0
- package/dist/packages/input/chip/rarui-chip.css.d.ts +75 -0
- package/dist/packages/input/chip/rarui-chip.types.d.ts +15 -0
- package/dist/packages/input/datepicker/index.d.ts +10 -0
- package/dist/packages/input/dropdown/index.d.ts +112 -0
- package/dist/packages/input/dropdown/rarui-dropdown.css.d.ts +30 -0
- package/dist/packages/input/dropdown/rarui-dropdown.types.d.ts +16 -0
- package/dist/packages/input/iconButton/index.d.ts +90 -0
- package/dist/packages/input/iconButton/rarui-iconButton.css.d.ts +98 -0
- package/dist/packages/input/iconButton/rarui-iconButton.types.d.ts +6 -0
- package/dist/packages/input/input/index.d.ts +112 -0
- package/dist/packages/input/input/rarui-input.css.d.ts +122 -0
- package/dist/packages/input/input/rarui-input.types.d.ts +6 -0
- package/dist/packages/input/radioButton/index.d.ts +64 -0
- package/dist/packages/input/radioButton/rarui-radioButton.css.d.ts +68 -0
- package/dist/packages/input/radioButton/rarui-radioButton.types.d.ts +6 -0
- package/dist/packages/input/select/index.d.ts +67 -0
- package/dist/packages/input/select/rarui-select.css.d.ts +54 -0
- package/dist/packages/input/select/rarui-select.types.d.ts +9 -0
- package/dist/packages/input/textarea/index.d.ts +36 -0
- package/dist/packages/input/textarea/rarui-textarea.css.d.ts +37 -0
- package/dist/packages/input/textarea/rarui-textarea.types.d.ts +6 -0
- package/dist/packages/input/toggle/index.d.ts +106 -0
- package/dist/packages/input/toggle/rarui-toggle.css.d.ts +110 -0
- package/dist/packages/input/toggle/rarui-toggle.types.d.ts +6 -0
- package/dist/packages/layout/box/index.d.ts +3122 -0
- package/dist/packages/layout/box/rarui-box.css.d.ts +38 -0
- package/dist/packages/layout/box/rarui-box.types.d.ts +227 -0
- package/dist/packages/layout/sidebar/index.d.ts +121 -0
- package/dist/packages/layout/sidebar/rarui-sidebar.css.d.ts +37 -0
- package/dist/packages/layout/sidebar/rarui-sidebar.types.d.ts +21 -0
- package/dist/packages/navigation/breadcrumb/index.d.ts +16 -0
- package/dist/packages/navigation/breadcrumb/rarui-breadcrumb.css.d.ts +18 -0
- package/dist/packages/navigation/breadcrumb/rarui-breadcrumb.types.d.ts +6 -0
- package/dist/packages/navigation/link/index.d.ts +38 -0
- package/dist/packages/navigation/link/rarui-link.css.d.ts +42 -0
- package/dist/packages/navigation/link/rarui-link.types.d.ts +6 -0
- package/dist/packages/navigation/pagination/index.d.ts +47 -0
- package/dist/packages/navigation/pagination/rarui-pagination.css.d.ts +49 -0
- package/dist/packages/navigation/pagination/rarui-pagination.types.d.ts +6 -0
- package/dist/packages/navigation/sideNavigation/index.d.ts +75 -0
- package/dist/packages/navigation/sideNavigation/rarui-sideNavigation.css.d.ts +76 -0
- package/dist/packages/navigation/sideNavigation/rarui-sideNavigation.types.d.ts +6 -0
- package/dist/packages/navigation/tabs/index.d.ts +65 -0
- package/dist/packages/navigation/tabs/rarui-tabs.css.d.ts +79 -0
- package/dist/packages/navigation/tabs/rarui-tabs.types.d.ts +6 -0
- package/dist/packages/surface/accordion/index.d.ts +47 -0
- package/dist/packages/surface/accordion/rarui-accordion.css.d.ts +49 -0
- package/dist/packages/surface/accordion/rarui-accordion.types.d.ts +6 -0
- package/dist/packages/surface/banner/index.d.ts +41 -0
- package/dist/packages/surface/banner/rarui-banner.css.d.ts +47 -0
- package/dist/packages/surface/banner/rarui-banner.types.d.ts +6 -0
- package/dist/packages/surface/card/index.d.ts +195 -0
- package/dist/packages/surface/card/rarui-card.css.d.ts +27 -0
- package/dist/packages/surface/card/rarui-card.types.d.ts +16 -0
- package/dist/packages/surface/modal/index.d.ts +91 -0
- package/dist/packages/surface/modal/rarui-modal.css.d.ts +21 -0
- package/dist/packages/surface/modal/rarui-modal.types.d.ts +16 -0
- package/dist/properties/css.d.ts +207 -0
- package/dist/themes/globals.css.d.ts +219 -0
- package/dist/themes/rarui-theme-dark.css.d.ts +3 -0
- package/dist/types/css.types.d.ts +3658 -0
- package/dist/types/utils.types.d.ts +9 -0
- package/dist/utils/index.d.ts +3 -0
- package/package.json +8 -15
- package/dist/node_modules/@vanilla-extract/dynamic/dist/vanilla-extract-dynamic.esm.js +0 -1
- package/dist/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +0 -1
- package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +0 -1
- package/dist/node_modules/rainbow-sprinkles/dist/createRuntimeFn-891c4670.esm.js +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const boxFillProperties: {
|
|
2
|
+
currentColor: string;
|
|
3
|
+
transparent: string;
|
|
4
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
|
+
brand: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6
|
+
"brand-hover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7
|
+
"brand-press": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8
|
+
"brand-subdued": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
disabled: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10
|
+
error: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
|
+
"error-hover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
12
|
+
"error-press": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
13
|
+
"error-subdued": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
|
+
hover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
15
|
+
info: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
16
|
+
"info-hover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17
|
+
"info-press": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
|
+
"info-subdued": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
19
|
+
invert: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
20
|
+
"invert-disabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
21
|
+
"invert-hover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
22
|
+
"invert-press": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
23
|
+
"invert-secondary": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
24
|
+
overlay: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
25
|
+
press: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
26
|
+
primary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
|
+
secondary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
28
|
+
success: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
29
|
+
"success-hover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
30
|
+
"success-press": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
31
|
+
"success-subdued": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
32
|
+
warning: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
33
|
+
"warning-hover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
|
+
"warning-press": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
|
+
"warning-subdued": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { boxFillProperties };
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { StandardLonghandProperties, StandardShorthandProperties } from '../../../types/css.types.js';
|
|
2
|
+
import { AddDollar, Conditions } from '../../../types/utils.types.js';
|
|
3
|
+
import { spacingProperties, backgroundColorProperties, colorProperties, borderRadiusProperties, borderWidthProperties, borderColorProperties, shadowProperties, marginProperties, zIndexProperties, fontFamilyProperties, fontSizeProperties, fontWeightProperties, lineHeightProperties } from '../../../properties/css.js';
|
|
4
|
+
import { boxFillProperties } from './rarui-box.css.js';
|
|
5
|
+
|
|
6
|
+
interface BoxConditions<T> extends Conditions<T> {
|
|
7
|
+
focus?: T;
|
|
8
|
+
focusWithin?: T;
|
|
9
|
+
active?: T;
|
|
10
|
+
hover?: T;
|
|
11
|
+
disabled?: T;
|
|
12
|
+
}
|
|
13
|
+
type BoxDynamicProperties = Pick<StandardLonghandProperties, "display" | "width" | "height" | "maxWidth" | "maxHeight" | "minWidth" | "minHeight" | "bottom" | "left" | "right" | "top" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "flexShrink" | "flexGrow" | "order" | "transitionDelay" | "transitionProperty" | "backgroundImage" | "backgroundBlendMode" | "backgroundRepeat" | "backgroundSize" | "flexDirection" | "flexWrap" | "flexBasis" | "justifyContent" | "justifyItems" | "alignContent" | "alignItems" | "alignSelf" | "pointerEvents" | "position" | "boxSizing" | "cursor" | "overflowX" | "overflowY" | "transitionTimingFunction" | "textAlign" | "opacity" | "backgroundPositionY" | "backgroundPositionX"> & Pick<StandardShorthandProperties, "flex" | "gridArea" | "backgroundPosition" | "flexFlow" | "borderStyle" | "overflow" | "textDecoration">;
|
|
14
|
+
interface BoxSprinkle extends BoxDynamicProperties {
|
|
15
|
+
/**
|
|
16
|
+
* The gap property sets the gaps between rows and columns. It is a shorthand for rowGap and columnGap.
|
|
17
|
+
*/
|
|
18
|
+
gap?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
19
|
+
/**
|
|
20
|
+
* The gridGap property sets the gaps between rows and columns. It is a shorthand for rowGap and columnGap.
|
|
21
|
+
*/
|
|
22
|
+
gridGap?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
23
|
+
/**
|
|
24
|
+
* The backgroundColor property sets the background color of the box.
|
|
25
|
+
* @examples ["$brand", { xs: "$brand", md: "$secondary" }]
|
|
26
|
+
*/
|
|
27
|
+
backgroundColor?: AddDollar<keyof typeof backgroundColorProperties> | BoxConditions<AddDollar<keyof typeof backgroundColorProperties>>;
|
|
28
|
+
/**
|
|
29
|
+
* The color property is used to set the color of the box.
|
|
30
|
+
*/
|
|
31
|
+
color?: AddDollar<keyof typeof colorProperties> | BoxConditions<AddDollar<keyof typeof colorProperties>>;
|
|
32
|
+
/**
|
|
33
|
+
* The fill color property is used to set the color of the box.
|
|
34
|
+
*/
|
|
35
|
+
fill?: AddDollar<keyof typeof boxFillProperties> | BoxConditions<AddDollar<keyof typeof boxFillProperties>>;
|
|
36
|
+
/**
|
|
37
|
+
* The borderRadius property rounds the corners of an box's outer border edge.
|
|
38
|
+
*/
|
|
39
|
+
borderRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
40
|
+
/**
|
|
41
|
+
* The borderTopLeftRadius property rounds the corners of an box's outer border edge.
|
|
42
|
+
*/
|
|
43
|
+
borderTopLeftRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
44
|
+
/**
|
|
45
|
+
* The borderTopRightRadius property rounds the corners of an box's outer border edge.
|
|
46
|
+
*/
|
|
47
|
+
borderTopRightRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
48
|
+
/**
|
|
49
|
+
* The borderBottomLeftRadius property rounds the corners of an box's outer border edge.
|
|
50
|
+
*/
|
|
51
|
+
borderBottomLeftRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
52
|
+
/**
|
|
53
|
+
* The borderBottomRightRadius property rounds the corners of an box's outer border edge.
|
|
54
|
+
*/
|
|
55
|
+
borderBottomRightRadius?: AddDollar<keyof typeof borderRadiusProperties> | BoxConditions<AddDollar<keyof typeof borderRadiusProperties>>;
|
|
56
|
+
/**
|
|
57
|
+
* The borderWidth property sets the width of an box's border.
|
|
58
|
+
*/
|
|
59
|
+
borderWidth?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
60
|
+
/**
|
|
61
|
+
* The borderTopWidth property defines the width of the border at the top of a box.
|
|
62
|
+
*/
|
|
63
|
+
borderTopWidth?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
64
|
+
/**
|
|
65
|
+
* The borderBottomWidth property defines the width of the border at the bottom of a box.
|
|
66
|
+
*/
|
|
67
|
+
borderBottomWidth?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
68
|
+
/**
|
|
69
|
+
* The borderLeftWidth property defines the width of the border at the left of a box.
|
|
70
|
+
*/
|
|
71
|
+
borderLeftWidth?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
72
|
+
/**
|
|
73
|
+
* The borderRightWidth property defines the width of the border at the right of a box.
|
|
74
|
+
*/
|
|
75
|
+
borderRightWidth?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
76
|
+
/**
|
|
77
|
+
* The borderWidthX shorthand property defines the width of the element's border on the left and right.
|
|
78
|
+
*/
|
|
79
|
+
borderWidthX?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
80
|
+
/**
|
|
81
|
+
* The borderWidthY shorthand property defines the width of the element's border on the top and bottom.
|
|
82
|
+
*/
|
|
83
|
+
borderWidthY?: AddDollar<keyof typeof borderWidthProperties> | BoxConditions<AddDollar<keyof typeof borderWidthProperties>>;
|
|
84
|
+
/**
|
|
85
|
+
* The borderColor property sets the color of the box's four borders.
|
|
86
|
+
*/
|
|
87
|
+
borderColor?: AddDollar<keyof typeof borderColorProperties> | BoxConditions<AddDollar<keyof typeof borderColorProperties>>;
|
|
88
|
+
/**
|
|
89
|
+
* The boxShadow property adds shadow effects around an box's frame.
|
|
90
|
+
*/
|
|
91
|
+
boxShadow?: AddDollar<keyof typeof shadowProperties> | BoxConditions<AddDollar<keyof typeof shadowProperties>>;
|
|
92
|
+
/**
|
|
93
|
+
* The padding properties are used to generate space around an box's content area.
|
|
94
|
+
*/
|
|
95
|
+
padding?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
96
|
+
/**
|
|
97
|
+
* The paddingTop property sets the height of the padding area on the top of an box.
|
|
98
|
+
*/
|
|
99
|
+
paddingTop?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
100
|
+
/**
|
|
101
|
+
* The paddingBottom property sets the height of the padding area on the bottom of an box.
|
|
102
|
+
*/
|
|
103
|
+
paddingBottom?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
104
|
+
/**
|
|
105
|
+
* The paddingLeft property sets the width of the padding area to the left of an box.
|
|
106
|
+
*/
|
|
107
|
+
paddingLeft?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
108
|
+
/**
|
|
109
|
+
* The paddingLeft property sets the width of the padding area to the right of an box.
|
|
110
|
+
*/
|
|
111
|
+
paddingRight?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
112
|
+
/**
|
|
113
|
+
* The margin shorthand property sets the margin area on all four sides of an box.
|
|
114
|
+
*/
|
|
115
|
+
margin?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
116
|
+
/**
|
|
117
|
+
* The marginTop property sets the margin area on the top of an box.
|
|
118
|
+
*/
|
|
119
|
+
marginTop?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
120
|
+
/**
|
|
121
|
+
* The marginBottom property sets the margin area on the bottom of an box.
|
|
122
|
+
*/
|
|
123
|
+
marginBottom?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
124
|
+
/**
|
|
125
|
+
* The marginLeft property sets the margin area on the left side of an box.
|
|
126
|
+
*/
|
|
127
|
+
marginLeft?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
128
|
+
/**
|
|
129
|
+
* The marginRight property sets the margin area on the right side of an box.
|
|
130
|
+
*/
|
|
131
|
+
marginRight?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
132
|
+
/**
|
|
133
|
+
* The zIndex property specifies the stack order of the box.
|
|
134
|
+
*/
|
|
135
|
+
zIndex?: AddDollar<keyof typeof zIndexProperties> | BoxConditions<AddDollar<keyof typeof zIndexProperties>>;
|
|
136
|
+
/**
|
|
137
|
+
* The p shorthand property sets the margin area on all four sides of an box.
|
|
138
|
+
*/
|
|
139
|
+
p?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
140
|
+
/**
|
|
141
|
+
* The pl shorthand property sets the width of the padding area to the left of an box.
|
|
142
|
+
*/
|
|
143
|
+
pl?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
144
|
+
/**
|
|
145
|
+
* The pl shorthand property sets the width of the padding area to the right of an box.
|
|
146
|
+
*/
|
|
147
|
+
pr?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
148
|
+
/**
|
|
149
|
+
* The pt shorthand property sets the height of the padding area on the top of an box.
|
|
150
|
+
*/
|
|
151
|
+
pt?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
152
|
+
/**
|
|
153
|
+
* The pb shorthand property sets the height of the padding area on the botton of an box.
|
|
154
|
+
*/
|
|
155
|
+
pb?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
156
|
+
/**
|
|
157
|
+
* The px shorthand property defines the width of the left and right padding area of a box.
|
|
158
|
+
*/
|
|
159
|
+
px?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
160
|
+
/**
|
|
161
|
+
* The py pt shorthand property sets the height of the padding area at the top and bottom of a box.
|
|
162
|
+
*/
|
|
163
|
+
py?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
164
|
+
/**
|
|
165
|
+
* The paddingX shorthand property defines the width of the left and right padding area of a box.
|
|
166
|
+
*/
|
|
167
|
+
paddingX?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
168
|
+
/**
|
|
169
|
+
* The paddingY pt shorthand property sets the height of the padding area at the top and bottom of a box.
|
|
170
|
+
*/
|
|
171
|
+
paddingY?: AddDollar<keyof typeof spacingProperties> | BoxConditions<AddDollar<keyof typeof spacingProperties>>;
|
|
172
|
+
/**
|
|
173
|
+
* The m shorthand property sets the margin area on all four sides of an box.
|
|
174
|
+
*/
|
|
175
|
+
m?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
176
|
+
/**
|
|
177
|
+
* The mr property sets the margin area on the right side of an box.
|
|
178
|
+
*/
|
|
179
|
+
mr?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
180
|
+
/**
|
|
181
|
+
* The ml property sets the margin area on the left side of an box.
|
|
182
|
+
*/
|
|
183
|
+
ml?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
184
|
+
/**
|
|
185
|
+
* The mt property sets the margin area on the top of an box.
|
|
186
|
+
*/
|
|
187
|
+
mt?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
188
|
+
/**
|
|
189
|
+
* The marginBottom property sets the margin area on the bottom of an box.
|
|
190
|
+
*/
|
|
191
|
+
mb?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
192
|
+
/**
|
|
193
|
+
* The mx property defines the margin area on the left and right side of a box.
|
|
194
|
+
*/
|
|
195
|
+
mx?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
196
|
+
/**
|
|
197
|
+
* The my property defines the margin area on the top and bottom of a box
|
|
198
|
+
*/
|
|
199
|
+
my?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
200
|
+
/**
|
|
201
|
+
* The marginX property defines the margin area on the left and right side of a box.
|
|
202
|
+
*/
|
|
203
|
+
marginX?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
204
|
+
/**
|
|
205
|
+
* The marginY property defines the margin area on the top and bottom of a box
|
|
206
|
+
*/
|
|
207
|
+
marginY?: AddDollar<keyof typeof marginProperties> | BoxConditions<AddDollar<keyof typeof marginProperties>>;
|
|
208
|
+
/**
|
|
209
|
+
* The fontFamily property sets the font family of the box.
|
|
210
|
+
*/
|
|
211
|
+
fontFamily?: AddDollar<keyof typeof fontFamilyProperties> | BoxConditions<AddDollar<keyof typeof fontFamilyProperties>>;
|
|
212
|
+
/**
|
|
213
|
+
* The fontSize property sets the size of the box.
|
|
214
|
+
*/
|
|
215
|
+
fontSize?: AddDollar<keyof typeof fontSizeProperties> | BoxConditions<AddDollar<keyof typeof fontSizeProperties>>;
|
|
216
|
+
/**
|
|
217
|
+
* The fontWeight property sets how thick or thin characters in box should be displayed.
|
|
218
|
+
*/
|
|
219
|
+
fontWeight?: AddDollar<keyof typeof fontWeightProperties> | BoxConditions<AddDollar<keyof typeof fontWeightProperties>>;
|
|
220
|
+
/**
|
|
221
|
+
* The lineHeight property specifies the line height of the box.
|
|
222
|
+
* @default base
|
|
223
|
+
*/
|
|
224
|
+
lineHeight?: AddDollar<keyof typeof lineHeightProperties> | BoxConditions<AddDollar<keyof typeof lineHeightProperties>>;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export type { BoxSprinkle };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { SprinklesFn } from '../../../node_modules/rainbow-sprinkles/dist/declarations/src/createRuntimeFn.d.js';
|
|
2
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
3
|
+
|
|
4
|
+
declare const sidebar: {
|
|
5
|
+
classnames: {
|
|
6
|
+
sidebar: RuntimeFn<{
|
|
7
|
+
position: {
|
|
8
|
+
left: {
|
|
9
|
+
left: number;
|
|
10
|
+
transform: "translateX(-100%)";
|
|
11
|
+
};
|
|
12
|
+
right: {
|
|
13
|
+
right: number;
|
|
14
|
+
transform: "translateX(100%)";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
open: {
|
|
18
|
+
true: {
|
|
19
|
+
opacity: number;
|
|
20
|
+
transform: "translateX(0)";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}>;
|
|
24
|
+
overlay: string;
|
|
25
|
+
};
|
|
26
|
+
sprinkle: SprinklesFn<[{
|
|
27
|
+
config: {
|
|
28
|
+
zIndex: {
|
|
29
|
+
values: {
|
|
30
|
+
100: {
|
|
31
|
+
default: string;
|
|
32
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
33
|
+
};
|
|
34
|
+
200: {
|
|
35
|
+
default: string;
|
|
36
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
37
|
+
};
|
|
38
|
+
300: {
|
|
39
|
+
default: string;
|
|
40
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
41
|
+
};
|
|
42
|
+
400: {
|
|
43
|
+
default: string;
|
|
44
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
45
|
+
};
|
|
46
|
+
500: {
|
|
47
|
+
default: string;
|
|
48
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
49
|
+
};
|
|
50
|
+
600: {
|
|
51
|
+
default: string;
|
|
52
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
53
|
+
};
|
|
54
|
+
700: {
|
|
55
|
+
default: string;
|
|
56
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
57
|
+
};
|
|
58
|
+
800: {
|
|
59
|
+
default: string;
|
|
60
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
61
|
+
};
|
|
62
|
+
900: {
|
|
63
|
+
default: string;
|
|
64
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
staticScale: {
|
|
68
|
+
"100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
69
|
+
"200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
70
|
+
"300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
71
|
+
"400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
72
|
+
"500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
73
|
+
"600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
74
|
+
"700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
75
|
+
"800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
76
|
+
"900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
77
|
+
};
|
|
78
|
+
name: "zIndex";
|
|
79
|
+
};
|
|
80
|
+
padding: {
|
|
81
|
+
values: {
|
|
82
|
+
medium: {
|
|
83
|
+
default: string;
|
|
84
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
85
|
+
};
|
|
86
|
+
none: {
|
|
87
|
+
default: string;
|
|
88
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
89
|
+
};
|
|
90
|
+
small: {
|
|
91
|
+
default: string;
|
|
92
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
staticScale: {
|
|
96
|
+
none: string;
|
|
97
|
+
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
98
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
99
|
+
};
|
|
100
|
+
name: "padding";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
} & {
|
|
104
|
+
config: {
|
|
105
|
+
maxWidth: {
|
|
106
|
+
dynamic: {
|
|
107
|
+
default: string;
|
|
108
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
109
|
+
};
|
|
110
|
+
dynamicScale: true;
|
|
111
|
+
name: "maxWidth";
|
|
112
|
+
vars: {
|
|
113
|
+
default: string;
|
|
114
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}]>;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export { sidebar };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
|
|
3
|
+
declare const sidebarStyles: {
|
|
4
|
+
sidebar: RuntimeFn<{
|
|
5
|
+
/**
|
|
6
|
+
* Specifies where the sidebar should be positioned
|
|
7
|
+
*/
|
|
8
|
+
position: {
|
|
9
|
+
left: {
|
|
10
|
+
left: number;
|
|
11
|
+
transform: "translateX(-100%)";
|
|
12
|
+
};
|
|
13
|
+
right: {
|
|
14
|
+
right: number;
|
|
15
|
+
transform: "translateX(100%)";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Determines if the sidebar is shown or not.
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
open: {
|
|
23
|
+
true: {
|
|
24
|
+
opacity: number;
|
|
25
|
+
transform: "translateX(0)";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
overlay: string;
|
|
30
|
+
};
|
|
31
|
+
declare const sidebarPaddingProperties: {
|
|
32
|
+
none: string;
|
|
33
|
+
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { sidebarPaddingProperties, sidebarStyles };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RecipeVariants } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
import { zIndexProperties } from '../../../properties/css.js';
|
|
3
|
+
import { StandardLonghandProperties } from '../../../types/css.types.js';
|
|
4
|
+
import { AddDollar, Conditions } from '../../../types/utils.types.js';
|
|
5
|
+
import { sidebarStyles, sidebarPaddingProperties } from './rarui-sidebar.css.js';
|
|
6
|
+
|
|
7
|
+
type SidebarVariants = RecipeVariants<typeof sidebarStyles.sidebar>;
|
|
8
|
+
type SidebarDynamicProperties = Pick<StandardLonghandProperties, "maxWidth">;
|
|
9
|
+
interface SidebarSprinkle extends SidebarDynamicProperties {
|
|
10
|
+
/**
|
|
11
|
+
* The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once.
|
|
12
|
+
* @default small
|
|
13
|
+
*/
|
|
14
|
+
padding?: AddDollar<keyof typeof sidebarPaddingProperties> | Conditions<AddDollar<keyof typeof sidebarPaddingProperties>>;
|
|
15
|
+
/**
|
|
16
|
+
* The zIndex property specifies the stack order of the box.
|
|
17
|
+
*/
|
|
18
|
+
zIndex?: AddDollar<keyof typeof zIndexProperties> | Conditions<AddDollar<keyof typeof zIndexProperties>>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type { SidebarSprinkle, SidebarVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
|
|
3
|
+
declare const breadcrumb: {
|
|
4
|
+
classnames: {
|
|
5
|
+
breadcrumb: string;
|
|
6
|
+
item: RuntimeFn<{
|
|
7
|
+
active: {
|
|
8
|
+
true: {
|
|
9
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { breadcrumb };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
|
|
3
|
+
declare const breadcrumbStyles: {
|
|
4
|
+
breadcrumb: string;
|
|
5
|
+
item: RuntimeFn<{
|
|
6
|
+
/**
|
|
7
|
+
* Indicates whether the breadcrumb item is currently active.
|
|
8
|
+
* An active item is typically styled differently to show that it represents the current page.
|
|
9
|
+
*/
|
|
10
|
+
active: {
|
|
11
|
+
true: {
|
|
12
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { breadcrumbStyles };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RecipeVariants } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
import { breadcrumbStyles } from './rarui-breadcrumb.css.js';
|
|
3
|
+
|
|
4
|
+
type BreadcrumbVariants = NonNullable<RecipeVariants<typeof breadcrumbStyles.item>>;
|
|
5
|
+
|
|
6
|
+
export type { BreadcrumbVariants };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
|
|
3
|
+
declare const link: {
|
|
4
|
+
classnames: {
|
|
5
|
+
link: RuntimeFn<{
|
|
6
|
+
appearance: {
|
|
7
|
+
brand: {
|
|
8
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
};
|
|
10
|
+
neutral: {
|
|
11
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
12
|
+
};
|
|
13
|
+
inverted: {
|
|
14
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
large: {
|
|
19
|
+
fontSize: "1.125rem";
|
|
20
|
+
lineHeight: "1.75rem";
|
|
21
|
+
letterSpacing: ".0112rem";
|
|
22
|
+
};
|
|
23
|
+
small: {
|
|
24
|
+
fontSize: ".875rem";
|
|
25
|
+
lineHeight: "1.25rem";
|
|
26
|
+
letterSpacing: ".0088rem";
|
|
27
|
+
};
|
|
28
|
+
medium: {
|
|
29
|
+
fontSize: "1rem";
|
|
30
|
+
lineHeight: "1.5rem";
|
|
31
|
+
letterSpacing: ".01rem";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { link };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
|
|
3
|
+
declare const styles: {
|
|
4
|
+
link: RuntimeFn<{
|
|
5
|
+
/**
|
|
6
|
+
* Determines the visual style of the link.
|
|
7
|
+
*/
|
|
8
|
+
appearance: {
|
|
9
|
+
brand: {
|
|
10
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
|
+
};
|
|
12
|
+
neutral: {
|
|
13
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
|
+
};
|
|
15
|
+
inverted: {
|
|
16
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the size of the link.
|
|
21
|
+
*/
|
|
22
|
+
size: {
|
|
23
|
+
large: {
|
|
24
|
+
fontSize: "1.125rem";
|
|
25
|
+
lineHeight: "1.75rem";
|
|
26
|
+
letterSpacing: ".0112rem";
|
|
27
|
+
};
|
|
28
|
+
small: {
|
|
29
|
+
fontSize: ".875rem";
|
|
30
|
+
lineHeight: "1.25rem";
|
|
31
|
+
letterSpacing: ".0088rem";
|
|
32
|
+
};
|
|
33
|
+
medium: {
|
|
34
|
+
fontSize: "1rem";
|
|
35
|
+
lineHeight: "1.5rem";
|
|
36
|
+
letterSpacing: ".01rem";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}>;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { styles };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RecipeVariants } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
import { styles } from './rarui-link.css.js';
|
|
3
|
+
|
|
4
|
+
type LinkVariants = NonNullable<RecipeVariants<typeof styles.link>>;
|
|
5
|
+
|
|
6
|
+
export type { LinkVariants };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { RuntimeFn } from '../../../node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.cjs.d.js';
|
|
2
|
+
|
|
3
|
+
declare const pagination: {
|
|
4
|
+
classnames: {
|
|
5
|
+
container: RuntimeFn<{
|
|
6
|
+
size: {
|
|
7
|
+
dot: {
|
|
8
|
+
gap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
};
|
|
10
|
+
small: {};
|
|
11
|
+
large: {};
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
item: RuntimeFn<{
|
|
15
|
+
selected: {
|
|
16
|
+
true: {
|
|
17
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
19
|
+
":hover": {
|
|
20
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
21
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
dot: {
|
|
27
|
+
width: "0.75rem";
|
|
28
|
+
height: "0.75rem";
|
|
29
|
+
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
30
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
31
|
+
};
|
|
32
|
+
small: {
|
|
33
|
+
minWidth: "2.5rem";
|
|
34
|
+
height: "2.5rem";
|
|
35
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
36
|
+
};
|
|
37
|
+
large: {
|
|
38
|
+
minWidth: "2.75rem";
|
|
39
|
+
height: "2.75rem";
|
|
40
|
+
fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { pagination };
|