@smart-factor/gem-ui-components 0.0.92 → 0.0.94

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 @@ var d3 = Object.defineProperty;
2
2
  var m3 = (L, Q, G) => Q in L ? d3(L, Q, { enumerable: !0, configurable: !0, writable: !0, value: G }) : L[Q] = G;
3
3
  var P2 = (L, Q, G) => m3(L, typeof Q != "symbol" ? Q + "" : Q, G);
4
4
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
5
- import { R as useTheme, a8 as getThemeProps, p as useEnhancedEffect, a9 as styled, aa as useTheme$1, P as PropTypes, ab as extendSxProp, j as clsx, b as useThemeProps, l as composeClasses, g as generateUtilityClass, ac as createTheme, ad as createStack, ae as _inheritsLoose, af as forceReflow, O as _objectWithoutPropertiesLoose$1, q as Transition, _ as _extends, ag as classNamesShape, e as generateUtilityClasses, f as useDefaultProps, w as useSlot, s as styled$1, L as ButtonBase, n as memoTheme, D as createSvgIcon, ah as useId, x as useEventCallback, o as ownerDocument, u as useForkRef, M as refType, c as chainPropTypes, z as useRtl, B as capitalize, i as alpha, N as createSimplePaletteValueFilter, ai as globalCss, aj as formatMuiErrorMessage, K as elementTypeAcceptingRef, I as IconButton, a5 as resolveProps, C as rootShouldForwardProp, E as CircularProgress, h as useTheme$2, ak as deepmerge, J as useTimeout, t as getTransitionProps, v as reflow, G as Typography, A as mergeSlotProps, al as slotShouldForwardProp, am as SvgIcon, T as THEME_ID, F as Box, an as getAugmentedNamespace, a7 as getDefaultExportFromCjs, S as Stack$1, ao as commonjsGlobal, Q as shouldForwardProp, ap as TransitionGroup, r as resolveComponentProps, a2 as css, Y as createTheme$1, aq as red, ar as blue, as as green } from "./Stack-CdVfRhco.js";
5
+ import { R as useTheme, a8 as getThemeProps, p as useEnhancedEffect, a9 as styled, aa as useTheme$1, P as PropTypes, ab as extendSxProp, j as clsx, b as useThemeProps, l as composeClasses, g as generateUtilityClass, ac as createTheme, ad as createStack, ae as _inheritsLoose, af as forceReflow, O as _objectWithoutPropertiesLoose$1, q as Transition, _ as _extends, ag as classNamesShape, e as generateUtilityClasses, f as useDefaultProps, w as useSlot, s as styled$1, L as ButtonBase, n as memoTheme, D as createSvgIcon, ah as useId, x as useEventCallback, o as ownerDocument, u as useForkRef, M as refType, c as chainPropTypes, z as useRtl, B as capitalize, i as alpha, N as createSimplePaletteValueFilter, ai as globalCss, aj as formatMuiErrorMessage, K as elementTypeAcceptingRef, I as IconButton, a5 as resolveProps, C as rootShouldForwardProp, E as CircularProgress, h as useTheme$2, ak as deepmerge, J as useTimeout, t as getTransitionProps, v as reflow, G as Typography, A as mergeSlotProps, al as slotShouldForwardProp, am as SvgIcon, T as THEME_ID, F as Box, a2 as css, an as getAugmentedNamespace, a7 as getDefaultExportFromCjs, S as Stack$1, ao as commonjsGlobal, Q as shouldForwardProp, ap as TransitionGroup, r as resolveComponentProps, Y as createTheme$1, aq as red, ar as blue, as as green } from "./Stack-CdVfRhco.js";
6
6
  import * as React from "react";
7
7
  import React__default, { useMemo, useRef, useReducer, useEffect, useCallback, forwardRef, useImperativeHandle, Fragment, useState, createContext, useContext } from "react";
8
8
  import "react-router-dom";
@@ -15124,19 +15124,24 @@ process.env.NODE_ENV !== "production" && (ToggleButtonGroup.propTypes = {
15124
15124
  });
15125
15125
  const useMediaQuery = unstable_createUseMediaQuery({
15126
15126
  themeId: THEME_ID
15127
- }), StyledAccordionSummary = styled$1(AccordionSummary)`
15127
+ }), IconContainer = styled$1(Box)`
15128
+ position: absolute;
15129
+ left: 16px;
15130
+ top: 50%;
15131
+ transform: translateY(-50%);
15132
+ display: flex;
15133
+ align-items: center;
15134
+ `, StyledAccordionSummary = styled$1(AccordionSummary)`
15128
15135
  flex-direction: row-reverse;
15136
+ position: relative;
15137
+ margin-right: 5px;
15129
15138
 
15130
- .MuiAccordionSummary-expandIconWrapper {
15131
- margin-right: 10px;
15132
- }
15133
- `, StyledAccordionSummarySub = styled$1(StyledAccordionSummary)`
15134
- &:after {
15135
- font-size: 20px;
15136
- content: '\\2BA1';
15137
- margin-right: 14px;
15138
- color: ${({ theme: L }) => L.palette.green.A700};
15139
- }
15139
+ ${({ isSub: L }) => L && css`
15140
+ &.Mui-expanded .MuiAccordionSummary-expandIconWrapper,
15141
+ &:not(.Mui-expanded) .MuiAccordionSummary-expandIconWrapper {
15142
+ margin-left: 25px;
15143
+ }
15144
+ `}
15140
15145
  `, StyledButton = styled$1(Button$1, {
15141
15146
  shouldForwardProp: (L) => L !== "width"
15142
15147
  })`
@@ -259271,8 +259276,8 @@ export {
259271
259276
  getToggleButtonUtilityClass as t,
259272
259277
  useDebounce as u,
259273
259278
  toggleButtonClasses as v,
259274
- StyledAccordionSummarySub as w,
259275
- StyledAccordionSummary as x,
259279
+ StyledAccordionSummary as w,
259280
+ IconContainer as x,
259276
259281
  Tiff as y,
259277
259282
  z
259278
259283
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-factor/gem-ui-components",
3
- "version": "0.0.92",
3
+ "version": "0.0.94",
4
4
  "private": false,
5
5
  "description": "Gem UI Components",
6
6
  "type": "module",