@smart-factor/gem-ui-components 0.0.154 → 0.0.156

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.
@@ -2,7 +2,7 @@ import './assets/SignEditor.css';var N4 = Object.defineProperty;
2
2
  var I4 = (o, e, t) => e in o ? N4(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var Eu = (o, e, t) => I4(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { jsx as Vt, jsxs as ia, Fragment as o_ } from "react/jsx-runtime";
5
- import { G as Ib, u as i_, a as rA, Q as uc, b as hs, c as Lp, D as KE, B as sp, d as ow, e as M4, z as Dc, f as a_, s as $E, I as Of, A as WE, F as O4, U as Ax, g as q4, h as R4, i as Q4, j as G4, T as V4, K as D4, k as H4 } from "./index-BQsdedc3.js";
5
+ import { G as Ib, u as i_, a as rA, Q as uc, b as hs, c as Lp, D as KE, B as sp, d as ow, e as M4, z as Dc, f as a_, s as $E, I as Of, A as WE, F as O4, U as Ax, g as q4, h as R4, i as Q4, j as G4, T as V4, K as D4, k as H4 } from "./index-MaIOhJ8_.js";
6
6
  import { q as XE, s as Di, I as tu, J as r_, H as YE, S as lp } from "./Stack-hsHMA5b6.js";
7
7
  import { createContext as U4, useContext as z4, useState as vl, useCallback as zu, useEffect as oc, useMemo as cp, useRef as K4 } from "react";
8
8
  import "react-dom";
@@ -0,0 +1,6 @@
1
+ import { IconButtonProps as IconButtonPropsMUI } from '@mui/material';
2
+ export interface IconButtonProps extends IconButtonPropsMUI {
3
+ loading?: boolean;
4
+ tooltip?: React.ReactNode;
5
+ }
6
+ export declare function IconButton({ children, disabled, loading, tooltip, sx, size, ...rest }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { IconButton } from './IconButton';
3
+ declare const meta: Meta<typeof IconButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Docs: Story;
7
+ export declare const Disabled: Story;
8
+ export declare const WithLoading: Story;
@@ -284359,7 +284359,7 @@ export {
284359
284359
  baseGetTag as Z,
284360
284360
  baseIsEqual as _,
284361
284361
  useMutation as a,
284362
- getErrorMessage as a$,
284362
+ useGetFileUrl as a$,
284363
284363
  isString$1 as a0,
284364
284364
  defaultDayjs as a1,
284365
284365
  xlsx_minExports as a2,
@@ -284370,33 +284370,33 @@ export {
284370
284370
  ContextualSearch as a7,
284371
284371
  StyledDatePicker as a8,
284372
284372
  StyledFormHelperText$2 as a9,
284373
- useContextMenuProps as aA,
284374
- TableWrapper as aB,
284375
- Vt as aC,
284376
- ToastWrapper as aD,
284377
- ToastContent as aE,
284378
- PostHogTracker as aF,
284379
- PostHogProvider as aG,
284380
- LocalizationProvider as aH,
284381
- Oe as aI,
284382
- ContextualSearchClient as aJ,
284383
- ContextualSearchInspector as aK,
284384
- ErrorBoundary as aL,
284385
- Login as aM,
284386
- LoginModal as aN,
284387
- PaginatedPopover as aO,
284388
- ResizableWrapper as aP,
284389
- SessionModal as aQ,
284390
- SessionService as aR,
284391
- useSessionInit as aS,
284392
- Sidebar as aT,
284393
- useSession as aU,
284394
- theme as aV,
284395
- ACCEPTED_FILE_TYPES as aW,
284396
- Dropzone as aX,
284397
- ElementsPicker as aY,
284398
- errorToast as aZ,
284399
- useGetFileUrl as a_,
284373
+ StyledMenu as aA,
284374
+ useContextMenuProps as aB,
284375
+ TableWrapper as aC,
284376
+ Vt as aD,
284377
+ ToastWrapper as aE,
284378
+ ToastContent as aF,
284379
+ PostHogTracker as aG,
284380
+ PostHogProvider as aH,
284381
+ LocalizationProvider as aI,
284382
+ Oe as aJ,
284383
+ ContextualSearchClient as aK,
284384
+ ContextualSearchInspector as aL,
284385
+ ErrorBoundary as aM,
284386
+ Login as aN,
284387
+ LoginModal as aO,
284388
+ PaginatedPopover as aP,
284389
+ ResizableWrapper as aQ,
284390
+ SessionModal as aR,
284391
+ SessionService as aS,
284392
+ useSessionInit as aT,
284393
+ Sidebar as aU,
284394
+ useSession as aV,
284395
+ theme as aW,
284396
+ ACCEPTED_FILE_TYPES as aX,
284397
+ Dropzone as aY,
284398
+ ElementsPicker as aZ,
284399
+ errorToast as a_,
284400
284400
  StyledDateTimePicker as aa,
284401
284401
  StyledFormHelperText$1 as ab,
284402
284402
  FormControl as ac,
@@ -284413,18 +284413,19 @@ export {
284413
284413
  StyledFormHelperText as an,
284414
284414
  Menu as ao,
284415
284415
  DATA_GRID_LOCALE as ap,
284416
- MuiLikeWrapper as aq,
284417
- FormLabel as ar,
284418
- StyledAutocomplete as as,
284419
- TextField as at,
284420
- StyledInput$1 as au,
284421
- StyledStepper as av,
284422
- StyledStepButton as aw,
284423
- StyledStickyContainer as ax,
284424
- ContextMenuPropsContext as ay,
284425
- StyledMenu as az,
284416
+ Tooltip as aq,
284417
+ MuiLikeWrapper as ar,
284418
+ FormLabel as as,
284419
+ StyledAutocomplete as at,
284420
+ TextField as au,
284421
+ StyledInput$1 as av,
284422
+ StyledStepper as aw,
284423
+ StyledStepButton as ax,
284424
+ StyledStickyContainer as ay,
284425
+ ContextMenuPropsContext as az,
284426
284426
  api$1 as b,
284427
- ANALYTICS_PROPERTIES as b0,
284427
+ getErrorMessage as b0,
284428
+ ANALYTICS_PROPERTIES as b1,
284428
284429
  useQuery as c,
284429
284430
  axios as d,
284430
284431
  useDebounce as e,
package/dist/main.d.ts CHANGED
@@ -13,6 +13,7 @@ export { ErrorBoundary } from './components/ErrorBoundary/ErrorBoundary';
13
13
  export { FixedActionsBottomPanel } from './components/FixedActionsBottomPanel/FixedActionsBottomPanel';
14
14
  export * from './components/FormComponents';
15
15
  export { Grid, GridInitialState } from './components/Grid';
16
+ export { IconButton } from './components/IconButton/IconButton';
16
17
  export { LoadingBackdrop } from './components/LoadingBackdrop/LoadingBackdrop';
17
18
  export { Login } from './components/Login/Login';
18
19
  export { LoginModal } from './components/LoginModal/LoginModal';