@bitrise/bitkit-v2 0.3.66 → 0.3.68

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.
@@ -0,0 +1,9 @@
1
+ import { EmptyStateRootProps } from '@chakra-ui/react/empty-state';
2
+ import { ReactNode } from 'react';
3
+ export interface BitkitEmptyStateProps extends EmptyStateRootProps {
4
+ bodyText: string;
5
+ headingText: string;
6
+ icon: ReactNode;
7
+ }
8
+ declare const BitkitEmptyState: (props: BitkitEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default BitkitEmptyState;
@@ -0,0 +1,14 @@
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { EmptyState as t } from "@chakra-ui/react/empty-state";
3
+ const a = (i) => {
4
+ const { bodyText: r, children: n, headingText: o, icon: c, ...d } = i;
5
+ return /* @__PURE__ */ e(t.Root, { ...d, children: /* @__PURE__ */ l(t.Content, { children: [
6
+ /* @__PURE__ */ e(t.Indicator, { asChild: !0, children: c }),
7
+ /* @__PURE__ */ e(t.Title, { children: o }),
8
+ /* @__PURE__ */ e(t.Description, { children: r }),
9
+ n
10
+ ] }) });
11
+ };
12
+ export {
13
+ a as default
14
+ };
@@ -1,4 +1,5 @@
1
1
  export { default as BitkitButton, type BitkitButtonProps } from './BitkitButton/BitkitButton';
2
+ export { default as BitkitEmptyState, type BitkitEmptyStateProps } from './BitkitEmptyState/BitkitEmptyState';
2
3
  export { default as BitkitField, type BitkitFieldProps } from './BitkitField/BitkitField';
3
4
  export { default as BitkitNumberInput, type BitkitNumberInputProps } from './BitkitNumberInput/BitkitNumberInput';
4
5
  export { default as BitkitTextField, type BitkitTextFieldProps } from './BitkitTextField/BitkitTextField';