@smart-factor/gem-ui-components 0.0.91 → 0.0.93

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,23 @@ 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;
15129
15137
 
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
- }
15138
+ ${({ isSub: L }) => L && css`
15139
+ &.Mui-expanded .MuiAccordionSummary-expandIconWrapper,
15140
+ &:not(.Mui-expanded) .MuiAccordionSummary-expandIconWrapper {
15141
+ margin-left: 30px;
15142
+ }
15143
+ `}
15140
15144
  `, StyledButton = styled$1(Button$1, {
15141
15145
  shouldForwardProp: (L) => L !== "width"
15142
15146
  })`
@@ -259271,8 +259275,8 @@ export {
259271
259275
  getToggleButtonUtilityClass as t,
259272
259276
  useDebounce as u,
259273
259277
  toggleButtonClasses as v,
259274
- StyledAccordionSummarySub as w,
259275
- StyledAccordionSummary as x,
259278
+ StyledAccordionSummary as w,
259279
+ IconContainer as x,
259276
259280
  Tiff as y,
259277
259281
  z
259278
259282
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-factor/gem-ui-components",
3
- "version": "0.0.91",
3
+ "version": "0.0.93",
4
4
  "private": false,
5
5
  "description": "Gem UI Components",
6
6
  "type": "module",
@@ -65,15 +65,10 @@
65
65
  "@types/qs": "^6.9.18",
66
66
  "@types/react": "^18.3.3",
67
67
  "@types/react-dom": "^18.3.0",
68
- "@typescript-eslint/eslint-plugin": "^7.16.1",
69
- "@typescript-eslint/parser": "^7.16.1",
70
68
  "@vitejs/plugin-react": "^4.3.4",
71
69
  "@vitest/coverage-v8": "^3.0.9",
72
70
  "@vitest/ui": "^3.0.9",
73
71
  "eslint": "^9.26.0",
74
- "eslint-config-prettier": "^9.1.0",
75
- "eslint-import-resolver-typescript": "^4.3.4",
76
- "eslint-plugin-import": "^2.31.0",
77
72
  "eslint-plugin-react": "^7.34.2",
78
73
  "eslint-plugin-react-hooks": "^5.2.0",
79
74
  "eslint-plugin-react-refresh": "^0.4.7",