@bitrise/bitkit 13.231.0 → 13.232.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.231.0",
4
+ "version": "13.232.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -198,7 +198,11 @@ const Input = forwardRef<InputProps, 'div'>((props, ref) => {
198
198
  {label}
199
199
  </FormLabel>
200
200
  <InputGroup sx={style.inputContainer} {...inputWrapperStyle}>
201
- {leftAddon && <LeftContentWrapper ref={leftAddonRef}>{leftAddon}</LeftContentWrapper>}
201
+ {leftAddon && (
202
+ <LeftContentWrapper ref={leftAddonRef} right="0">
203
+ {leftAddon}
204
+ </LeftContentWrapper>
205
+ )}
202
206
  {leftIconName && (
203
207
  <InputLeftElement sx={style.leftIconWrapper} left={leftIconPos}>
204
208
  <Icon
@@ -0,0 +1,13 @@
1
+ import { forwardRef, Icon, IconProps } from '@chakra-ui/react';
2
+
3
+ const Regex = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 16 16" {...props}>
5
+ <path
6
+ d="M10.6842 6.24047L12.3598 8.92814L13.6589 7.94611L11.7818 5.48026L14.6162 4.66467L14.1376 3.08383L11.2607 4.22222L11.4025 1H9.80709L9.96456 4.18095L7.11764 3.03593L6.61621 4.64072L9.56286 5.49368L7.64185 7.99401L8.96379 9L10.6842 6.24047Z"
7
+ fill="currentColor"
8
+ />
9
+ <path d="M5 11H1V15H5V11Z" fill="currentColor" />
10
+ </Icon>
11
+ ));
12
+
13
+ export default Regex;
@@ -197,6 +197,7 @@ export { default as QuestionCircle } from './QuestionCircle';
197
197
  export { default as QuestionCircleFilled } from './QuestionCircleFilled';
198
198
  export { default as ReactIcon } from './ReactIcon';
199
199
  export { default as Refresh } from './Refresh';
200
+ export { default as Regex } from './Regex';
200
201
  export { default as Release } from './Release';
201
202
  export { default as ReleaseSolid } from './ReleaseSolid';
202
203
  export { default as Replace } from './Replace';
@@ -0,0 +1,13 @@
1
+ import { forwardRef, Icon, IconProps } from '@chakra-ui/react';
2
+
3
+ const Regex = forwardRef<IconProps, 'svg'>((props, ref) => (
4
+ <Icon ref={ref} viewBox="0 0 24 24" {...props}>
5
+ <path
6
+ d="M16.102 9.8607L18.6154 13.8922L20.5641 12.4192L17.7484 8.72039L22 7.49701L21.2821 5.12575L16.9668 6.83333L17.1795 2H14.7863L15.0225 6.77142L10.7521 5.05389L10 7.46108L14.42 8.74052L11.5385 12.491L13.5214 14L16.102 9.8607Z"
7
+ fill="currentColor"
8
+ />
9
+ <path d="M8 16H2V22H8V16Z" fill="currentColor" />
10
+ </Icon>
11
+ ));
12
+
13
+ export default Regex;
@@ -195,6 +195,7 @@ export { default as QuestionCircle } from './QuestionCircle';
195
195
  export { default as QuestionCircleFilled } from './QuestionCircleFilled';
196
196
  export { default as ReactIcon } from './ReactIcon';
197
197
  export { default as Refresh } from './Refresh';
198
+ export { default as Regex } from './Regex';
198
199
  export { default as Release } from './Release';
199
200
  export { default as ReleaseSolid } from './ReleaseSolid';
200
201
  export { default as Replace } from './Replace';
@@ -10,7 +10,7 @@ const ToggleButton = forwardRef<ToggleButtonProps, 'button'>((props, ref) => {
10
10
 
11
11
  const COLORS = {
12
12
  color: isSelected ? 'icon/interactive' : 'button/secondary/fg',
13
- backgroundColor: isSelected ? 'background/selected' : 'button/secondary/background',
13
+ backgroundColor: isSelected ? 'background/selected' : 'button/secondary/bg',
14
14
  borderColor: isSelected ? 'border/selected' : 'button/secondary/border',
15
15
  _hover: {
16
16
  backgroundColor: isSelected ? 'background/selected-hover' : 'button/tertiary/bg-hover',