@bitrise/bitkit 13.47.0 → 13.48.1-alpha.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "13.47.0",
4
+ "version": "13.48.1-alpha.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -78,7 +78,7 @@ const DropdownTheme = {
78
78
  color: 'text/primary',
79
79
  },
80
80
  alignItems: 'center',
81
- backgroundColor: disabled || readOnly ? 'background/disabled' : 'transparent',
81
+ backgroundColor: disabled || readOnly ? 'background/disabled' : 'background/primary',
82
82
  border: '0.0625rem solid',
83
83
  borderColor: getBorderColor(props),
84
84
  borderRadius: '4',
@@ -250,6 +250,7 @@ const Dropdown = forwardRef<Element, DropdownProps<string | null>>(
250
250
  {
251
251
  'aria-label': ariaLabel,
252
252
  buttonProps = {},
253
+ 'data-testid': dataTestid,
253
254
  defaultValue,
254
255
  disabled,
255
256
  dropdownMaxHeight,
@@ -344,6 +345,7 @@ const Dropdown = forwardRef<Element, DropdownProps<string | null>>(
344
345
  {...referenceProps}
345
346
  {...buttonProps}
346
347
  aria-label={ariaLabel}
348
+ data-testid={dataTestid}
347
349
  id={buttonId}
348
350
  iconName={iconName}
349
351
  blurHandler={blurHandler}
@@ -11,6 +11,7 @@ export interface DropdownProps<T> extends ChakraProps {
11
11
  'aria-label'?: string;
12
12
  buttonProps?: ChakraProps;
13
13
  children?: ReactNode;
14
+ 'data-testid'?: string;
14
15
  defaultValue?: T;
15
16
  disabled?: boolean;
16
17
  dropdownMinHeight?: ChakraProps['minH'];