@rarui/styles 2.7.0 → 3.0.0-rc.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 +12 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -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/input/input/rarui-input.css +11 -0
- package/dist/packages/layout/box/index.d.ts +319 -319
- package/dist/packages/layout/box/rarui-box.types.d.ts +0 -1
- package/dist/packages/layout/sidebar/index.d.ts +2 -2
- package/dist/packages/layout/sidebar/rarui-sidebar.css.d.ts +0 -1
- package/dist/packages/surface/card/index.d.ts +33 -33
- package/package.json +5 -4
|
@@ -219,7 +219,6 @@ interface BoxSprinkle extends BoxDynamicProperties {
|
|
|
219
219
|
fontWeight?: AddDollar<keyof typeof fontWeightProperties> | BoxConditions<AddDollar<keyof typeof fontWeightProperties>>;
|
|
220
220
|
/**
|
|
221
221
|
* The lineHeight property specifies the line height of the box.
|
|
222
|
-
* @default base
|
|
223
222
|
*/
|
|
224
223
|
lineHeight?: AddDollar<keyof typeof lineHeightProperties> | BoxConditions<AddDollar<keyof typeof lineHeightProperties>>;
|
|
225
224
|
}
|
|
@@ -79,11 +79,11 @@ declare const sidebar: {
|
|
|
79
79
|
};
|
|
80
80
|
padding: {
|
|
81
81
|
values: {
|
|
82
|
-
|
|
82
|
+
none: {
|
|
83
83
|
default: string;
|
|
84
84
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
medium: {
|
|
87
87
|
default: string;
|
|
88
88
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
89
89
|
};
|
|
@@ -18,135 +18,135 @@ declare const card: {
|
|
|
18
18
|
config: {
|
|
19
19
|
backgroundColor: {
|
|
20
20
|
values: {
|
|
21
|
-
|
|
21
|
+
overlay: {
|
|
22
22
|
default: string;
|
|
23
23
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
background: {
|
|
26
26
|
default: string;
|
|
27
27
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
transparent: {
|
|
30
30
|
default: string;
|
|
31
31
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
brand: {
|
|
34
34
|
default: string;
|
|
35
35
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
36
36
|
};
|
|
37
|
-
"
|
|
37
|
+
"brand-hover": {
|
|
38
38
|
default: string;
|
|
39
39
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
40
40
|
};
|
|
41
|
-
"
|
|
41
|
+
"brand-press": {
|
|
42
42
|
default: string;
|
|
43
43
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
44
44
|
};
|
|
45
|
-
"
|
|
45
|
+
"brand-subdued": {
|
|
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
|
+
"error-hover": {
|
|
58
58
|
default: string;
|
|
59
59
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
60
60
|
};
|
|
61
|
-
"
|
|
61
|
+
"error-press": {
|
|
62
62
|
default: string;
|
|
63
63
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
64
64
|
};
|
|
65
|
-
"
|
|
65
|
+
"error-subdued": {
|
|
66
66
|
default: string;
|
|
67
67
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
hover: {
|
|
70
70
|
default: string;
|
|
71
71
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
info: {
|
|
74
74
|
default: string;
|
|
75
75
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
76
76
|
};
|
|
77
|
-
"
|
|
77
|
+
"info-hover": {
|
|
78
78
|
default: string;
|
|
79
79
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
80
80
|
};
|
|
81
|
-
"
|
|
81
|
+
"info-press": {
|
|
82
82
|
default: string;
|
|
83
83
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
84
84
|
};
|
|
85
|
-
"
|
|
85
|
+
"info-subdued": {
|
|
86
86
|
default: string;
|
|
87
87
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
invert: {
|
|
90
90
|
default: string;
|
|
91
91
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
92
92
|
};
|
|
93
|
-
"
|
|
93
|
+
"invert-disabled": {
|
|
94
94
|
default: string;
|
|
95
95
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
"invert-hover": {
|
|
98
98
|
default: string;
|
|
99
99
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
"invert-press": {
|
|
102
102
|
default: string;
|
|
103
103
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
104
104
|
};
|
|
105
|
-
|
|
105
|
+
"invert-secondary": {
|
|
106
106
|
default: string;
|
|
107
107
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
press: {
|
|
110
110
|
default: string;
|
|
111
111
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
112
112
|
};
|
|
113
|
-
|
|
113
|
+
primary: {
|
|
114
114
|
default: string;
|
|
115
115
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
116
116
|
};
|
|
117
|
-
|
|
117
|
+
secondary: {
|
|
118
118
|
default: string;
|
|
119
119
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
success: {
|
|
122
122
|
default: string;
|
|
123
123
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
"success-hover": {
|
|
126
126
|
default: string;
|
|
127
127
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
128
128
|
};
|
|
129
|
-
press: {
|
|
129
|
+
"success-press": {
|
|
130
130
|
default: string;
|
|
131
131
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
132
132
|
};
|
|
133
|
-
|
|
133
|
+
"success-subdued": {
|
|
134
134
|
default: string;
|
|
135
135
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
136
136
|
};
|
|
137
|
-
|
|
137
|
+
warning: {
|
|
138
138
|
default: string;
|
|
139
139
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
"warning-hover": {
|
|
142
142
|
default: string;
|
|
143
143
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
144
144
|
};
|
|
145
|
-
warning: {
|
|
145
|
+
"warning-press": {
|
|
146
146
|
default: string;
|
|
147
147
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
"warning-subdued": {
|
|
150
150
|
default: string;
|
|
151
151
|
conditions: Record<"xs" | "xl" | "md" | "lg", string>;
|
|
152
152
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rarui/styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"sideEffects": false,
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "yarn g:rollup packages/styles",
|
|
14
|
+
"build": "yarn g:rollup packages/foundation/styles",
|
|
15
15
|
"test": "jest --passWithNoTests --no-cache --runInBand --no-watchAll",
|
|
16
16
|
"test:ci": "yarn test --ci --coverage",
|
|
17
17
|
"test:coverage": "yarn test --coverage",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"url": "https://git.rarolabs.com.br/frontend/rarui/issues"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@rarui/rollup": "workspace:^",
|
|
39
38
|
"@rarui/tokens": "workspace:^",
|
|
39
|
+
"@rarui/tools": "workspace:^",
|
|
40
40
|
"@types/jest": "^29.5.12",
|
|
41
41
|
"@vanilla-extract/dynamic": "^2.1.1",
|
|
42
42
|
"@vanilla-extract/jest-transform": "^1.1.9",
|
|
@@ -44,5 +44,6 @@
|
|
|
44
44
|
"@vanilla-extract/sprinkles": "^1.6.2",
|
|
45
45
|
"jest": "^29.7.0",
|
|
46
46
|
"ts-jest": "^29.2.5"
|
|
47
|
-
}
|
|
47
|
+
},
|
|
48
|
+
"stableVersion": "2.7.0"
|
|
48
49
|
}
|