@useloops/design-system 1.4.655 → 1.4.657

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.
Files changed (61) hide show
  1. package/dist/BrandCore/Icon.d.ts +6 -1
  2. package/dist/BrandCore/Icon.js +1 -1
  3. package/dist/Platform/GraphPopoverDataLayout.d.ts +1 -0
  4. package/dist/Platform/GraphPopoverDataLayout.js +1 -0
  5. package/dist/Platform.d.ts +2 -1
  6. package/dist/Platform.js +1 -1
  7. package/dist/esm/BrandCore/Icon.js +1 -1
  8. package/dist/esm/Platform/GraphPopoverDataLayout.js +1 -0
  9. package/dist/esm/Platform.js +1 -1
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/systems/BrandCore/Icon/Icon.js +1 -1
  12. package/dist/esm/systems/BrandCore/Icon/components/Layers.js +1 -0
  13. package/dist/esm/systems/BrandCore/Icon/components/RotateDevice.js +1 -0
  14. package/dist/esm/systems/BrandCore/Icon/components/Select.js +1 -0
  15. package/dist/esm/systems/BrandCore/Icon/components/TimeToFind.js +1 -0
  16. package/dist/esm/systems/BrandCore/Icon/components/Users.js +1 -0
  17. package/dist/esm/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js +1 -0
  18. package/dist/esm/systems/Platform/LinkExpired/LinkExpired.js +1 -1
  19. package/dist/esm/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
  20. package/dist/esm/systems/Platform/MiniResultCard/graphVariants.js +1 -1
  21. package/dist/esm/systems/Platform/SliderGraph/SliderGraph.js +1 -1
  22. package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
  23. package/dist/esm/systems/Platform/SliderGraph/_partials/StyledComponents.js +1 -1
  24. package/dist/esm/systems/Platform/SliderGraph/utils/heightBasedOnPercentage.js +1 -1
  25. package/dist/esm/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
  26. package/dist/esm/systems/Platform/utils/mapQuestionTypeToLabel.js +1 -1
  27. package/dist/esm/systems/WebCore/Tooltip/Tooltip.js +1 -1
  28. package/dist/esm/systems/WebCore/Typography/Typography.js +1 -1
  29. package/dist/index.d.ts +2 -1
  30. package/dist/index.js +1 -1
  31. package/dist/systems/BrandCore/Icon/Icon.js +1 -1
  32. package/dist/systems/BrandCore/Icon/components/Layers.d.ts +6 -0
  33. package/dist/systems/BrandCore/Icon/components/Layers.js +1 -0
  34. package/dist/systems/BrandCore/Icon/components/RotateDevice.d.ts +6 -0
  35. package/dist/systems/BrandCore/Icon/components/RotateDevice.js +1 -0
  36. package/dist/systems/BrandCore/Icon/components/Select.d.ts +6 -0
  37. package/dist/systems/BrandCore/Icon/components/Select.js +1 -0
  38. package/dist/systems/BrandCore/Icon/components/TimeToFind.d.ts +6 -0
  39. package/dist/systems/BrandCore/Icon/components/TimeToFind.js +1 -0
  40. package/dist/systems/BrandCore/Icon/components/Users.d.ts +6 -0
  41. package/dist/systems/BrandCore/Icon/components/Users.js +1 -0
  42. package/dist/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.d.ts +25 -0
  43. package/dist/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js +1 -0
  44. package/dist/systems/Platform/LinkExpired/LinkExpired.js +1 -1
  45. package/dist/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
  46. package/dist/systems/Platform/MiniResultCard/graphVariants.js +1 -1
  47. package/dist/systems/Platform/SliderGraph/SliderGraph.js +1 -1
  48. package/dist/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
  49. package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.d.ts +8 -8
  50. package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.js +1 -1
  51. package/dist/systems/Platform/SliderGraph/types.d.ts +9 -3
  52. package/dist/systems/Platform/SliderGraph/utils/heightBasedOnPercentage.js +1 -1
  53. package/dist/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
  54. package/dist/systems/Platform/utils/mapQuestionTypeToLabel.d.ts +1 -1
  55. package/dist/systems/Platform/utils/mapQuestionTypeToLabel.js +1 -1
  56. package/dist/systems/WebCore/InputFieldBase/InputFieldBase.d.ts +1 -1
  57. package/dist/systems/WebCore/Tooltip/Tooltip.js +1 -1
  58. package/dist/systems/WebCore/Typography/Typography.d.ts +1 -1
  59. package/dist/systems/WebCore/Typography/Typography.js +1 -1
  60. package/dist/theme/theme.hooks.d.ts +1 -1
  61. package/package.json +1 -1
@@ -6,7 +6,7 @@ import { TextFieldProps } from '@mui/material';
6
6
  type InputFieldBaseProps = TextFieldProps;
7
7
  declare const InputFieldBase: _emotion_styled.StyledComponent<{
8
8
  variant?: _mui_material.TextFieldVariants | undefined;
9
- } & Omit<_mui_material.FilledTextFieldProps | _mui_material.OutlinedTextFieldProps | _mui_material.StandardTextFieldProps, "variant"> & (_mui_system.MUIStyledCommonProps<_mui_material.Theme> & InputFieldBaseProps), {}, {}>;
9
+ } & Omit<_mui_material.OutlinedTextFieldProps | _mui_material.FilledTextFieldProps | _mui_material.StandardTextFieldProps, "variant"> & (_mui_system.MUIStyledCommonProps<_mui_material.Theme> & InputFieldBaseProps), {}, {}>;
10
10
 
