@bitrise/bitkit 12.2.1 → 12.3.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/package.json
CHANGED
|
@@ -16,7 +16,7 @@ const CloseButtonTheme = {
|
|
|
16
16
|
colorScheme,
|
|
17
17
|
size,
|
|
18
18
|
}: {
|
|
19
|
-
colorScheme: 'blue' | 'red' | '
|
|
19
|
+
colorScheme: 'blue' | 'red' | 'orange' | 'yellow' | 'green' | 'purple' | 'neutral';
|
|
20
20
|
size: 'small' | 'medium' | 'large';
|
|
21
21
|
}) {
|
|
22
22
|
if (colorScheme === 'neutral') {
|
|
@@ -19,13 +19,13 @@ const schemeColors: Record<ColorScheme, any> = {
|
|
|
19
19
|
backgroundColor: 'red.93',
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
|
-
|
|
23
|
-
color: '
|
|
22
|
+
orange: {
|
|
23
|
+
color: 'orange.40',
|
|
24
24
|
_active: {
|
|
25
|
-
backgroundColor: '
|
|
25
|
+
backgroundColor: 'orange.90',
|
|
26
26
|
},
|
|
27
27
|
_hover: {
|
|
28
|
-
backgroundColor: '
|
|
28
|
+
backgroundColor: 'orange.93',
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
yellow: {
|
|
@@ -37,6 +37,15 @@ const schemeColors: Record<ColorScheme, any> = {
|
|
|
37
37
|
backgroundColor: 'yellow.93',
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
|
+
green: {
|
|
41
|
+
color: 'green.40',
|
|
42
|
+
_active: {
|
|
43
|
+
backgroundColor: 'green.90',
|
|
44
|
+
},
|
|
45
|
+
_hover: {
|
|
46
|
+
backgroundColor: 'green.93',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
40
49
|
purple: {
|
|
41
50
|
color: 'purple.40',
|
|
42
51
|
_active: {
|
|
@@ -146,6 +146,6 @@ export type TypeColors =
|
|
|
146
146
|
| 'text.linkHover'
|
|
147
147
|
| 'separator.primary';
|
|
148
148
|
|
|
149
|
-
export type ColorScheme = 'blue' | 'red' | '
|
|
149
|
+
export type ColorScheme = 'blue' | 'red' | 'orange' | 'yellow' | 'green' | 'purple' | 'neutral';
|
|
150
150
|
|
|
151
151
|
export default colors;
|
package/src/index.ts
CHANGED
|
@@ -239,3 +239,6 @@ export { default as ProgressSpinner } from './Components/ProgressSpinner/Progres
|
|
|
239
239
|
|
|
240
240
|
export type { SearchInputProps } from './Components/SearchInput/SearchInput';
|
|
241
241
|
export { default as SearchInput } from './Components/SearchInput/SearchInput';
|
|
242
|
+
|
|
243
|
+
export type { CloseButtonProps } from './Components/CloseButton/CloseButton';
|
|
244
|
+
export { default as CloseButton } from './Components/CloseButton/CloseButton';
|