@bitrise/bitkit 10.8.0 → 10.9.2
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 +17 -7
- package/src/Components/Dropdown/Dropdown.context.tsx +42 -0
- package/src/Components/Dropdown/Dropdown.stories.tsx +110 -0
- package/src/Components/Dropdown/Dropdown.test.tsx +523 -0
- package/src/Components/Dropdown/Dropdown.theme.ts +102 -0
- package/src/Components/Dropdown/Dropdown.tsx +345 -0
- package/src/Components/Dropdown/DropdownButton.tsx +29 -0
- package/src/Components/Dropdown/DropdownOption.tsx +89 -0
- package/src/Components/Dropdown/hooks/useAutoScroll.ts +61 -0
- package/src/Components/Dropdown/hooks/useFloatingDropdown.ts +99 -0
- package/src/Components/Dropdown/hooks/useSimpleSearch.tsx +43 -0
- package/src/Components/Dropdown/isNodeMatch.ts +39 -0
- package/src/Components/Icons/16x16/StepstatusNext.tsx +0 -1
- package/src/Components/Icons/24x24/StepstatusNext.tsx +0 -1
- package/src/Components/Input/Input.theme.ts +20 -0
- package/src/theme.ts +4 -0
- package/src/tsconfig.tsbuildinfo +1 -1
- package/tsconfig.json +2 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SystemStyleObject } from '@chakra-ui/react';
|
|
2
|
+
|
|
3
|
+
const InputTheme = {
|
|
4
|
+
baseStyle: {
|
|
5
|
+
field: <SystemStyleObject>{
|
|
6
|
+
height: '48',
|
|
7
|
+
borderRadius: '4',
|
|
8
|
+
borderStyle: 'solid',
|
|
9
|
+
borderColor: 'neutral.90',
|
|
10
|
+
borderWidth: '1px',
|
|
11
|
+
boxShadow: 'inner',
|
|
12
|
+
_focusVisible: {
|
|
13
|
+
boxShadow: 'outline',
|
|
14
|
+
outline: 'none',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default InputTheme;
|
package/src/theme.ts
CHANGED
|
@@ -13,6 +13,8 @@ import List from './Components/List/List.theme';
|
|
|
13
13
|
import Menu from './Components/Menu/Menu.theme';
|
|
14
14
|
import Radio from './Components/Form/Radio/Radio.theme';
|
|
15
15
|
import Select from './Components/Select/Select.theme';
|
|
16
|
+
import Input from './Components/Input/Input.theme';
|
|
17
|
+
import Dropdown from './Components/Dropdown/Dropdown.theme';
|
|
16
18
|
import Tabs from './Components/Tabs/Tabs.theme';
|
|
17
19
|
import Text from './Components/Text/Text.theme';
|
|
18
20
|
import Alert from './Foundations/Themes/Alert.theme';
|
|
@@ -79,11 +81,13 @@ const theme = {
|
|
|
79
81
|
Modal: Dialog,
|
|
80
82
|
Radio,
|
|
81
83
|
Select,
|
|
84
|
+
Dropdown,
|
|
82
85
|
Tabs,
|
|
83
86
|
Text,
|
|
84
87
|
Tooltip,
|
|
85
88
|
Alert,
|
|
86
89
|
CloseButton,
|
|
90
|
+
Input,
|
|
87
91
|
Popover,
|
|
88
92
|
},
|
|
89
93
|
};
|