11
11
  export { InputFieldBase as default };
12
12
  export type { InputFieldBaseProps };
@@ -1 +1 @@
1
- "use strict";var e=require("react/jsx-runtime"),r=require("@mui/material"),t=require("merge-sx"),o=require("react");module.exports=({variation:s="primary",message:i,sx:a,slotProps:l,children:u,...p})=>{const m=r.useTheme(),{wrapper:c,...n}=l??{},x=o.useMemo(()=>{const e=n.popper;return{...n,popper:{...e,sx:t.mergeSx({"& .MuiTooltip-tooltip":{backgroundColor:m.custom.palette.surface.overlay,borderRadius:m.spacing(m.custom.radius.md),filter:`drop-shadow(${m.custom.elevation.raised})`}},e?.sx)}}},[l,m]),d=o.useMemo(()=>t.mergeSx({cursor:"pointer",display:"flex",alignItems:"center",color:m.custom.palette.text.primary},c?.sx),[l,m]);return e.jsx(r.Tooltip,{enterDelay:650,enterNextDelay:650,arrow:!0,title:i,slotProps:x,...p,children:e.jsx(r.Box,{sx:d,children:u})})};
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("@mui/material"),o=require("merge-sx"),s=require("react");module.exports=({variation:t="primary",message:i,sx:a,slotProps:l,children:p,...u})=>{const x=r.useTheme(),{wrapper:m,...c}=l??{},n=s.useMemo(()=>{const e=c.popper;return{...c,arrow:{...c.arrow??{},sx:o.mergeSx({...u.followCursor&&{width:"15px",height:"13px",padding:"2px"}},c.arrow?.sx)},popper:{...e,sx:o.mergeSx({"& .MuiTooltip-tooltip":{backgroundColor:x.custom.palette.surface.overlay,borderRadius:x.spacing(x.custom.radius.md),filter:`drop-shadow(${x.custom.elevation.raised})`}},e?.sx)}}},[l,x,u.followCursor]),d=s.useMemo(()=>o.mergeSx({cursor:"pointer",display:"flex",alignItems:"center",color:x.custom.palette.text.primary},m?.sx),[l,x]);return e.jsx(r.Tooltip,{enterDelay:650,enterNextDelay:650,arrow:!0,title:i,slotProps:n,...u,children:e.jsx(r.Box,{sx:d,children:p})})};
@@ -14,7 +14,7 @@ interface TypographyProps extends Omit<TypographyProps$1, 'ref'> {
14
14
  textColor?: string;
15
15
  ai?: boolean;
16
16
  }
17
- declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLParagraphElement | HTMLHeadingElement>>;
17
+ declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLHeadingElement | HTMLParagraphElement>>;
18
18
 
19
19
  export { Typography as default };
20
20
  export type { TypographyProps };
@@ -1 +1 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("merge-sx"),o=require("react"),i=require("../../BrandCore/gradients.js"),a=require("../../BrandCore/types.js");const n=e=>"bold"===e?a.FontWeight.BOLD:a.FontWeight.DEFAULT,l=o.forwardRef(({component:o,weight:a="default",variation:l,clamp:s=0,type:u="default",disabled:c,monospaced:d,secondary:m,textColor:p,ai:x,...b},g)=>{const f=t.useTheme();return e.jsx(t.Typography,{ref:g,variant:l,fontWeight:n(a),component:o,...b,sx:r.mergeSx(b.sx,!!s&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:s},"button"===u&&{lineHeight:1.2},d&&{fontVariantNumeric:"tabular-nums"},m&&{color:f.custom.palette.text.secondary},c&&{color:f.custom.palette.text.disabled},Boolean(p)&&{color:p},x&&{background:i.tone3(f),backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",width:"fit-content"})})});module.exports=l;
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("merge-sx"),o=require("react"),i=require("../../BrandCore/gradients.js"),a=require("../../BrandCore/types.js");const n=e=>"bold"===e?a.FontWeight.BOLD:a.FontWeight.DEFAULT,l=(e,t,r)=>t?e.custom.palette.text.disabled:r?e.custom.palette.text.secondary:e.custom.palette.text.primary,s=o.forwardRef(({component:o,weight:a="default",variation:s,clamp:u=0,type:c="default",disabled:d,monospaced:m,secondary:p,textColor:x,ai:b,...g},f)=>{const h=t.useTheme();return e.jsx(t.Typography,{ref:f,variant:s,fontWeight:n(a),component:o,...g,sx:r.mergeSx(g.sx,!!u&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:u},"button"===c&&{lineHeight:1.2},m&&{fontVariantNumeric:"tabular-nums"},{color:l(h,d,p)},Boolean(x)&&{color:x},b&&{background:i.tone3(h),backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",width:"fit-content"})})});module.exports=s;
@@ -4,7 +4,7 @@ import { PaletteMode, Direction } from '@mui/material';
4
4
  import { ScreenSize, CustomTheme } from './types.js';
5
5
 
6
6
  declare const useThemeBuilder: (initialMode?: PaletteMode, initialScreenSize?: ScreenSize, initialDirection?: Direction) => {
7
- breakpoint: "" | "sm" | "md" | "lg" | "xl";
7
+ breakpoint: "" | "sm" | "lg" | "md" | "xl";
8
8
  custom: CustomTheme;
9
9
  gridOverlayVisible: boolean;
10
10
  mode: PaletteMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useloops/design-system",
3
- "version": "1.4.655",
3
+ "version": "1.4.657",
4
4
  "description": "The official React based Loops design system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",