@bitrise/bitkit 13.165.0 → 13.165.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.165.0",
4
+ "version": "13.165.1-alpha.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -27,22 +27,22 @@
27
27
  "framer-motion": "./node_modules/framer-motion/dist/cjs"
28
28
  },
29
29
  "dependencies": {
30
- "@chakra-ui/react": "^2.8.2",
30
+ "@chakra-ui/react": "^2.10.3",
31
31
  "@chakra-ui/react-utils": "^2.0.12",
32
- "@chakra-ui/styled-system": "^2.9.2",
33
- "@chakra-ui/theme": "^3.3.1",
34
- "@chakra-ui/theme-tools": "^2.1.2",
35
- "@chakra-ui/utils": "^2.0.15",
32
+ "@chakra-ui/styled-system": "^2.12.0",
33
+ "@chakra-ui/theme": "^3.4.6",
34
+ "@chakra-ui/theme-tools": "^2.2.6",
35
+ "@chakra-ui/utils": "^2.2.2",
36
36
  "@emotion/react": "^11.13.3",
37
37
  "@emotion/styled": "^11.13.0",
38
38
  "@floating-ui/react-dom-interactions": "^0.8.1",
39
- "@fontsource/figtree": "^5.0.21",
40
- "@fontsource/source-code-pro": "^5.0.19",
41
- "framer-motion": "^11.3.30",
39
+ "@fontsource/figtree": "^5.1.1",
40
+ "@fontsource/source-code-pro": "^5.1.0",
41
+ "framer-motion": "^11.11.9",
42
42
  "luxon": "^3.5.0",
43
43
  "react": "^18.3.1",
44
44
  "react-dom": "^18.3.1",
45
- "react-focus-lock": "2.13.1",
45
+ "react-focus-lock": "2.13.2",
46
46
  "react-imask": "^7.6.1",
47
47
  "react-markdown": "^9.0.1"
48
48
  },
@@ -51,45 +51,45 @@
51
51
  "react-dom": "^18.2.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@babel/core": "^7.25.2",
55
- "@babel/preset-env": "^7.25.4",
56
- "@babel/preset-react": "^7.24.7",
57
- "@babel/preset-typescript": "^7.24.7",
54
+ "@babel/core": "^7.25.8",
55
+ "@babel/preset-env": "^7.25.8",
56
+ "@babel/preset-react": "^7.25.7",
57
+ "@babel/preset-typescript": "^7.25.7",
58
58
  "@bitrise/eslint-plugin": "^2.12.0",
59
- "@chakra-ui/cli": "^2.4.1",
60
- "@google-cloud/storage": "^7.12.1",
61
- "@storybook/addon-actions": "^8.2.9",
62
- "@storybook/addon-essentials": "^8.2.9",
63
- "@storybook/addon-interactions": "^8.2.9",
64
- "@storybook/addon-links": "^8.2.9",
59
+ "@chakra-ui/cli": "^2.5.5",
60
+ "@google-cloud/storage": "^7.13.0",
61
+ "@storybook/addon-actions": "^8.3.6",
62
+ "@storybook/addon-essentials": "^8.3.6",
63
+ "@storybook/addon-interactions": "^8.3.6",
64
+ "@storybook/addon-links": "^8.3.6",
65
65
  "@storybook/addon-webpack5-compiler-swc": "^1.0.5",
66
- "@storybook/blocks": "^8.2.9",
67
- "@storybook/react": "^8.2.9",
68
- "@storybook/react-webpack5": "^8.2.9",
69
- "@storybook/theming": "^8.2.9",
66
+ "@storybook/blocks": "^8.3.6",
67
+ "@storybook/react": "^8.3.6",
68
+ "@storybook/react-webpack5": "^8.3.6",
69
+ "@storybook/theming": "^8.3.6",
70
70
  "@testing-library/dom": "^10.4.0",
71
- "@testing-library/jest-dom": "^6.5.0",
72
- "@testing-library/react": "^16.0.0",
71
+ "@testing-library/jest-dom": "6.6.2",
72
+ "@testing-library/react": "16.0.1",
73
73
  "@testing-library/user-event": "^14.5.2",
74
- "@types/jest": "^29.5.12",
74
+ "@types/jest": "^29.5.13",
75
75
  "@types/luxon": "^3.4.2",
76
- "@types/react": "^18.3.4",
77
- "@types/react-dom": "^18.3.0",
76
+ "@types/react": "^18.3.11",
77
+ "@types/react-dom": "^18.3.1",
78
78
  "@typescript-eslint/eslint-plugin": "^7.18.0",
