@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.
- package/dist/BrandCore/Icon.d.ts +6 -1
- package/dist/BrandCore/Icon.js +1 -1
- package/dist/Platform/GraphPopoverDataLayout.d.ts +1 -0
- package/dist/Platform/GraphPopoverDataLayout.js +1 -0
- package/dist/Platform.d.ts +2 -1
- package/dist/Platform.js +1 -1
- package/dist/esm/BrandCore/Icon.js +1 -1
- package/dist/esm/Platform/GraphPopoverDataLayout.js +1 -0
- package/dist/esm/Platform.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/systems/BrandCore/Icon/Icon.js +1 -1
- package/dist/esm/systems/BrandCore/Icon/components/Layers.js +1 -0
- package/dist/esm/systems/BrandCore/Icon/components/RotateDevice.js +1 -0
- package/dist/esm/systems/BrandCore/Icon/components/Select.js +1 -0
- package/dist/esm/systems/BrandCore/Icon/components/TimeToFind.js +1 -0
- package/dist/esm/systems/BrandCore/Icon/components/Users.js +1 -0
- package/dist/esm/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js +1 -0
- package/dist/esm/systems/Platform/LinkExpired/LinkExpired.js +1 -1
- package/dist/esm/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
- package/dist/esm/systems/Platform/MiniResultCard/graphVariants.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/SliderGraph.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/_partials/StyledComponents.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/utils/heightBasedOnPercentage.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
- package/dist/esm/systems/Platform/utils/mapQuestionTypeToLabel.js +1 -1
- package/dist/esm/systems/WebCore/Tooltip/Tooltip.js +1 -1
- package/dist/esm/systems/WebCore/Typography/Typography.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/systems/BrandCore/Icon/Icon.js +1 -1
- package/dist/systems/BrandCore/Icon/components/Layers.d.ts +6 -0
- package/dist/systems/BrandCore/Icon/components/Layers.js +1 -0
- package/dist/systems/BrandCore/Icon/components/RotateDevice.d.ts +6 -0
- package/dist/systems/BrandCore/Icon/components/RotateDevice.js +1 -0
- package/dist/systems/BrandCore/Icon/components/Select.d.ts +6 -0
- package/dist/systems/BrandCore/Icon/components/Select.js +1 -0
- package/dist/systems/BrandCore/Icon/components/TimeToFind.d.ts +6 -0
- package/dist/systems/BrandCore/Icon/components/TimeToFind.js +1 -0
- package/dist/systems/BrandCore/Icon/components/Users.d.ts +6 -0
- package/dist/systems/BrandCore/Icon/components/Users.js +1 -0
- package/dist/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.d.ts +25 -0
- package/dist/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js +1 -0
- package/dist/systems/Platform/LinkExpired/LinkExpired.js +1 -1
- package/dist/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
- package/dist/systems/Platform/MiniResultCard/graphVariants.js +1 -1
- package/dist/systems/Platform/SliderGraph/SliderGraph.js +1 -1
- package/dist/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
- package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.d.ts +8 -8
- package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.js +1 -1
- package/dist/systems/Platform/SliderGraph/types.d.ts +9 -3
- package/dist/systems/Platform/SliderGraph/utils/heightBasedOnPercentage.js +1 -1
- package/dist/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
- package/dist/systems/Platform/utils/mapQuestionTypeToLabel.d.ts +1 -1
- package/dist/systems/Platform/utils/mapQuestionTypeToLabel.js +1 -1
- package/dist/systems/WebCore/InputFieldBase/InputFieldBase.d.ts +1 -1
- package/dist/systems/WebCore/Tooltip/Tooltip.js +1 -1
- package/dist/systems/WebCore/Typography/Typography.d.ts +1 -1
- package/dist/systems/WebCore/Typography/Typography.js +1 -1
- package/dist/theme/theme.hooks.d.ts +1 -1
- 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.
|
|
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"),
|
|
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<
|
|
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:
|
|
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" | "
|
|
7
|
+
breakpoint: "" | "sm" | "lg" | "md" | "xl";
|
|
8
8
|
custom: CustomTheme;
|
|
9
9
|
gridOverlayVisible: boolean;
|
|
10
10
|
mode: PaletteMode;
|