@bitrise/bitkit 13.267.0 → 13.268.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.267.0",
4
+ "version": "13.268.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -34,11 +34,11 @@
34
34
  "@chakra-ui/theme-tools": "^2.2.8",
35
35
  "@chakra-ui/utils": "^2.2.4",
36
36
  "@emotion/react": "^11.14.0",
37
- "@emotion/styled": "^11.14.0",
37
+ "@emotion/styled": "^11.14.1",
38
38
  "@floating-ui/react-dom-interactions": "^0.8.1",
39
39
  "@fontsource/figtree": "^5.2.8",
40
- "@fontsource/source-code-pro": "^5.2.5",
41
- "framer-motion": "^12.5.0",
40
+ "@fontsource/source-code-pro": "^5.2.6",
41
+ "framer-motion": "^12.23.0",
42
42
  "luxon": "^3.6.1",
43
43
  "react": "^18.3.1",
44
44
  "react-dom": "^18.3.1",
@@ -51,45 +51,40 @@
51
51
  "react-dom": "^18.2.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@babel/core": "^7.27.1",
55
- "@babel/preset-env": "^7.27.2",
54
+ "@babel/core": "^7.28.0",
55
+ "@babel/preset-env": "^7.28.0",
56
56
  "@babel/preset-react": "^7.27.1",
57
57
  "@babel/preset-typescript": "^7.27.1",
58
58
  "@bitrise/eslint-plugin": "^2.12.0",
59
59
  "@chakra-ui/cli": "^2.5.8",
60
60
  "@google-cloud/storage": "^7.16.0",
61
- "@storybook/addon-actions": "^8.6.14",
62
- "@storybook/addon-essentials": "^8.6.14",
63
- "@storybook/addon-interactions": "^8.6.14",
64
- "@storybook/addon-links": "^8.6.14",
61
+ "@storybook/addon-links": "^9.0.15",
65
62
  "@storybook/addon-webpack5-compiler-swc": "^3.0.0",
66
- "@storybook/blocks": "^8.6.14",
67
- "@storybook/react": "^8.6.14",
68
- "@storybook/react-webpack5": "^8.6.14",
69
- "@storybook/theming": "^8.6.14",
63
+ "@storybook/react-webpack5": "^9.0.15",
70
64
  "@testing-library/dom": "^10.4.0",
71
65
  "@testing-library/jest-dom": "6.6.3",
72
66
  "@testing-library/react": "16.3.0",
73
67
  "@testing-library/user-event": "^14.6.1",
74
68
  "@types/jest": "^29.5.14",
75
69
  "@types/luxon": "^3.6.2",
76
- "@types/react": "^18.3.18",
77
- "@types/react-dom": "^18.3.5",
70
+ "@types/react": "^18.3.23",
71
+ "@types/react-dom": "^18.3.7",
78
72
  "@typescript-eslint/eslint-plugin": "^7.18.0",
79
73
  "@typescript-eslint/parser": "^7.18.0",
80
- "axios": "^1.9.0",
74
+ "axios": "^1.10.0",
81
75
  "eslint": "^8.57.1",
82
- "glob": "^11.0.2",
76
+ "glob": "^11.0.3",
83
77
  "jest": "^29.7.0",
84
78
  "jest-environment-jsdom": "^29.7.0",
85
79
  "jsdom": "26.1.0",
86
80
  "lodash": "^4.17.21",
87
- "prettier": "^3.5.3",
88
- "react-hook-form": "^7.56.4",
89
- "release-it": "^19.0.2",
90
- "storybook": "^8.6.14",
91
- "ts-jest": "^29.3.4",
92
- "typescript": "^5.8.3"
81
+ "prettier": "^3.6.2",
82
+ "react-hook-form": "^7.59.0",
83
+ "release-it": "^19.0.3",
84
+ "storybook": "^9.0.15",
85
+ "ts-jest": "^29.4.0",
86
+ "typescript": "^5.8.3",
87
+ "@storybook/addon-docs": "^9.0.15"
93
88
  },
94
89
  "files": [
95
90
  "src",
@@ -87,7 +87,7 @@ const DatePickerDayView = ({
87
87
  const [DatePickerDayContext, useDatePickerDayContext] = createContext<Context>();
88
88
  export { DatePickerDayContext };
89
89
 
90
- const DatePickerDay = ({ n }: { n: number }): JSX.Element | null => {
90
+ const DatePickerDay = ({ n }: { n: number }) => {
91
91
  const {
92
92
  onPreview,
93
93
  onSelect,
@@ -57,7 +57,7 @@ const DatePickerHeader = ({
57
57
  onNext: () => void;
58
58
  controls?: 'left' | 'right' | 'both';
59
59
  children?: ReactNode;
60
- }): JSX.Element => {
60
+ }) => {
61
61
  const ctx = useObjectMemo({ controls, onNext, onPrevious });
62
62
  return (
63
63
  <Box
@@ -62,7 +62,7 @@ const DatePickerMonthSelector = ({
62
62
  }: {
63
63
  viewDate: DateTime;
64
64
  onMonthSelected: (month: number, year: number) => void;
65
- }): JSX.Element => {
65
+ }) => {
66
66
  const [selectedYear, setSelectedYear] = useState(viewDate.year);
67
67
  const onPreviousYear = useCallback(() => setSelectedYear((year) => year - 1), []);
68
68
  const onNextYear = useCallback(() => setSelectedYear((year) => year + 1), []);
@@ -2,6 +2,7 @@ import React, {
2
2
  cloneElement,
3
3
  createContext,
4
4
  forwardRef,
5
+ JSX,
5
6
  ReactNode,
6
7
  useCallback,
7
8
  useContext,
@@ -39,7 +39,7 @@ const LabeledData = ({
39
39
  trendValue,
40
40
  trendColorScheme,
41
41
  ...rest
42
- }: LabeledDataProps): JSX.Element => {
42
+ }: LabeledDataProps) => {
43
43
  const trendIconSize = size === 'sm' ? '16' : '24';
44
44
  const labelColor = size === 'sm' ? 'text/primary' : 'text/secondary';
45
45
  let trendSign;
@@ -166,7 +166,7 @@ const RealStage = ({
166
166
  );
167
167
  };
168
168
 
169
- const ProgressIndicator = ({ activeStageIndex, stages, ...rest }: ProgressIndicatorProps): JSX.Element => {
169
+ const ProgressIndicator = ({ activeStageIndex, stages, ...rest }: ProgressIndicatorProps) => {
170
170
  const style = useMultiStyleConfig('ProgressIndicator', { variant: rest.variant });
171
171
  const extendLines = Boolean(rest.variant === 'horizontal' && rest.extendLines);
172
172
  const activeSegmentIndex = extendLines ? activeStageIndex * 2 : activeStageIndex;
@@ -5,7 +5,7 @@ import Tr from './Tr';
5
5
 
6
6
  export type TablePaginationProps = Omit<PaginationProps, 'variant'> & { colSpan: number };
7
7
 
8
- const TablePagination = ({ colSpan, ...paginationProps }: TablePaginationProps): JSX.Element => {
8
+ const TablePagination = ({ colSpan, ...paginationProps }: TablePaginationProps) => {
9
9
  return (
10
10
  <Tfoot>
11
11
  <Tr>