@bitrise/bitkit 13.290.0 → 13.291.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 +13 -13
- package/src/Components/Toggletip/Toggletip.tsx +4 -3
- package/src/index.ts +1 -1
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.
|
|
4
|
+
"version": "13.291.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"chakra-ui-2--theme": "npm:@chakra-ui/theme@3.4.9",
|
|
39
39
|
"chakra-ui-2--theme-tools": "npm:@chakra-ui/theme-tools@2.2.9",
|
|
40
40
|
"clsx": "^2.1.1",
|
|
41
|
-
"framer-motion": "^12.23.
|
|
41
|
+
"framer-motion": "^12.23.12",
|
|
42
42
|
"luxon": "^3.7.1",
|
|
43
|
-
"react": "^18.
|
|
44
|
-
"react-dom": "^18.
|
|
43
|
+
"react": "^18.3.1",
|
|
44
|
+
"react-dom": "^18.3.1",
|
|
45
45
|
"react-focus-lock": "2.13.6",
|
|
46
46
|
"react-imask": "^7.6.1",
|
|
47
47
|
"react-markdown": "^10.1.0"
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"@babel/preset-typescript": "^7.27.1",
|
|
58
58
|
"@bitrise/eslint-plugin": "^2.12.0",
|
|
59
59
|
"@google-cloud/storage": "^7.16.0",
|
|
60
|
-
"@storybook/addon-docs": "^9.
|
|
61
|
-
"@storybook/addon-links": "^9.
|
|
60
|
+
"@storybook/addon-docs": "^9.1.2",
|
|
61
|
+
"@storybook/addon-links": "^9.1.2",
|
|
62
62
|
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
|
|
63
|
-
"@storybook/react-webpack5": "^9.
|
|
63
|
+
"@storybook/react-webpack5": "^9.1.2",
|
|
64
64
|
"@testing-library/dom": "^10.4.1",
|
|
65
|
-
"@testing-library/jest-dom": "6.
|
|
65
|
+
"@testing-library/jest-dom": "6.7.0",
|
|
66
66
|
"@testing-library/react": "16.3.0",
|
|
67
67
|
"@testing-library/user-event": "^14.6.1",
|
|
68
68
|
"@types/jest": "^29.5.14",
|
|
69
|
-
"@types/luxon": "^3.
|
|
69
|
+
"@types/luxon": "^3.7.1",
|
|
70
70
|
"@types/react": "^18.3.23",
|
|
71
71
|
"@types/react-dom": "^18.3.7",
|
|
72
72
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"jsdom": "26.1.0",
|
|
81
81
|
"lodash": "^4.17.21",
|
|
82
82
|
"prettier": "^3.6.2",
|
|
83
|
-
"react-hook-form": "^7.
|
|
83
|
+
"react-hook-form": "^7.62.0",
|
|
84
84
|
"release-it": "^19.0.4",
|
|
85
|
-
"storybook": "^9.
|
|
86
|
-
"ts-jest": "^29.4.
|
|
87
|
-
"typescript": "^5.
|
|
85
|
+
"storybook": "^9.1.2",
|
|
86
|
+
"ts-jest": "^29.4.1",
|
|
87
|
+
"typescript": "^5.9.2"
|
|
88
88
|
},
|
|
89
89
|
"files": [
|
|
90
90
|
"src",
|
|
@@ -4,7 +4,7 @@ import Popover, { PopoverProps } from '../Popover/Popover';
|
|
|
4
4
|
import PopoverContent from '../Popover/PopoverContent';
|
|
5
5
|
import PopoverTrigger from '../Popover/PopoverTrigger';
|
|
6
6
|
import Box from '../Box/Box';
|
|
7
|
-
import Text from '../Text/Text';
|
|
7
|
+
import Text, { TextProps } from '../Text/Text';
|
|
8
8
|
import Link from '../Link/Link';
|
|
9
9
|
import { ButtonProps } from '../Button/Button';
|
|
10
10
|
import ColorButton, { ColorButtonProps } from '../ColorButton/ColorButton';
|
|
@@ -13,6 +13,7 @@ export type ToggletipProps = Omit<PopoverProps, 'children'> & {
|
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
label: ReactNode;
|
|
15
15
|
learnMoreUrl?: string;
|
|
16
|
+
labelTextProps?: TextProps;
|
|
16
17
|
button?: {
|
|
17
18
|
onClick?: ButtonProps['onClick'];
|
|
18
19
|
href?: string;
|
|
@@ -22,7 +23,7 @@ export type ToggletipProps = Omit<PopoverProps, 'children'> & {
|
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
const Toggletip = (props: ToggletipProps) => {
|
|
25
|
-
const { button, children, label, learnMoreUrl, popoverTrigger, ...rest } = props;
|
|
26
|
+
const { button, children, label, labelTextProps, learnMoreUrl, popoverTrigger, ...rest } = props;
|
|
26
27
|
|
|
27
28
|
const style = useMultiStyleConfig('Toggletip');
|
|
28
29
|
|
|
@@ -52,7 +53,7 @@ const Toggletip = (props: ToggletipProps) => {
|
|
|
52
53
|
</Box>
|
|
53
54
|
</PopoverTrigger>
|
|
54
55
|
<PopoverContent sx={style.content}>
|
|
55
|
-
<Text>{label}</Text>
|
|
56
|
+
<Text {...labelTextProps}>{label}</Text>
|
|
56
57
|
{(learnMoreUrl || button) && (
|
|
57
58
|
<Box alignItems="center" display="flex" gap="24" justifyContent={justifyContent} marginTop="16">
|
|
58
59
|
{learnMoreUrl && (
|
package/src/index.ts
CHANGED
|
@@ -317,7 +317,7 @@ export { default as ExpandableCard } from './Components/ExpandableCard/Expandabl
|
|
|
317
317
|
export type { FileInputProps } from './Components/Form/FileInput/FileInput';
|
|
318
318
|
export { default as FileInput } from './Components/Form/FileInput/FileInput';
|
|
319
319
|
|
|
320
|
-
export type { ToggletipProps
|
|
320
|
+
export type { ToggletipProps } from './Components/Toggletip/Toggletip';
|
|
321
321
|
export { default as Toggletip } from './Components/Toggletip/Toggletip';
|
|
322
322
|
|
|
323
323
|
export type { FilterSwitchProps } from './Components/Filter/FilterSwitch/FilterSwitch';
|