@useloops/design-system 1.4.572 → 1.4.574
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/Platform.js +1 -1
- package/dist/esm/Platform.js +1 -1
- package/dist/esm/systems/Marketing/PlanFeatureTable/PlanFeatureTableSkeleton.js +1 -1
- package/dist/esm/systems/Marketing/PlanTierCard/PlanTierCard.js +1 -1
- package/dist/esm/systems/Marketing/PlanTierCard/PlanTierCardSkeleton.js +1 -1
- package/dist/esm/systems/Marketing/PlanTierCard/SavingsPill.js +1 -1
- package/dist/esm/systems/Platform/AIInsight/AIInsight.js +1 -1
- package/dist/esm/systems/Platform/AISummary/AISummary.js +1 -1
- package/dist/esm/systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js +1 -1
- package/dist/esm/systems/Platform/AssetItem/AssetItem.js +1 -1
- package/dist/esm/systems/Platform/AssetItem/_partials/AssetItemMenu.js +1 -1
- package/dist/esm/systems/Platform/AssetItem/_partials/CoverTypeIndicator.js +1 -1
- package/dist/esm/systems/Platform/AssetItem/_partials/ImageTile.js +1 -1
- package/dist/esm/systems/Platform/CommentCard/CommentCard.js +1 -1
- package/dist/esm/systems/Platform/DataPointInfo/DataPointInfo.js +1 -1
- package/dist/esm/systems/Platform/DataPointInfo/_partials/DataSourceItem.js +1 -1
- package/dist/esm/systems/Platform/DataPointInfo/_partials/EmptyStateMessage.js +1 -1
- package/dist/esm/systems/Platform/DataPointInfo/_partials/StatValue.js +1 -1
- package/dist/esm/systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js +1 -1
- package/dist/esm/systems/Platform/EmojiListItem/EmojiListItem.js +1 -1
- package/dist/esm/systems/Platform/EmojiListItem/_partials/StyledSurface.js +1 -1
- package/dist/esm/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js +1 -1
- package/dist/esm/systems/Platform/EmptyStateCard/EmptyStateCard.js +1 -1
- package/dist/esm/systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js +1 -1
- package/dist/esm/systems/Platform/FilterCount/FilterCount.js +1 -1
- package/dist/esm/systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js +1 -1
- package/dist/esm/systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js +1 -1
- package/dist/esm/systems/Platform/FilterRow/FilterRow.js +1 -1
- package/dist/esm/systems/Platform/FilteredItemsCard/FilteredItemsCard.js +1 -1
- package/dist/esm/systems/Platform/GraphBar/_partials/UnitText/UnitText.js +1 -1
- package/dist/esm/systems/Platform/Header/Header.js +1 -1
- package/dist/esm/systems/Platform/KpiDataPopover/KpiDataPopover.js +1 -1
- package/dist/esm/systems/Platform/KpiDataPopover/KpiDetails.js +1 -1
- package/dist/esm/systems/Platform/KpiDataPopover/QuestionStatsCard.js +1 -1
- package/dist/esm/systems/Platform/LikertGraph/_partials/LikertActionController/LikertActionController.js +1 -1
- package/dist/esm/systems/Platform/LikertGraph/_partials/LikertGraphBar/LikertGraphBar.js +1 -1
- package/dist/esm/systems/Platform/LinkExpired/LinkExpired.js +1 -1
- package/dist/esm/systems/Platform/LoopItem/LoopItem.js +1 -1
- package/dist/esm/systems/Platform/LoopItem/_partials/styledPartials.js +1 -1
- package/dist/esm/systems/Platform/LoopItemEmpty/LoopItemEmpty.js +1 -1
- package/dist/esm/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
- package/dist/esm/systems/Platform/MiniResultCard/MiniResultCard.js +1 -1
- package/dist/esm/systems/Platform/PaginationControl/PaginationControl.js +1 -1
- package/dist/esm/systems/Platform/ProjectItem/ProjectItemGridView.js +1 -1
- package/dist/esm/systems/Platform/ProjectItem/ProjectItemListView.js +1 -1
- package/dist/esm/systems/Platform/ProjectItem/_partials/styledPartials.js +1 -1
- package/dist/esm/systems/Platform/QuestionBlock/QuestionBlock.js +1 -1
- package/dist/esm/systems/Platform/QuestionLabel/QuestionLabel.js +1 -1
- package/dist/esm/systems/Platform/QuestionSelector/QuestionSelector.js +1 -1
- package/dist/esm/systems/Platform/SearchInput/SearchInput.js +1 -1
- package/dist/esm/systems/Platform/SectionHeader/SectionHeader.js +1 -1
- package/dist/esm/systems/Platform/SentimentArrow/SentimentArrow.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
- package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js +1 -1
- package/dist/esm/systems/Platform/Tab/Tab.js +1 -1
- package/dist/esm/systems/Platform/TestKPICard/TestKPICard.js +1 -1
- package/dist/esm/systems/Platform/TestStatus/TestStatus.js +1 -1
- package/dist/esm/systems/Platform/VideoControls/VideoControls.js +1 -1
- package/dist/esm/systems/WebCore/Menu/MenuItem.js +1 -1
- package/dist/esm/systems/WebCore/RichTextField/RichTextField.js +1 -1
- package/dist/systems/Marketing/PlanFeatureTable/PlanFeatureTableSkeleton.js +1 -1
- package/dist/systems/Marketing/PlanTierCard/PlanTierCard.js +1 -1
- package/dist/systems/Marketing/PlanTierCard/PlanTierCardSkeleton.js +1 -1
- package/dist/systems/Marketing/PlanTierCard/SavingsPill.js +1 -1
- package/dist/systems/Platform/AIInsight/AIInsight.js +1 -1
- package/dist/systems/Platform/AISummary/AISummary.js +1 -1
- package/dist/systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js +1 -1
- package/dist/systems/Platform/AssetItem/AssetItem.js +1 -1
- package/dist/systems/Platform/AssetItem/_partials/AssetItemMenu.js +1 -1
- package/dist/systems/Platform/AssetItem/_partials/CoverTypeIndicator.js +1 -1
- package/dist/systems/Platform/AssetItem/_partials/ImageTile.js +1 -1
- package/dist/systems/Platform/CommentCard/CommentCard.js +1 -1
- package/dist/systems/Platform/DataPointInfo/DataPointInfo.js +1 -1
- package/dist/systems/Platform/DataPointInfo/_partials/DataSourceItem.js +1 -1
- package/dist/systems/Platform/DataPointInfo/_partials/EmptyStateMessage.js +1 -1
- package/dist/systems/Platform/DataPointInfo/_partials/StatValue.js +1 -1
- package/dist/systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js +1 -1
- package/dist/systems/Platform/EmojiListItem/EmojiListItem.js +1 -1
- package/dist/systems/Platform/EmojiListItem/_partials/StyledSurface.js +1 -1
- package/dist/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js +1 -1
- package/dist/systems/Platform/EmptyStateCard/EmptyStateCard.js +1 -1
- package/dist/systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js +1 -1
- package/dist/systems/Platform/FilterCount/FilterCount.js +1 -1
- package/dist/systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js +1 -1
- package/dist/systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js +1 -1
- package/dist/systems/Platform/FilterRow/FilterRow.js +1 -1
- package/dist/systems/Platform/FilteredItemsCard/FilteredItemsCard.js +1 -1
- package/dist/systems/Platform/GraphBar/_partials/UnitText/UnitText.js +1 -1
- package/dist/systems/Platform/Header/Header.js +1 -1
- package/dist/systems/Platform/KpiDataPopover/KpiDataPopover.js +1 -1
- package/dist/systems/Platform/KpiDataPopover/KpiDetails.js +1 -1
- package/dist/systems/Platform/KpiDataPopover/QuestionStatsCard.js +1 -1
- package/dist/systems/Platform/LikertGraph/_partials/LikertActionController/LikertActionController.js +1 -1
- package/dist/systems/Platform/LikertGraph/_partials/LikertGraphBar/LikertGraphBar.js +1 -1
- package/dist/systems/Platform/LinkExpired/LinkExpired.js +1 -1
- package/dist/systems/Platform/LoopItem/LoopItem.js +1 -1
- package/dist/systems/Platform/LoopItem/_partials/styledPartials.js +1 -1
- package/dist/systems/Platform/LoopItemEmpty/LoopItemEmpty.js +1 -1
- package/dist/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
- package/dist/systems/Platform/MiniResultCard/MiniResultCard.js +1 -1
- package/dist/systems/Platform/PaginationControl/PaginationControl.js +1 -1
- package/dist/systems/Platform/ProjectItem/ProjectItemGridView.js +1 -1
- package/dist/systems/Platform/ProjectItem/ProjectItemListView.js +1 -1
- package/dist/systems/Platform/ProjectItem/_partials/styledPartials.js +1 -1
- package/dist/systems/Platform/QuestionBlock/QuestionBlock.js +1 -1
- package/dist/systems/Platform/QuestionLabel/QuestionLabel.js +1 -1
- package/dist/systems/Platform/QuestionSelector/QuestionSelector.js +1 -1
- package/dist/systems/Platform/SearchInput/SearchInput.js +1 -1
- package/dist/systems/Platform/SectionHeader/SectionHeader.js +1 -1
- package/dist/systems/Platform/SentimentArrow/SentimentArrow.js +1 -1
- package/dist/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
- package/dist/systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js +1 -1
- package/dist/systems/Platform/Tab/Tab.js +1 -1
- package/dist/systems/Platform/TestKPICard/TestKPICard.js +1 -1
- package/dist/systems/Platform/TestStatus/TestStatus.js +1 -1
- package/dist/systems/Platform/VideoControls/VideoControls.js +1 -1
- package/dist/systems/WebCore/Menu/MenuItem.js +1 -1
- package/dist/systems/WebCore/RichTextField/RichTextField.js +1 -1
- package/dist/theme/theme.hooks.d.ts +1 -1
- package/package.json +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("merge-sx");require("../../BrandCore/colorRamps.js");var o=require("../../BrandCore/primitiveVariables.js");require("../../BrandCore/semanticColor.js"),require("../../BrandCore/types.js"),require("../../BrandCore/typography.js");var i=require("../../BrandCore/Icon/Icon.js"),s=require("../ButtonBase/Button.variant-helpers.js");require("../ButtonBase/ButtonBase.js");var n=require("../Tooltip/Tooltip.js"),a=require("../Typography/Typography.js");const l=t.styled(t.Button,{shouldForwardProp:e=>!["active","iconHeight"].includes(e)})(({active:e,iconHeight:t=24,theme:r})=>({borderRadius:r.spacing(r.custom.radius.sm),maxWidth:"100%",padding:r.spacing(.5,1),textTransform:"none",width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",...s.buttonInteraction(r,e),backgroundColor:e?r.custom.palette.surface.sunken:"transparent","& p":{minHeight:t},"&:disabled":{backgroundColor:"inherit","& p":{color:r.custom.palette.text.disabled}}})),c=t.styled(t.Box)(({theme:e})=>({padding:e.spacing(.5,1)})),d=t.styled(t.Box)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),textAlign:"left"})),p=t.styled(t.Stack)(({iconHeight:e=24,theme:t})=>({height:e,width:24,alignItems:"center",color:t.custom.palette.icon.secondary,display:"flex",justifyContent:"center",marginLeft:"auto"}));module.exports=({baseState:s,label:
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("merge-sx");require("../../BrandCore/colorRamps.js");var o=require("../../BrandCore/primitiveVariables.js");require("../../BrandCore/semanticColor.js"),require("../../BrandCore/types.js"),require("../../BrandCore/typography.js");var i=require("../../BrandCore/Icon/Icon.js"),s=require("../ButtonBase/Button.variant-helpers.js");require("../ButtonBase/ButtonBase.js");var n=require("../Tooltip/Tooltip.js"),a=require("../Typography/Typography.js");const l=t.styled(t.Button,{shouldForwardProp:e=>!["active","iconHeight"].includes(e)})(({active:e,iconHeight:t=24,theme:r})=>({borderRadius:r.spacing(r.custom.radius.sm),maxWidth:"100%",padding:r.spacing(.5,1),textTransform:"none",width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",...s.buttonInteraction(r,e),backgroundColor:e?r.custom.palette.surface.sunken:"transparent","& p":{minHeight:t},"&:disabled":{backgroundColor:"inherit","& p":{color:r.custom.palette.text.disabled}}})),c=t.styled(t.Box)(({theme:e})=>({padding:e.spacing(.5,1)})),d=t.styled(t.Box)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),textAlign:"left"})),p=t.styled(t.Stack,{shouldForwardProp:e=>"iconHeight"!==e})(({iconHeight:e=24,theme:t})=>({height:e,width:24,alignItems:"center",color:t.custom.palette.icon.secondary,display:"flex",justifyContent:"center",marginLeft:"auto"}));module.exports=({baseState:s,label:h,active:x,danger:u,divider:m,heading:g,selected:j,disabled:y,closeOnClick:v,hidden:f,onClick:w,startIcon:B,slotProps:b,tooltip:C,children:q})=>{const I=t.useTheme(),k=3*o.base;return f?null:m?e.jsx(t.Box,{sx:{height:32,display:"flex",alignItems:"center"},children:e.jsx(t.Box,{sx:{borderBottom:`1px solid ${I.custom.palette.stroke.default}`,width:"100%"}})}):h?g?e.jsx(c,{children:e.jsx(a,{component:"p",type:"button",variation:"md",sx:{color:I.custom.palette.text.secondary},children:h})}):e.jsx(l,{active:x,disabled:y,onClick:e=>{w&&w(e),v&&s?.close()},iconHeight:k,children:e.jsxs(d,{sx:{width:"100%",justifyContent:"space-between",gap:1},children:[e.jsxs(d,{sx:{flex:"1 1 auto",gap:1,minWidth:0},children:[void 0!==B&&e.jsx(i.default,{name:B,...b?.startIcon}),C?e.jsx(n,{message:h,slotProps:{wrapper:{sx:{minWidth:0,overflow:"hidden",flex:"1 1 auto"}}},children:e.jsx(a,{monospaced:!0,component:"p",sx:r.mergeSx({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},u&&{color:I.custom.palette.text.negative},g&&{color:I.custom.palette.text.secondary}),type:"button",variation:"md",children:h})}):e.jsx(a,{monospaced:!0,component:"p",sx:r.mergeSx({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},u&&{color:I.custom.palette.text.negative},g&&{color:I.custom.palette.text.secondary}),type:"button",variation:"md",children:h})]}),e.jsxs(p,{iconHeight:k,minWidth:k,children:[q?.length&&q.length>0&&e.jsx(t.Grow,{in:!0,children:e.jsx(t.Box,{sx:{display:"flex",alignItems:"center"},children:e.jsx(i.default,{name:"chevron-right",size:k})})}),j&&e.jsx(t.Grow,{in:!0,children:e.jsx(t.Box,{sx:{display:"flex",alignItems:"center"},children:e.jsx(i.default,{name:"check",size:k})})})]})]})}):null};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("@tiptap/extension-placeholder"),i=require("@tiptap/
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("@tiptap/extension-placeholder"),i=require("@tiptap/starter-kit"),n=require("mui-tiptap"),o=require("react"),l=require("./StyledRichTextEditor.js");module.exports=({onChange:u,value:s,internalChange:a,minWidth:d=100,minHeight:c=100,maxHeight:h,placeholder:x,options:m={}})=>{const p=o.useRef(null),g=t.useTheme(),{bold:j=!0,italic:q=!0,underline:B=!0,bulletList:L=!1,orderedList:M=!1}=m;return e.jsx(l,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:c,minWidth:d,maxHeight:h}},ref:p,onUpdate:({editor:e})=>{u&&u(e.getHTML()),a&&a()},enableInputRules:!1,extensions:[i.StarterKit.configure({strike:!1,code:!1,heading:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1,bold:!!j&&{},italic:!!q&&{},listItem:!(!L&&!M)&&{},bulletList:!!L&&{},orderedList:!!M&&{}}),r.Placeholder.configure({placeholder:x})],content:s,renderControls:()=>e.jsxs(t.Stack,{gap:g.custom.margin.xs,direction:"row",children:[j&&e.jsx(n.MenuButtonBold,{}),q&&e.jsx(n.MenuButtonItalic,{}),B&&e.jsx(n.MenuButtonUnderline,{}),L&&e.jsx(n.MenuButtonBulletedList,{}),M&&e.jsx(n.MenuButtonOrderedList,{})]})})};
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useloops/design-system",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.574",
|
|
4
4
|
"description": "The official React based Loops design system",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -229,7 +229,6 @@
|
|
|
229
229
|
"@tiptap/extension-image": "3.7.0",
|
|
230
230
|
"@tiptap/extension-placeholder": "^3.7.0",
|
|
231
231
|
"@tiptap/extension-table": "^3.7.0",
|
|
232
|
-
"@tiptap/extension-underline": "^3.7.0",
|
|
233
232
|
"@tiptap/react": "^3.7.0",
|
|
234
233
|
"@tiptap/starter-kit": "^3.7.0",
|
|
235
234
|
"@use-it/event-listener": "^0.1.7",
|