@useloops/design-system 1.4.681 → 1.4.683

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 (145) hide show
  1. package/dist/Platform.js +1 -1
  2. package/dist/esm/Platform.js +1 -1
  3. package/dist/esm/index.js +1 -1
  4. package/dist/esm/systems/BrandCore/textures.js +1 -1
  5. package/dist/esm/systems/Marketing/PlanFeatureTable/PlanFeatureTableSkeleton.js +1 -1
  6. package/dist/esm/systems/Marketing/PlanTierCard/PlanTierCard.js +1 -1
  7. package/dist/esm/systems/Marketing/PlanTierCard/PlanTierCardSkeleton.js +1 -1
  8. package/dist/esm/systems/Marketing/PlanTierCard/SavingsPill.js +1 -1
  9. package/dist/esm/systems/Platform/AIInsight/AIInsight.js +1 -1
  10. package/dist/esm/systems/Platform/AISummary/AISummary.js +1 -1
  11. package/dist/esm/systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js +1 -1
  12. package/dist/esm/systems/Platform/AssetItem/AssetItem.js +1 -1
  13. package/dist/esm/systems/Platform/AssetItem/_partials/AssetItemMenu.js +1 -1
  14. package/dist/esm/systems/Platform/AssetItem/_partials/CoverTypeIndicator.js +1 -1
  15. package/dist/esm/systems/Platform/AssetItem/_partials/ImageTile.js +1 -1
  16. package/dist/esm/systems/Platform/CommentCard/CommentCard.js +1 -1
  17. package/dist/esm/systems/Platform/DataPointInfo/DataPointInfo.js +1 -1
  18. package/dist/esm/systems/Platform/DataPointInfo/_partials/DataSourceItem.js +1 -1
  19. package/dist/esm/systems/Platform/DataPointInfo/_partials/EmptyStateMessage.js +1 -1
  20. package/dist/esm/systems/Platform/DataPointInfo/_partials/StatValue.js +1 -1
  21. package/dist/esm/systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js +1 -1
  22. package/dist/esm/systems/Platform/EmojiListItem/EmojiListItem.js +1 -1
  23. package/dist/esm/systems/Platform/EmojiListItem/_partials/StyledSurface.js +1 -1
  24. package/dist/esm/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js +1 -1
  25. package/dist/esm/systems/Platform/EmptyStateCard/EmptyStateCard.js +1 -1
  26. package/dist/esm/systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js +1 -1
  27. package/dist/esm/systems/Platform/FilterCount/FilterCount.js +1 -1
  28. package/dist/esm/systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js +1 -1
  29. package/dist/esm/systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js +1 -1
  30. package/dist/esm/systems/Platform/FilterRow/FilterRow.js +1 -1
  31. package/dist/esm/systems/Platform/FilteredItemsCard/FilteredItemsCard.js +1 -1
  32. package/dist/esm/systems/Platform/GraphBar/_partials/UnitText/UnitText.js +1 -1
  33. package/dist/esm/systems/Platform/Header/Header.js +1 -1
  34. package/dist/esm/systems/Platform/KpiDataPopover/KpiDataPopover.js +1 -1
  35. package/dist/esm/systems/Platform/LikertGraph/_partials/LikertActionController/LikertActionController.js +1 -1
  36. package/dist/esm/systems/Platform/LikertGraph/_partials/LikertGraphBar/LikertGraphBar.js +1 -1
  37. package/dist/esm/systems/Platform/LinkExpired/LinkExpired.js +1 -1
  38. package/dist/esm/systems/Platform/LoopItem/LoopItem.js +1 -1
  39. package/dist/esm/systems/Platform/LoopItemEmpty/LoopItemEmpty.js +1 -1
  40. package/dist/esm/systems/Platform/LoopVideoNudge/LoopVideoNudge.js +1 -1
  41. package/dist/esm/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
  42. package/dist/esm/systems/Platform/MiniResultCard/MiniResultCard.js +1 -1
  43. package/dist/esm/systems/Platform/PaginationControl/PaginationControl.js +1 -1
  44. package/dist/esm/systems/Platform/PinchIndicator/PinchIndicator.js +1 -1
  45. package/dist/esm/systems/Platform/PinchIndicator/_partials/StyledSurface/StyledSurface.js +1 -1
  46. package/dist/esm/systems/Platform/ProjectItem/ProjectItemGridView.js +1 -1
  47. package/dist/esm/systems/Platform/ProjectItem/ProjectItemListView.js +1 -1
  48. package/dist/esm/systems/Platform/ProjectItem/_partials/NoThumbnailPlaceholder.js +1 -1
  49. package/dist/esm/systems/Platform/ProjectItem/_partials/styledPartials.js +1 -1
  50. package/dist/esm/systems/Platform/QuestionBar/QuestionBar.js +1 -1
  51. package/dist/esm/systems/Platform/QuestionBlock/QuestionBlock.js +1 -1
  52. package/dist/esm/systems/Platform/QuestionSelector/QuestionSelector.js +1 -1
  53. package/dist/esm/systems/Platform/ScrollIndicator/ScrollIndicator.js +1 -1
  54. package/dist/esm/systems/Platform/SearchInput/SearchInput.js +1 -1
  55. package/dist/esm/systems/Platform/SectionHeader/SectionHeader.js +1 -1
  56. package/dist/esm/systems/Platform/SentimentArrow/SentimentArrow.js +1 -1
  57. package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
  58. package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js +1 -1
  59. package/dist/esm/systems/Platform/Tab/Tab.js +1 -1
  60. package/dist/esm/systems/Platform/TestItem/TestItem.js +1 -1
  61. package/dist/esm/systems/Platform/TestStatus/TestStatus.js +1 -1
  62. package/dist/esm/systems/Platform/VideoControls/VideoControls.js +1 -1
  63. package/dist/esm/systems/WebCore/Loader/Loader.js +1 -1
  64. package/dist/esm/systems/WebCore/Menu/Menu.js +1 -1
  65. package/dist/esm/systems/WebCore/Popper/Popper.js +1 -1
  66. package/dist/esm/systems/WebCore/UserMenu/UserMenu.js +1 -1
  67. package/dist/esm/theme/theme.js +1 -1
  68. package/dist/esm/utils/cdn.js +1 -0
  69. package/dist/esm/utils.js +1 -1
  70. package/dist/index.d.ts +1 -0
  71. package/dist/index.js +1 -1
  72. package/dist/systems/BrandCore/textures.js +1 -1
  73. package/dist/systems/Marketing/PlanFeatureTable/PlanFeatureTableSkeleton.js +1 -1
  74. package/dist/systems/Marketing/PlanTierCard/PlanTierCard.js +1 -1
  75. package/dist/systems/Marketing/PlanTierCard/PlanTierCardSkeleton.js +1 -1
  76. package/dist/systems/Marketing/PlanTierCard/SavingsPill.js +1 -1
  77. package/dist/systems/Platform/AIInsight/AIInsight.js +1 -1
  78. package/dist/systems/Platform/AISummary/AISummary.js +1 -1
  79. package/dist/systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js +1 -1
  80. package/dist/systems/Platform/AssetItem/AssetItem.js +1 -1
  81. package/dist/systems/Platform/AssetItem/_partials/AssetItemMenu.js +1 -1
  82. package/dist/systems/Platform/AssetItem/_partials/CoverTypeIndicator.js +1 -1
  83. package/dist/systems/Platform/AssetItem/_partials/ImageTile.js +1 -1
  84. package/dist/systems/Platform/CommentCard/CommentCard.js +1 -1
  85. package/dist/systems/Platform/DataPointInfo/DataPointInfo.js +1 -1
  86. package/dist/systems/Platform/DataPointInfo/_partials/DataSourceItem.js +1 -1
  87. package/dist/systems/Platform/DataPointInfo/_partials/EmptyStateMessage.js +1 -1
  88. package/dist/systems/Platform/DataPointInfo/_partials/StatValue.js +1 -1
  89. package/dist/systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js +1 -1
  90. package/dist/systems/Platform/EmojiListItem/EmojiListItem.js +1 -1
  91. package/dist/systems/Platform/EmojiListItem/_partials/StyledSurface.js +1 -1
  92. package/dist/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js +1 -1
  93. package/dist/systems/Platform/EmptyStateCard/EmptyStateCard.js +1 -1
  94. package/dist/systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js +1 -1
  95. package/dist/systems/Platform/FilterCount/FilterCount.js +1 -1
  96. package/dist/systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js +1 -1
  97. package/dist/systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js +1 -1
  98. package/dist/systems/Platform/FilterRow/FilterRow.js +1 -1
  99. package/dist/systems/Platform/FilteredItemsCard/FilteredItemsCard.js +1 -1
  100. package/dist/systems/Platform/GraphBar/_partials/UnitText/UnitText.js +1 -1
  101. package/dist/systems/Platform/Header/Header.js +1 -1
  102. package/dist/systems/Platform/KpiDataPopover/KpiDataPopover.js +1 -1
  103. package/dist/systems/Platform/LikertGraph/_partials/LikertActionController/LikertActionController.js +1 -1
  104. package/dist/systems/Platform/LikertGraph/_partials/LikertGraphBar/LikertGraphBar.js +1 -1
  105. package/dist/systems/Platform/LinkExpired/LinkExpired.js +1 -1
  106. package/dist/systems/Platform/LoopItem/LoopItem.js +1 -1
  107. package/dist/systems/Platform/LoopItemEmpty/LoopItemEmpty.js +1 -1
  108. package/dist/systems/Platform/LoopVideoNudge/LoopVideoNudge.js +1 -1
  109. package/dist/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
  110. package/dist/systems/Platform/MiniResultCard/MiniResultCard.js +1 -1
  111. package/dist/systems/Platform/PaginationControl/PaginationControl.js +1 -1
  112. package/dist/systems/Platform/PinchIndicator/PinchIndicator.js +1 -1
  113. package/dist/systems/Platform/PinchIndicator/_partials/StyledSurface/StyledSurface.js +1 -1
  114. package/dist/systems/Platform/ProjectItem/ProjectItemGridView.js +1 -1
  115. package/dist/systems/Platform/ProjectItem/ProjectItemListView.js +1 -1
  116. package/dist/systems/Platform/ProjectItem/_partials/NoThumbnailPlaceholder.js +1 -1
  117. package/dist/systems/Platform/ProjectItem/_partials/styledPartials.js +1 -1
  118. package/dist/systems/Platform/QuestionBar/QuestionBar.js +1 -1
  119. package/dist/systems/Platform/QuestionBlock/QuestionBlock.js +1 -1
  120. package/dist/systems/Platform/QuestionSelector/QuestionSelector.js +1 -1
  121. package/dist/systems/Platform/ScrollIndicator/ScrollIndicator.js +1 -1
  122. package/dist/systems/Platform/SearchInput/SearchInput.js +1 -1
  123. package/dist/systems/Platform/SectionHeader/SectionHeader.js +1 -1
  124. package/dist/systems/Platform/SentimentArrow/SentimentArrow.js +1 -1
  125. package/dist/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
  126. package/dist/systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js +1 -1
  127. package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.d.ts +1 -1
  128. package/dist/systems/Platform/Tab/Tab.js +1 -1
  129. package/dist/systems/Platform/TestItem/TestItem.js +1 -1
  130. package/dist/systems/Platform/TestStatus/TestStatus.js +1 -1
  131. package/dist/systems/Platform/VideoControls/VideoControls.js +1 -1
  132. package/dist/systems/WebCore/Loader/Loader.js +1 -1
  133. package/dist/systems/WebCore/Menu/Menu.d.ts +1 -0
  134. package/dist/systems/WebCore/Menu/Menu.js +1 -1
  135. package/dist/systems/WebCore/Popper/Popper.d.ts +2 -1
  136. package/dist/systems/WebCore/Popper/Popper.js +1 -1
  137. package/dist/systems/WebCore/UserMenu/UserMenu.d.ts +1 -0
  138. package/dist/systems/WebCore/UserMenu/UserMenu.js +1 -1
  139. package/dist/theme/theme.hooks.d.ts +1 -1
  140. package/dist/theme/theme.js +1 -1
  141. package/dist/utils/cdn.d.ts +9 -0
  142. package/dist/utils/cdn.js +1 -0
  143. package/dist/utils.d.ts +1 -0
  144. package/dist/utils.js +1 -1
  145. package/package.json +1 -1
