@bitrise/bitkit-v2 0.3.72 → 0.3.73
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/dist/components/BitkitCloseButton/BitkitCloseButton.d.ts +7 -0
- package/dist/components/BitkitCloseButton/BitkitCloseButton.js +12 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +1076 -1074
- package/dist/theme/recipes/CloseButton.recipe.d.ts +21 -0
- package/dist/theme/recipes/CloseButton.recipe.js +42 -0
- package/dist/theme/recipes/index.d.ts +20 -0
- package/dist/theme/recipes/index.js +16 -14
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react/styled-system';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
export interface BitkitCloseButtonProps extends HTMLChakraProps<'button'>, RecipeProps<'closeButton'> {
|
|
4
|
+
children?: ReactElement;
|
|
5
|
+
}
|
|
6
|
+
declare const BitkitCloseButton: import('react').ForwardRefExoticComponent<BitkitCloseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
export default BitkitCloseButton;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { createRecipeContext as o } from "@chakra-ui/react/styled-system";
|
|
3
|
+
import e from "../../icons/24x24/IconCross24.js";
|
|
4
|
+
const { withContext: i } = o({ key: "closeButton" }), r = i("button", {
|
|
5
|
+
defaultProps: {
|
|
6
|
+
children: /* @__PURE__ */ t(e, {})
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
r.displayName = "BitkitCloseButton";
|
|
10
|
+
export {
|
|
11
|
+
r as default
|
|
12
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as BitkitButton, type BitkitButtonProps } from './BitkitButton/BitkitButton';
|
|
2
|
+
export { default as BitkitCloseButton, type BitkitCloseButtonProps } from './BitkitCloseButton/BitkitCloseButton';
|
|
2
3
|
export { default as BitkitEmptyState, type BitkitEmptyStateProps } from './BitkitEmptyState/BitkitEmptyState';
|
|
3
4
|
export { default as BitkitField, type BitkitFieldProps } from './BitkitField/BitkitField';
|
|
4
5
|
export { default as BitkitNumberInput, type BitkitNumberInputProps } from './BitkitNumberInput/BitkitNumberInput';
|