79
79
  "@typescript-eslint/parser": "^7.18.0",
80
- "axios": "^1.7.5",
80
+ "axios": "^1.7.7",
81
81
  "eslint": "^8.57.0",
82
82
  "glob": "^11.0.0",
83
83
  "jest": "^29.7.0",
84
84
  "jest-environment-jsdom": "^29.7.0",
85
- "jsdom": "^25.0.0",
85
+ "jsdom": "25.0.1",
86
86
  "lodash": "^4.17.21",
87
87
  "prettier": "^3.3.3",
88
- "react-hook-form": "^7.53.0",
89
- "release-it": "^17.6.0",
90
- "storybook": "^8.2.9",
88
+ "react-hook-form": "^7.53.1",
89
+ "release-it": "^17.10.0",
90
+ "storybook": "^8.3.6",
91
91
  "ts-jest": "^29.2.5",
92
- "typescript": "^5.5.4"
92
+ "typescript": "^5.6.3"
93
93
  },
94
94
  "files": [
95
95
  "src",
@@ -36,7 +36,7 @@ const FilterSwitch = forwardRef<FilterSwitchProps, 'input'>((props, ref) => {
36
36
 
37
37
  const { name } = group;
38
38
 
39
- const { getCheckboxProps, getInputProps, getLabelProps } = useRadio({
39
+ const { getRadioProps, getInputProps, getLabelProps } = useRadio({
40
40
  ...rest,
41
41
  isChecked,
42
42
  isDisabled,
@@ -46,7 +46,7 @@ const FilterSwitch = forwardRef<FilterSwitchProps, 'input'>((props, ref) => {
46
46
  });
47
47
 
48
48
  return (
49
- <chakra.label {...getLabelProps()} {...getCheckboxProps()} __css={styles.item}>
49
+ <chakra.label {...getLabelProps()} {...getRadioProps()} __css={styles.item}>
50
50
  <chakra.input {...getInputProps(htmlInputProps, ref)} />
51
51
  {children}
52
52
  </chakra.label>
@@ -1,11 +1,10 @@
1
- import { ChangeEvent, DragEvent, useRef, useState } from 'react';
1
+ import { ChangeEvent, DragEvent, useId, useRef, useState } from 'react';
2
2
  import {
3
3
  FormControl,
4
4
  FormControlProps,
5
5
  FormErrorMessage,
6
6
  FormHelperText,
7
7
  forwardRef,
8
- useId,
9
8
  useMultiStyleConfig,
10
9
  } from '@chakra-ui/react';
11
10
  import Box from '../../Box/Box';
@@ -1,5 +1,7 @@
1
- import { keyframes } from '@chakra-ui/react';
2
1
  import { defineStyle, defineStyleConfig } from '@chakra-ui/styled-system';
2
+ import { keyframes } from '@emotion/react';
3
+
4
+ export { keyframes } from '@emotion/react';
3
5
 
4
6
  const animation = keyframes`
5
7
  from { transform: translate3d(-100%, 0, 0); }
@@ -1,5 +1,5 @@
1
- import { ReactNode, useState } from 'react';
2
- import { As, MergeWithAs } from '@chakra-ui/react';
1
+ import { ElementType, ReactNode, useState } from 'react';
2
+ import { MergeWithAs } from '@chakra-ui/react';
3
3
  import Dialog, { DialogProps } from '../Dialog/Dialog';
4
4
 
5
5
  type ValueDialogProps<T> = { value?: T; children: (value: T) => ReactNode } & Omit<
@@ -7,8 +7,8 @@ type ValueDialogProps<T> = { value?: T; children: (value: T) => ReactNode } & Om
7
7
  'isOpen' | 'onCloseComplete' | 'children'
8
8
  >;
9
9
 
10
- type ComponentWithAs<Component extends As = 'section'> = {
11
- <T, AsComponent extends As = Component>(
10
+ type ComponentWithAs<Component extends ElementType = 'section'> = {
11
+ <T, AsComponent extends ElementType = Component>(
12
12
  props: MergeWithAs<
13
13
  React.ComponentProps<Component>,
14
14
  React.ComponentProps<AsComponent>,
@@ -1,3 +1,4 @@
1
- export { forwardRef, keyframes, Portal } from '@chakra-ui/react';
1
+ export { keyframes } from '@emotion/react';
2
+ export { forwardRef, Portal } from '@chakra-ui/react';
2
3
  export type { StyleProps } from '@chakra-ui/styled-system';
3
4
  export { IMask, useIMask } from 'react-imask';