@@ -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" | "lg" | "md" | "xl";
7
+ breakpoint: "" | "sm" | "md" | "lg" | "xl";
8
8
  custom: CustomTheme;
9
9
  gridOverlayVisible: boolean;
10
10
  mode: PaletteMode;
@@ -1 +1 @@
1
- "use strict";var t=require("@mui/material"),e=require("../systems/BrandCore/colorRamps.js"),a=require("../systems/BrandCore/primitiveColor.js"),n=require("../systems/BrandCore/primitiveVariables.js"),o=require("../systems/BrandCore/semanticColor.js"),r=require("../systems/BrandCore/typography.js"),i=require("../systems/WebCore/utils/typography.util.js");const s="https://static-pingu-production.useloops.com/fonts/",l=(t,e)=>Object.fromEntries(Object.entries(t).map(([t,a])=>[t,a*e+"px"]));exports.customTheme=(p,d,m)=>t.createTheme({direction:m,p:l(n.padding,n.base),m:l(n.margin,n.base),r:l(n.radius,n.base),custom:{palette:{black:"#000000",white:"#ffffff",neutral:e.neutralRamp[p],neutralAlpha:"light"===p?a.neutralAlpha:a.darkNeutralAlpha,purple:e.purpleRamp[p],red:e.redRamp[p],peach:e.peachRamp[p],yellow:e.yellowRamp[p],blue:e.blueRamp[p],green:e.greenRamp[p],icon:o.semantic[p].icon,interaction:o.semantic[p].interaction,stroke:o.semantic[p].stroke,surface:o.semantic[p].surface,text:o.semantic[p].text,input:o.semantic[p].input,skeleton:o.semantic[p].skeleton,data:o.semantic[p].data,body:o.semantic[p].surface.default},margin:n.margin,padding:n.padding,radius:n.radius,elevation:n.elevation,elevationFilter:n.elevationFilter,boxShadow:n.boxShadow,easing:n.easing,typography:i.typographyVariantMap[d]},palette:{mode:p,primary:{main:a.purple[500]}},spacing:n.base,shape:{borderRadius:n.base,hotspot:{default:12,active:24}},breakpoints:{values:n.breakpoints},typography:{fontFamily:`"${r.fonts.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:i.typographyVariants(d),styleOverrides:{root:{color:o.semantic[p].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:t=>`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${t.custom.palette.body};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${r.fonts.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.Domaine.default.weight};\n src: url(${s}${r.fonts.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${r.fonts.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.Domaine.bold.weight};\n src: url(${s}${r.fonts.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${r.fonts.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.FoundersGrotesk.default.weight};\n src: url(${s}${r.fonts.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${r.fonts.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.FoundersGrotesk.bold.weight};\n src: url(${s}${r.fonts.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${n.breakpoints.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${n.breakpoints.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:t}})=>({color:t.palette.surface.overlay}),tooltip:({theme:{custom:t}})=>({backgroundColor:t.palette.surface.overlay,borderRadius:t.radius.md*n.base+"px",color:t.palette.text.primary,backdropFilter:"blur(0)",filter:t.elevationFilter.overlay,fontFamily:r.fonts.FoundersGrotesk.name,fontSize:t.typography.body.sm,fontWeight:400,padding:`${t.padding.sm*n.base}px ${t.padding.md*n.base}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:t}})=>({border:`1px solid ${t.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}},MuiPaper:{styleOverrides:{root:({theme:{custom:t}})=>({backgroundColor:t.palette.surface.default})}}}});
1
+ "use strict";var t=require("@mui/material"),e=require("../systems/BrandCore/colorRamps.js"),a=require("../systems/BrandCore/primitiveColor.js"),n=require("../systems/BrandCore/primitiveVariables.js"),o=require("../systems/BrandCore/semanticColor.js"),r=require("../systems/BrandCore/typography.js"),i=require("../systems/WebCore/utils/typography.util.js");const s=require("../utils/cdn.js").cdnAsset("fonts/"),l=(t,e)=>Object.fromEntries(Object.entries(t).map(([t,a])=>[t,a*e+"px"]));exports.customTheme=(d,p,m)=>t.createTheme({direction:m,p:l(n.padding,n.base),m:l(n.margin,n.base),r:l(n.radius,n.base),custom:{palette:{black:"#000000",white:"#ffffff",neutral:e.neutralRamp[d],neutralAlpha:"light"===d?a.neutralAlpha:a.darkNeutralAlpha,purple:e.purpleRamp[d],red:e.redRamp[d],peach:e.peachRamp[d],yellow:e.yellowRamp[d],blue:e.blueRamp[d],green:e.greenRamp[d],icon:o.semantic[d].icon,interaction:o.semantic[d].interaction,stroke:o.semantic[d].stroke,surface:o.semantic[d].surface,text:o.semantic[d].text,input:o.semantic[d].input,skeleton:o.semantic[d].skeleton,data:o.semantic[d].data,body:o.semantic[d].surface.default},margin:n.margin,padding:n.padding,radius:n.radius,elevation:n.elevation,elevationFilter:n.elevationFilter,boxShadow:n.boxShadow,easing:n.easing,typography:i.typographyVariantMap[p]},palette:{mode:d,primary:{main:a.purple[500]}},spacing:n.base,shape:{borderRadius:n.base,hotspot:{default:12,active:24}},breakpoints:{values:n.breakpoints},typography:{fontFamily:`"${r.fonts.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:i.typographyVariants(p),styleOverrides:{root:{color:o.semantic[d].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:t=>`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${t.custom.palette.body};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${r.fonts.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.Domaine.default.weight};\n src: url(${s}${r.fonts.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${r.fonts.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.Domaine.bold.weight};\n src: url(${s}${r.fonts.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${r.fonts.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.FoundersGrotesk.default.weight};\n src: url(${s}${r.fonts.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${r.fonts.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${r.fonts.FoundersGrotesk.bold.weight};\n src: url(${s}${r.fonts.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${n.breakpoints.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${n.breakpoints.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:t}})=>({color:t.palette.surface.overlay}),tooltip:({theme:{custom:t}})=>({backgroundColor:t.palette.surface.overlay,borderRadius:t.radius.md*n.base+"px",color:t.palette.text.primary,backdropFilter:"blur(0)",filter:t.elevationFilter.overlay,fontFamily:r.fonts.FoundersGrotesk.name,fontSize:t.typography.body.sm,fontWeight:400,padding:`${t.padding.sm*n.base}px ${t.padding.md*n.base}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:t}})=>({border:`1px solid ${t.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}},MuiPaper:{styleOverrides:{root:({theme:{custom:t}})=>({backgroundColor:t.palette.surface.default})}}}});
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Public asset CDN base. Assets live in the `useloops-public` GCS bucket,
3
+ * served via Cloud CDN. Objects are stored WITHOUT a `public/` prefix.
4
+ */
5
+ declare const CDN_BASE = "https://static.cdn.useloops.com";
6
+ /** Build a public CDN asset URL from a bucket key (leading slash optional). */
7
+ declare const cdnAsset: (key: string) => string;
8
+
9
+ export { CDN_BASE, cdnAsset };
@@ -0,0 +1 @@
1
+ "use strict";const s="https://static.cdn.useloops.com";exports.CDN_BASE=s,exports.cdnAsset=t=>`${s}/${t.replace(/^\//,"")}`;
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { BreakpointOrNull, useBreakpoint } from './utils/breakpoint.hook.js';
2
+ export { CDN_BASE, cdnAsset } from './utils/cdn.js';
2
3
  export { compareArrayMembers } from './utils/compareArrayMembers.js';
3
4
  export { isButton } from './utils/isButton.js';
4
5
  export { pluralise } from './utils/pluralise.js';
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("./utils/breakpoint.hook.js"),r=require("./utils/compareArrayMembers.js"),s=require("./utils/isButton.js"),o=require("./utils/pluralise.js"),u=require("./utils/screen.hook.js"),i=require("./utils/useKeyCombo.js"),t=require("./utils/usePrevious.js"),p=require("./utils/shouldForwardProp.js");exports.useBreakpoint=e.useBreakpoint,exports.compareArrayMembers=r.compareArrayMembers,exports.isButton=s.isButton,exports.pluralise=o.pluralise,exports.useScreenSize=u.useScreenSize,exports.useKeyCombo=i.useKeyCombo,exports.usePrevious=t.usePrevious,exports.omitProps=p.omitProps;
1
+ "use strict";var e=require("./utils/breakpoint.hook.js"),s=require("./utils/cdn.js"),r=require("./utils/compareArrayMembers.js"),o=require("./utils/isButton.js"),u=require("./utils/pluralise.js"),i=require("./utils/screen.hook.js"),t=require("./utils/useKeyCombo.js"),p=require("./utils/usePrevious.js"),l=require("./utils/shouldForwardProp.js");exports.useBreakpoint=e.useBreakpoint,exports.CDN_BASE=s.CDN_BASE,exports.cdnAsset=s.cdnAsset,exports.compareArrayMembers=r.compareArrayMembers,exports.isButton=o.isButton,exports.pluralise=u.pluralise,exports.useScreenSize=i.useScreenSize,exports.useKeyCombo=t.useKeyCombo,exports.usePrevious=p.usePrevious,exports.omitProps=l.omitProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useloops/design-system",
3
- "version": "1.4.681",
3
+ "version": "1.4.683",
4
4
  "description": "The official React based Loops design system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",