@rarui/styles 3.2.1 → 3.2.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/CHANGELOG.md +20 -0
- package/dist/decorators/addSprinkleAttributes.d.ts +3 -0
- package/dist/decorators/addSprinkleAttributes.js +1 -0
- package/dist/index.css +7 -1
- package/dist/packages/exhibition/divider/index.d.ts +8 -8
- package/dist/packages/exhibition/icon/index.d.ts +18 -18
- package/dist/packages/exhibition/text/index.d.ts +18 -18
- package/dist/packages/exhibition/title/index.d.ts +18 -18
- package/dist/packages/feedback/status/index.d.ts +4 -4
- package/dist/packages/feedback/status/rarui-status.css +4 -4
- package/dist/packages/feedback/status/rarui-status.css.d.ts +4 -4
- package/dist/packages/input/checkbox/rarui-checkbox.css +4 -0
- package/dist/packages/input/input/rarui-input.css +1 -0
- package/dist/packages/input/radioButton/rarui-radioButton.css +4 -0
- package/dist/packages/input/toggle/rarui-toggle.css +4 -0
- package/dist/packages/layout/box/index.d.ts +319 -319
- package/dist/packages/layout/sidebar/index.d.ts +2 -2
- package/dist/packages/navigation/link/rarui-link.css +5 -0
- package/dist/packages/surface/banner/index.d.ts +4 -0
- package/dist/packages/surface/banner/rarui-banner.css +16 -8
- package/dist/packages/surface/banner/rarui-banner.css.d.ts +4 -0
- package/dist/packages/surface/banner/rarui-banner.css.js +1 -1
- package/dist/packages/surface/card/index.d.ts +33 -33
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +1 -0
- package/package.json +1 -1
|
@@ -14,11 +14,7 @@ declare const divider: {
|
|
|
14
14
|
config: {
|
|
15
15
|
borderColor: {
|
|
16
16
|
values: {
|
|
17
|
-
|
|
18
|
-
default: string;
|
|
19
|
-
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
20
|
-
};
|
|
21
|
-
"brand-alt": {
|
|
17
|
+
transparent: {
|
|
22
18
|
default: string;
|
|
23
19
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
24
20
|
};
|
|
@@ -42,6 +38,10 @@ declare const divider: {
|
|
|
42
38
|
default: string;
|
|
43
39
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
40
|
};
|
|
41
|
+
"invert-disabled": {
|
|
42
|
+
default: string;
|
|
43
|
+
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
|
+
};
|
|
45
45
|
primary: {
|
|
46
46
|
default: string;
|
|
47
47
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
@@ -58,15 +58,15 @@ declare const divider: {
|
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
"brand-alt": {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
divider: {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
subdued: {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
@@ -14,75 +14,75 @@ declare const icon: {
|
|
|
14
14
|
config: {
|
|
15
15
|
color: {
|
|
16
16
|
values: {
|
|
17
|
-
|
|
17
|
+
brand: {
|
|
18
18
|
default: string;
|
|
19
19
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
disabled: {
|
|
22
22
|
default: string;
|
|
23
23
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
error: {
|
|
26
26
|
default: string;
|
|
27
27
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
info: {
|
|
30
30
|
default: string;
|
|
31
31
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
invert: {
|
|
34
34
|
default: string;
|
|
35
35
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
36
36
|
};
|
|
37
|
-
"
|
|
37
|
+
"invert-disabled": {
|
|
38
38
|
default: string;
|
|
39
39
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
40
40
|
};
|
|
41
|
-
"
|
|
41
|
+
"invert-secondary": {
|
|
42
42
|
default: string;
|
|
43
43
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
primary: {
|
|
46
46
|
default: string;
|
|
47
47
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
secondary: {
|
|
50
50
|
default: string;
|
|
51
51
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
success: {
|
|
54
54
|
default: string;
|
|
55
55
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
warning: {
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
"brand-alt": {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
"on-brand": {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
"on-error": {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
"on-info": {
|
|
74
74
|
default: string;
|
|
75
75
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
"on-success": {
|
|
78
78
|
default: string;
|
|
79
79
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
"on-warning": {
|
|
82
82
|
default: string;
|
|
83
83
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
84
84
|
};
|
|
85
|
-
warning: {
|
|
85
|
+
"warning-alt": {
|
|
86
86
|
default: string;
|
|
87
87
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
88
88
|
};
|
|
@@ -18,75 +18,75 @@ declare const text: {
|
|
|
18
18
|
config: {
|
|
19
19
|
color: {
|
|
20
20
|
values: {
|
|
21
|
-
|
|
21
|
+
brand: {
|
|
22
22
|
default: string;
|
|
23
23
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
disabled: {
|
|
26
26
|
default: string;
|
|
27
27
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
error: {
|
|
30
30
|
default: string;
|
|
31
31
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
info: {
|
|
34
34
|
default: string;
|
|
35
35
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
invert: {
|
|
38
38
|
default: string;
|
|
39
39
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
40
40
|
};
|
|
41
|
-
"
|
|
41
|
+
"invert-disabled": {
|
|
42
42
|
default: string;
|
|
43
43
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
44
|
};
|
|
45
|
-
"
|
|
45
|
+
"invert-secondary": {
|
|
46
46
|
default: string;
|
|
47
47
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
primary: {
|
|
50
50
|
default: string;
|
|
51
51
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
secondary: {
|
|
54
54
|
default: string;
|
|
55
55
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
success: {
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
warning: {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
"brand-alt": {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
"on-brand": {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
"on-error": {
|
|
74
74
|
default: string;
|
|
75
75
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
"on-info": {
|
|
78
78
|
default: string;
|
|
79
79
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
"on-success": {
|
|
82
82
|
default: string;
|
|
83
83
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
"on-warning": {
|
|
86
86
|
default: string;
|
|
87
87
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
88
88
|
};
|
|
89
|
-
warning: {
|
|
89
|
+
"warning-alt": {
|
|
90
90
|
default: string;
|
|
91
91
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
92
92
|
};
|
|
@@ -42,75 +42,75 @@ declare const title: {
|
|
|
42
42
|
config: {
|
|
43
43
|
color: {
|
|
44
44
|
values: {
|
|
45
|
-
|
|
45
|
+
brand: {
|
|
46
46
|
default: string;
|
|
47
47
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
disabled: {
|
|
50
50
|
default: string;
|
|
51
51
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
error: {
|
|
54
54
|
default: string;
|
|
55
55
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
info: {
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
invert: {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
"
|
|
65
|
+
"invert-disabled": {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
"
|
|
69
|
+
"invert-secondary": {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
primary: {
|
|
74
74
|
default: string;
|
|
75
75
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
secondary: {
|
|
78
78
|
default: string;
|
|
79
79
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
success: {
|
|
82
82
|
default: string;
|
|
83
83
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
warning: {
|
|
86
86
|
default: string;
|
|
87
87
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
"brand-alt": {
|
|
90
90
|
default: string;
|
|
91
91
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
92
92
|
};
|
|
93
|
-
|
|
93
|
+
"on-brand": {
|
|
94
94
|
default: string;
|
|
95
95
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
"on-error": {
|
|
98
98
|
default: string;
|
|
99
99
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
"on-info": {
|
|
102
102
|
default: string;
|
|
103
103
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
104
104
|
};
|
|
105
|
-
|
|
105
|
+
"on-success": {
|
|
106
106
|
default: string;
|
|
107
107
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
"on-warning": {
|
|
110
110
|
default: string;
|
|
111
111
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
112
112
|
};
|
|
113
|
-
warning: {
|
|
113
|
+
"warning-alt": {
|
|
114
114
|
default: string;
|
|
115
115
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
116
116
|
};
|
|
@@ -55,12 +55,12 @@ declare const status: {
|
|
|
55
55
|
dot: RuntimeFn<{
|
|
56
56
|
size: {
|
|
57
57
|
normal: {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
minHeight: ".5rem";
|
|
59
|
+
minWidth: ".5rem";
|
|
60
60
|
};
|
|
61
61
|
small: {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
minHeight: ".25rem";
|
|
63
|
+
minWidth: ".25rem";
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
border-radius: var(--rarui-shape-border-radius-pill);
|
|
100
100
|
}
|
|
101
101
|
.rarui-status_dot_size_normal__wfzj07q {
|
|
102
|
-
height: .5rem;
|
|
103
|
-
width: .5rem;
|
|
102
|
+
min-height: .5rem;
|
|
103
|
+
min-width: .5rem;
|
|
104
104
|
}
|
|
105
105
|
.rarui-status_dot_size_small__wfzj07r {
|
|
106
|
-
height: .25rem;
|
|
107
|
-
width: .25rem;
|
|
106
|
+
min-height: .25rem;
|
|
107
|
+
min-width: .25rem;
|
|
108
108
|
}
|
|
@@ -72,12 +72,12 @@ declare const statusStyles: {
|
|
|
72
72
|
dot: RuntimeFn<{
|
|
73
73
|
size: {
|
|
74
74
|
normal: {
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
minHeight: ".5rem";
|
|
76
|
+
minWidth: ".5rem";
|
|
77
77
|
};
|
|
78
78
|
small: {
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
minHeight: ".25rem";
|
|
80
|
+
minWidth: ".25rem";
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
}>;
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
border-color: var(--rarui-colors-border-subdued);
|
|
20
20
|
pointer-events: none;
|
|
21
21
|
}
|
|
22
|
+
.rarui-checkbox__1qvfiyr1:focus-within {
|
|
23
|
+
outline: none;
|
|
24
|
+
box-shadow: var(--rarui-elevation-focus-ring);
|
|
25
|
+
}
|
|
22
26
|
.rarui-checkbox__1qvfiyr1:after {
|
|
23
27
|
content: "";
|
|
24
28
|
display: block;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
transition: all 150ms ease;
|
|
9
9
|
border-radius: var(--rarui-shape-border-radius-input);
|
|
10
10
|
border-color: var(--rarui-colors-border-secondary);
|
|
11
|
+
box-sizing: border-box;
|
|
11
12
|
}
|
|
12
13
|
.rarui-input_container__lq13ap0:hover {
|
|
13
14
|
border-color: var(--rarui-colors-border-primary);
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
border-width: var(--rarui-shape-border-width-2);
|
|
10
10
|
border-color: var(--rarui-colors-border-primary);
|
|
11
11
|
}
|
|
12
|
+
.rarui-radioButton__1d9isw70:focus-within {
|
|
13
|
+
outline: none;
|
|
14
|
+
box-shadow: var(--rarui-elevation-focus-ring);
|
|
15
|
+
}
|
|
12
16
|
.rarui-radioButton__1d9isw70:before {
|
|
13
17
|
content: "";
|
|
14
18
|
position: absolute;
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
border-radius: var(--rarui-shape-border-radius-pill);
|
|
9
9
|
}
|
|
10
|
+
.rarui-toggle__1acg1b30:focus-within {
|
|
11
|
+
outline: none;
|
|
12
|
+
box-shadow: var(--rarui-elevation-focus-ring);
|
|
13
|
+
}
|
|
10
14
|
.rarui-toggle__1acg1b30:before {
|
|
11
15
|
content: "";
|
|
12
16
|
position: absolute;
|