@rustic-ai/ui-components 1.0.6 → 2.0.0

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 (47) hide show
  1. package/dist/components/calendar/index.js +1 -1
  2. package/dist/components/codeSnippet/index.js +1 -1
  3. package/dist/components/dynamicForm/index.js +1 -1
  4. package/dist/components/elementRenderer/elementRenderer.d.ts +1 -1
  5. package/dist/components/elementRenderer/elementRenderer.d.ts.map +1 -1
  6. package/dist/components/elementRenderer/index.js +1 -1
  7. package/dist/components/helper.d.ts +1 -0
  8. package/dist/components/helper.d.ts.map +1 -1
  9. package/dist/components/icon/index.js +1 -1
  10. package/dist/components/image/index.js +1 -1
  11. package/dist/components/input/emoji/index.js +1 -1
  12. package/dist/components/input/multimodal/multimodalInput/index.js +1 -1
  13. package/dist/components/input/multimodal/uploader/index.js +1 -1
  14. package/dist/components/input/textInput/index.js +1 -1
  15. package/dist/components/map/index.js +1 -1
  16. package/dist/components/markdown/index.js +1 -1
  17. package/dist/components/markdown/markedMarkdown.d.ts.map +1 -1
  18. package/dist/components/media/audio/index.js +1 -1
  19. package/dist/components/media/video/index.js +1 -1
  20. package/dist/components/messageArchive/index.js +1 -1
  21. package/dist/components/messageCanvas/actions/copy/index.js +1 -1
  22. package/dist/components/messageCanvas/actions/index.js +1 -1
  23. package/dist/components/messageCanvas/actions/textToSpeech/index.js +1 -1
  24. package/dist/components/messageSpace/index.js +1 -1
  25. package/dist/components/multipart/chatCompletion/index.js +1 -1
  26. package/dist/components/multipart/multipart/index.js +1 -1
  27. package/dist/components/pdfViewer/index.js +1 -1
  28. package/dist/components/pdfViewer/pdfViewer.d.ts.map +1 -1
  29. package/dist/components/question/index.js +1 -1
  30. package/dist/components/table/index.js +1 -1
  31. package/dist/components/text/index.js +1 -1
  32. package/dist/components/text/text.d.ts.map +1 -1
  33. package/dist/components/types.d.ts +2 -2
  34. package/dist/components/types.d.ts.map +1 -1
  35. package/dist/components/visualization/mermaidViz/index.js +1 -1
  36. package/dist/components/visualization/perspectiveViz/index.js +1 -1
  37. package/dist/components/visualization/perspectiveViz/perspectiveInit.d.ts +1 -1
  38. package/dist/components/visualization/perspectiveViz/perspectiveInit.d.ts.map +1 -1
  39. package/dist/components/visualization/perspectiveViz/perspectiveViz.d.ts +28 -13
  40. package/dist/components/visualization/perspectiveViz/perspectiveViz.d.ts.map +1 -1
  41. package/dist/components/visualization/plotlyGraph/index.js +1 -1
  42. package/dist/components/visualization/vegaLiteViz/index.js +1 -1
  43. package/dist/components/visualization/vegaLiteViz/vegaLiteViz.d.ts.map +1 -1
  44. package/dist/components/weather/index.js +1 -1
  45. package/dist/index.js +1 -1
  46. package/dist/rusticTheme.js +1 -1
  47. package/package.json +104 -100
@@ -1 +1 @@
1
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["@rustic-ai/ui-components"]=r():e["@rustic-ai/ui-components"]=r()}(global,()=>(()=>{"use strict";var e={6182:e=>{e.exports=require("@mui/material/styles")}},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};t.r(o),t.d(o,{default:()=>h,generateTheme:()=>b,rusticDarkTheme:()=>x,rusticLightTheme:()=>y});var a=t(6182);const i=require("lodash");var n=t.n(i),c=function(){return c=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},c.apply(this,arguments)},l=function(e,r,t){if(t||2===arguments.length)for(var o,a=0,i=r.length;a<i;a++)!o&&a in r||(o||(o=Array.prototype.slice.call(r,0,a)),o[a]=r[a]);return e.concat(o||Array.prototype.slice.call(r))};function s(e){var r={};return Object.keys(e).forEach(function(t){var o=t.match(/^([a-z]+)([A-Z].*)$/);if(o){o[0];var a=o[1],i=o[2],c="".concat(a.toLowerCase(),".").concat(n().camelCase(i));n().set(r,c,e[t])}else n().set(r,t.toLowerCase(),e[t])}),r}var d={lightMode:{commonBlack:"#000000",commonWhite:"#FFFFFF",divider:"#E1D9D5",backgroundPaper:"#FFFFFF",backgroundDefault:"#F4F4F4",textPrimary:"#1E0C04",textSecondary:"#4E443F",textDisabled:"#727272",actionActive:"rgba(0, 0, 0, 0.56)",actionHover:"rgba(0, 0, 0, 0.08)",actionSelected:"rgba(0, 0, 0, 0.16)",actionFocus:"rgba(0, 0, 0, 0.12)",actionDisabledBackground:"rgba(0, 0, 0, 0.12)",actionDisabled:"rgba(0, 0, 0, 0.38)",primaryMain:"#2D2825",primaryLight:"rgba(45, 40, 37, 0.60)",primaryDark:"#000000",primaryContrastText:"#FFFFFF",primaryHover:"rgba(45, 40, 37, 0.08)",primarySelected:"rgba(45, 40, 37, 0.16)",primaryFocus:"rgba(45, 40, 37, 0.12)",primaryFocusVisible:"rgba(45, 40, 37, 0.30)",primaryOutlinedBorder:"rgba(45, 40, 37, 0.50)",secondaryMain:"#FF6928",secondaryDark:"#E54500",secondaryLight:"rgba(255, 105, 40, 0.60)",secondaryContrast:"#FFFFFF",secondaryHover:"rgba(255, 105, 40, 0.08)",secondarySelected:"rgba(255, 105, 40, 0.16)",secondaryFocus:"rgba(255, 105, 40, 0.12)",secondaryFocusVisible:"rgba(255, 105, 40, 0.30)",secondaryOutlinedBorder:"rgba(255, 105, 40, 0.50)",successMain:"#007F51",successDark:"#014F33",successLight:"#00D788",successContrastText:"#000000",errorMain:"#F82A43",errorDark:"#C82639",errorLight:"#FF9BA7",errorContrastText:"#000000",warningMain:"#FFB800",warningDark:"#DC8400",warningLight:"#FFDB7D",warningContrastText:"#000000",infoMain:"#0094FF",infoDark:"#005A9B",infoLight:"#8CCFFF",infoContrastText:"#000000"},darkMode:{commonBlack:"#000000",commonWhite:"#FFFFFF",divider:"#E1D9D5",backgroundPaper:"#202020",backgroundDefault:"#2C2C2C",textPrimary:"#FFFFFF",textSecondary:"rgba(255, 255, 255, 0.70)",textDisabled:"rgba(255, 255, 255, 0.38)",actionActive:"rgba(255, 255, 255, 0.60)",actionHover:"rgba(255, 255, 255, 0.30)",actionSelected:"rgba(255, 255, 255, 0.16)",actionFocus:"rgba(255, 255, 255, 0.12)",actionDisabledBackground:"rgba(255, 255, 255, 0.12)",actionDisabled:"rgba(255, 255, 255, 0.38)",primaryMain:"#FFFCFB",primaryLight:"rgba(255, 252, 251, 0.60)",primaryDark:"#FFFFFF",primaryContrastText:"rgba(0, 0, 0, 0.87)",primaryOutlinedBorder:"rgba(255, 252, 251, 0.50)",primaryFocus:"rgba(255, 252, 251, 0.12)",primaryFocusVisible:"rgba(255, 252, 251, 0.30)",primaryHover:"rgba(255, 252, 251, 0.08)",primarySelected:"rgba(255, 252, 251, 0.16)",secondaryMain:"#FF6928",secondaryDark:"#E54500",secondaryLight:"rgba(255, 105, 40, 0.60)",secondaryContrastText:"rgba(0, 0, 0, 0.87)",secondaryHover:"rgba(255, 105, 40, 0.08)",secondarySelected:"rgba(255, 105, 40, 0.16)",secondaryFocus:"rgba(255, 105, 40, 0.12)",secondaryFocusVisible:"rgba(255, 105, 40, 0.30)",secondaryOutlinedBorder:"rgba(255, 105, 40, 0.50)",successMain:"#00B775",successDark:"#01784D",successLight:"#00E390",successContrastText:"rgba(0, 0, 0, 0.87)",errorMain:"#F82A43",errorDark:"#C82639",errorLight:"#FF9BA7",errorContrastText:"rgba(0, 0, 0, 0.87)",warningMain:"#FFB800",warningDark:"#DC8400",warningLight:"#FFDB7D",warningContrastText:"rgba(0, 0, 0, 0.87)",infoMain:"#0094FF",infoDark:"#005A9B",infoLight:"#8CCFFF",infoContrastText:"rgba(0, 0, 0, 0.87)"}},g={fontSize:"12px",lineHeight:1.5,letterSpacing:"0.5px",padding:"0 12px",minHeight:"26px"},p={fontSize:"14px",lineHeight:1.43,letterSpacing:"0.25px",padding:"0 16px",minHeight:"40px"},u={fontSize:"16px",lineHeight:1.75,letterSpacing:"0.15px",padding:"0 24px",minHeight:"64px"};function b(e,r){var t="light"===e?r.lightMode:r.darkMode;return{shape:{borderRadius:16},typography:{fontFamily:"Inter",h1:{fontStyle:"normal",fontWeight:300,fontSize:"94px",lineHeight:1.167,letterSpacing:"-1.5px"},h2:{fontStyle:"normal",fontWeight:300,fontSize:"59px",letterSpacing:"-2px",lineHeight:1.2},h3:{fontStyle:"normal",fontWeight:400,fontSize:"47px",letterSpacing:"0px",lineHeight:1.167},h4:{fontStyle:"normal",fontWeight:400,fontSize:"33px",letterSpacing:"0px",lineHeight:1.235},h5:{fontStyle:"normal",fontWeight:400,fontSize:"24px",letterSpacing:"0px",lineHeight:1.334},h6:{fontStyle:"normal",fontWeight:500,fontSize:"20px",letterSpacing:"0px",lineHeight:1.6},body1:{fontStyle:"normal",fontWeight:400,fontSize:"16px",letterSpacing:"0px",lineHeight:1.5},body1Bold:{fontStyle:"normal",fontWeight:700,fontSize:"16px",letterSpacing:"0px",lineHeight:1.5},body2:{fontStyle:"normal",fontWeight:400,fontSize:"14px",letterSpacing:"0px",lineHeight:1.43},subtitle1:{fontStyle:"normal",fontWeight:400,fontSize:"16px",letterSpacing:"0px",lineHeight:1.75},subtitle2:{fontStyle:"normal",fontWeight:500,fontSize:"14px",letterSpacing:"0px",lineHeight:1.57},overline:{fontStyle:"normal",fontWeight:400,fontSize:"10px",letterSpacing:"0px",lineHeight:1.5,textTransform:"uppercase"},caption:{fontStyle:"normal",fontWeight:400,fontSize:"12px",letterSpacing:"0px",lineHeight:1.66},button:{textTransform:"none",fontWeight:700}},shadows:l([],(0,a.createTheme)({}).shadows.map(function(e,r){return 1===r?"0 4px 5px rgba(0, 0, 0, 0.05)":2===r?"0 4px 10px rgba(0, 0, 0, 0.1)":3===r?"0 4px 15px rgba(0, 0, 0, 0.15)":"none"}),!0),palette:c({mode:e},s(t)),components:{MuiTooltip:{styleOverrides:{tooltip:"light"===e?{backgroundColor:t.commonBlack,color:t.commonWhite}:{backgroundColor:t.commonWhite,color:t.commonBlack}}},MuiTableCell:{styleOverrides:{head:{backgroundColor:t.actionFocus},root:{borderBottom:"1px solid ".concat(t.divider),padding:"8px 16px"}}},MuiTableSortLabel:{styleOverrides:{root:{"&.Mui-active":{"& .MuiTableSortLabel-icon":{color:t.textPrimary}}}}},MuiPopover:{styleOverrides:{paper:{border:"1px solid ".concat(t.divider),backgroundImage:"none"}}},MuiButton:{styleOverrides:{root:{"&.MuiButton-sizeSmall":c({},g),"&.MuiButton-sizeMedium":c({borderRadius:"24px"},p),"&.MuiButton-sizeLarge":c({borderRadius:"32px"},u),"&.Mui-disabled":{background:t.backgroundPaper,color:t.textDisabled,border:"1px solid ".concat(t.actionDisabled)}},containedPrimary:{background:t.primaryMain,color:t.primaryContrastText,"&:hover":{background:t.primaryLight},"&:active":{background:t.primaryMain,outline:"2px solid ".concat(t.primaryLight)}},containedSecondary:{"&:hover":{background:t.secondaryLight},"&:active":{background:t.secondaryMain,outline:"2px solid ".concat(t.secondaryLight)}},outlinedSecondary:{color:t.textPrimary,"&:hover":{border:"1px solid ".concat(t.secondaryDark),background:t.secondaryFocus},"&:active":{outline:"2px solid ".concat(t.secondaryLight)}},textSecondary:{color:t.textPrimary,"&:hover":{background:t.secondaryFocus},"&.Mui-disabled":{border:"none"}}}},MuiChip:{styleOverrides:{root:{"& .MuiChip-icon":{margin:"0px 8px 0px 0px"},"& .MuiChip-label":{padding:0,display:"flex",alignItems:"center",gap:"8px"},"&.MuiChip-sizeSmall":c({},g),"&.MuiChip-sizeMedium":c({borderRadius:"24px"},p),"&.MuiChip-sizeLarge":c({borderRadius:"32px"},u),color:t.textPrimary,background:t.backgroundPaper,"&.Mui-disabled":{opacity:1,background:t.backgroundPaper,color:t.textDisabled,border:"1px solid ".concat(t.actionDisabled)}},colorPrimary:{border:"1px solid ".concat(t.textPrimary),"&:hover":{color:t.primaryContrastText},"&:active":{outline:"2px solid ".concat(t.primaryLight)}},colorSecondary:{border:"1px solid ".concat(t.secondaryMain),"&:hover":{color:t.primaryContrastText,background:t.secondaryMain},"&:active":{outline:"2px solid ".concat(t.secondaryLight)}}}}}}}var y=(0,a.createTheme)(b("light",d)),x=(0,a.createTheme)(b("dark",d));y=(0,a.responsiveFontSizes)(y),x=(0,a.responsiveFontSizes)(x);const h=y;return o})());
1
+ !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["@rustic-ai/ui-components"]=r():e["@rustic-ai/ui-components"]=r()}(global,()=>(()=>{"use strict";var e={6182(e){e.exports=require("@mui/material/styles")}},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};t.r(o),t.d(o,{default:()=>h,generateTheme:()=>b,rusticDarkTheme:()=>x,rusticLightTheme:()=>y});var a=t(6182);const i=require("lodash");var n=t.n(i),c=function(){return c=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},c.apply(this,arguments)},l=function(e,r,t){if(t||2===arguments.length)for(var o,a=0,i=r.length;a<i;a++)!o&&a in r||(o||(o=Array.prototype.slice.call(r,0,a)),o[a]=r[a]);return e.concat(o||Array.prototype.slice.call(r))};function s(e){var r={};return Object.keys(e).forEach(function(t){var o=t.match(/^([a-z]+)([A-Z].*)$/);if(o){o[0];var a=o[1],i=o[2],c="".concat(a.toLowerCase(),".").concat(n().camelCase(i));n().set(r,c,e[t])}else n().set(r,t.toLowerCase(),e[t])}),r}var d={lightMode:{commonBlack:"#000000",commonWhite:"#FFFFFF",divider:"#E1D9D5",backgroundPaper:"#FFFFFF",backgroundDefault:"#F4F4F4",textPrimary:"#1E0C04",textSecondary:"#4E443F",textDisabled:"#727272",actionActive:"rgba(0, 0, 0, 0.56)",actionHover:"rgba(0, 0, 0, 0.08)",actionSelected:"rgba(0, 0, 0, 0.16)",actionFocus:"rgba(0, 0, 0, 0.12)",actionDisabledBackground:"rgba(0, 0, 0, 0.12)",actionDisabled:"rgba(0, 0, 0, 0.38)",primaryMain:"#2D2825",primaryLight:"rgba(45, 40, 37, 0.60)",primaryDark:"#000000",primaryContrastText:"#FFFFFF",primaryHover:"rgba(45, 40, 37, 0.08)",primarySelected:"rgba(45, 40, 37, 0.16)",primaryFocus:"rgba(45, 40, 37, 0.12)",primaryFocusVisible:"rgba(45, 40, 37, 0.30)",primaryOutlinedBorder:"rgba(45, 40, 37, 0.50)",secondaryMain:"#FF6928",secondaryDark:"#E54500",secondaryLight:"rgba(255, 105, 40, 0.60)",secondaryContrast:"#FFFFFF",secondaryHover:"rgba(255, 105, 40, 0.08)",secondarySelected:"rgba(255, 105, 40, 0.16)",secondaryFocus:"rgba(255, 105, 40, 0.12)",secondaryFocusVisible:"rgba(255, 105, 40, 0.30)",secondaryOutlinedBorder:"rgba(255, 105, 40, 0.50)",successMain:"#007F51",successDark:"#014F33",successLight:"#00D788",successContrastText:"#000000",errorMain:"#F82A43",errorDark:"#C82639",errorLight:"#FF9BA7",errorContrastText:"#000000",warningMain:"#FFB800",warningDark:"#DC8400",warningLight:"#FFDB7D",warningContrastText:"#000000",infoMain:"#0094FF",infoDark:"#005A9B",infoLight:"#8CCFFF",infoContrastText:"#000000"},darkMode:{commonBlack:"#000000",commonWhite:"#FFFFFF",divider:"#E1D9D5",backgroundPaper:"#202020",backgroundDefault:"#2C2C2C",textPrimary:"#FFFFFF",textSecondary:"rgba(255, 255, 255, 0.70)",textDisabled:"rgba(255, 255, 255, 0.38)",actionActive:"rgba(255, 255, 255, 0.60)",actionHover:"rgba(255, 255, 255, 0.30)",actionSelected:"rgba(255, 255, 255, 0.16)",actionFocus:"rgba(255, 255, 255, 0.12)",actionDisabledBackground:"rgba(255, 255, 255, 0.12)",actionDisabled:"rgba(255, 255, 255, 0.38)",primaryMain:"#FFFCFB",primaryLight:"rgba(255, 252, 251, 0.60)",primaryDark:"#FFFFFF",primaryContrastText:"rgba(0, 0, 0, 0.87)",primaryOutlinedBorder:"rgba(255, 252, 251, 0.50)",primaryFocus:"rgba(255, 252, 251, 0.12)",primaryFocusVisible:"rgba(255, 252, 251, 0.30)",primaryHover:"rgba(255, 252, 251, 0.08)",primarySelected:"rgba(255, 252, 251, 0.16)",secondaryMain:"#FF6928",secondaryDark:"#E54500",secondaryLight:"rgba(255, 105, 40, 0.60)",secondaryContrastText:"rgba(0, 0, 0, 0.87)",secondaryHover:"rgba(255, 105, 40, 0.08)",secondarySelected:"rgba(255, 105, 40, 0.16)",secondaryFocus:"rgba(255, 105, 40, 0.12)",secondaryFocusVisible:"rgba(255, 105, 40, 0.30)",secondaryOutlinedBorder:"rgba(255, 105, 40, 0.50)",successMain:"#00B775",successDark:"#01784D",successLight:"#00E390",successContrastText:"rgba(0, 0, 0, 0.87)",errorMain:"#F82A43",errorDark:"#C82639",errorLight:"#FF9BA7",errorContrastText:"rgba(0, 0, 0, 0.87)",warningMain:"#FFB800",warningDark:"#DC8400",warningLight:"#FFDB7D",warningContrastText:"rgba(0, 0, 0, 0.87)",infoMain:"#0094FF",infoDark:"#005A9B",infoLight:"#8CCFFF",infoContrastText:"rgba(0, 0, 0, 0.87)"}},g={fontSize:"12px",lineHeight:1.5,letterSpacing:"0.5px",padding:"0 12px",minHeight:"26px"},p={fontSize:"14px",lineHeight:1.43,letterSpacing:"0.25px",padding:"0 16px",minHeight:"40px"},u={fontSize:"16px",lineHeight:1.75,letterSpacing:"0.15px",padding:"0 24px",minHeight:"64px"};function b(e,r){var t="light"===e?r.lightMode:r.darkMode;return{shape:{borderRadius:16},typography:{fontFamily:"Inter",h1:{fontStyle:"normal",fontWeight:300,fontSize:"94px",lineHeight:1.167,letterSpacing:"-1.5px"},h2:{fontStyle:"normal",fontWeight:300,fontSize:"59px",letterSpacing:"-2px",lineHeight:1.2},h3:{fontStyle:"normal",fontWeight:400,fontSize:"47px",letterSpacing:"0px",lineHeight:1.167},h4:{fontStyle:"normal",fontWeight:400,fontSize:"33px",letterSpacing:"0px",lineHeight:1.235},h5:{fontStyle:"normal",fontWeight:400,fontSize:"24px",letterSpacing:"0px",lineHeight:1.334},h6:{fontStyle:"normal",fontWeight:500,fontSize:"20px",letterSpacing:"0px",lineHeight:1.6},body1:{fontStyle:"normal",fontWeight:400,fontSize:"16px",letterSpacing:"0px",lineHeight:1.5},body1Bold:{fontStyle:"normal",fontWeight:700,fontSize:"16px",letterSpacing:"0px",lineHeight:1.5},body2:{fontStyle:"normal",fontWeight:400,fontSize:"14px",letterSpacing:"0px",lineHeight:1.43},subtitle1:{fontStyle:"normal",fontWeight:400,fontSize:"16px",letterSpacing:"0px",lineHeight:1.75},subtitle2:{fontStyle:"normal",fontWeight:500,fontSize:"14px",letterSpacing:"0px",lineHeight:1.57},overline:{fontStyle:"normal",fontWeight:400,fontSize:"10px",letterSpacing:"0px",lineHeight:1.5,textTransform:"uppercase"},caption:{fontStyle:"normal",fontWeight:400,fontSize:"12px",letterSpacing:"0px",lineHeight:1.66},button:{textTransform:"none",fontWeight:700}},shadows:l([],(0,a.createTheme)({}).shadows.map(function(e,r){return 1===r?"0 4px 5px rgba(0, 0, 0, 0.05)":2===r?"0 4px 10px rgba(0, 0, 0, 0.1)":3===r?"0 4px 15px rgba(0, 0, 0, 0.15)":"none"}),!0),palette:c({mode:e},s(t)),components:{MuiTooltip:{styleOverrides:{tooltip:"light"===e?{backgroundColor:t.commonBlack,color:t.commonWhite}:{backgroundColor:t.commonWhite,color:t.commonBlack}}},MuiTableCell:{styleOverrides:{head:{backgroundColor:t.actionFocus},root:{borderBottom:"1px solid ".concat(t.divider),padding:"8px 16px"}}},MuiTableSortLabel:{styleOverrides:{root:{"&.Mui-active":{"& .MuiTableSortLabel-icon":{color:t.textPrimary}}}}},MuiPopover:{styleOverrides:{paper:{border:"1px solid ".concat(t.divider),backgroundImage:"none"}}},MuiButton:{styleOverrides:{root:{"&.MuiButton-sizeSmall":c({},g),"&.MuiButton-sizeMedium":c({borderRadius:"24px"},p),"&.MuiButton-sizeLarge":c({borderRadius:"32px"},u),"&.Mui-disabled":{background:t.backgroundPaper,color:t.textDisabled,border:"1px solid ".concat(t.actionDisabled)}},containedPrimary:{background:t.primaryMain,color:t.primaryContrastText,"&:hover":{background:t.primaryLight},"&:active":{background:t.primaryMain,outline:"2px solid ".concat(t.primaryLight)}},containedSecondary:{"&:hover":{background:t.secondaryLight},"&:active":{background:t.secondaryMain,outline:"2px solid ".concat(t.secondaryLight)}},outlinedSecondary:{color:t.textPrimary,"&:hover":{border:"1px solid ".concat(t.secondaryDark),background:t.secondaryFocus},"&:active":{outline:"2px solid ".concat(t.secondaryLight)}},textSecondary:{color:t.textPrimary,"&:hover":{background:t.secondaryFocus},"&.Mui-disabled":{border:"none"}}}},MuiChip:{styleOverrides:{root:{"& .MuiChip-icon":{margin:"0px 8px 0px 0px"},"& .MuiChip-label":{padding:0,display:"flex",alignItems:"center",gap:"8px"},"&.MuiChip-sizeSmall":c({},g),"&.MuiChip-sizeMedium":c({borderRadius:"24px"},p),"&.MuiChip-sizeLarge":c({borderRadius:"32px"},u),color:t.textPrimary,background:t.backgroundPaper,"&.Mui-disabled":{opacity:1,background:t.backgroundPaper,color:t.textDisabled,border:"1px solid ".concat(t.actionDisabled)}},colorPrimary:{border:"1px solid ".concat(t.textPrimary),"&:hover":{color:t.primaryContrastText},"&:active":{outline:"2px solid ".concat(t.primaryLight)}},colorSecondary:{border:"1px solid ".concat(t.secondaryMain),"&:hover":{color:t.primaryContrastText,background:t.secondaryMain},"&:active":{outline:"2px solid ".concat(t.secondaryLight)}}}}}}}var y=(0,a.createTheme)(b("light",d)),x=(0,a.createTheme)(b("dark",d));y=(0,a.responsiveFontSizes)(y),x=(0,a.responsiveFontSizes)(x);const h=y;return o})());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rustic-ai/ui-components",
3
- "version": "1.0.6",
3
+ "version": "2.0.0",
4
4
  "keywords": [
5
5
  "rustic-ai",
6
6
  "conversational-ui"
@@ -25,122 +25,123 @@
25
25
  "./types": "./dist/components/types.d.ts"
26
26
  },
27
27
  "dependencies": {
28
- "@emotion/react": "11.11.1",
29
- "@emotion/styled": "11.11.0",
30
- "@mui/material": "6.1.8",
31
- "@mui/styled-engine-sc": "6.1.8",
32
- "@mui/system": "6.1.8",
33
- "axios": "1.12.0",
34
- "dompurify": "3.2.6",
35
- "marked": "16.3.0",
36
- "react": "18.3.1"
28
+ "@emotion/react": "11.14.0",
29
+ "@emotion/styled": "11.14.0",
30
+ "@mui/material": "^6.5.0",
31
+ "@mui/styled-engine-sc": "^6.4.9",
32
+ "@mui/system": "^6.5.0",
33
+ "axios": "^1.16.1",
34
+ "dompurify": "3.4.2",
35
+ "marked": "18.0.3",
36
+ "react": "^18.3.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@codemirror/language": "6.11.0",
40
- "@codemirror/language-data": "6.5.1",
41
- "@codemirror/state": "6.5.2",
42
- "@codemirror/theme-one-dark": "6.1.2",
43
- "@codemirror/view": "6.36.8",
44
- "@commitlint/cli": "18.4.2",
45
- "@commitlint/config-conventional": "18.4.2",
46
- "@eslint/eslintrc": "3.2.0",
47
- "@eslint/js": "9.17.0",
48
- "@finos/perspective": "3.7.1",
49
- "@finos/perspective-viewer": "3.7.1",
50
- "@finos/perspective-viewer-d3fc": "3.7.1",
51
- "@finos/perspective-viewer-datagrid": "3.7.1",
52
- "@fullcalendar/core": "6.1.17",
53
- "@fullcalendar/daygrid": "6.1.17",
54
- "@fullcalendar/react": "6.1.17",
55
- "@fullcalendar/timegrid": "6.1.17",
56
- "@mui/material": "6.1.8",
57
- "@mui/styled-engine-sc": "6.1.8",
58
- "@mui/system": "6.1.8",
59
- "@storybook/addon-links": "9.0.15",
60
- "@storybook/addon-webpack5-compiler-swc": "3.0.0",
61
- "@storybook/react-webpack5": "9.0.15",
62
- "@storybook/addon-docs": "9.0.15",
63
- "@types/dom-speech-recognition": "0.0.6",
64
- "@types/dompurify": "3.0.5",
65
- "@types/lodash": "4.17.15",
66
- "@types/node": "20.12.12",
39
+ "@codemirror/language": "6.12.3",
40
+ "@codemirror/language-data": "6.5.2",
41
+ "@codemirror/state": "6.6.0",
42
+ "@codemirror/theme-one-dark": "6.1.3",
43
+ "@codemirror/view": "6.42.1",
44
+ "@commitlint/cli": "21.0.0",
45
+ "@commitlint/config-conventional": "21.0.0",
46
+ "@eslint/eslintrc": "3.3.5",
47
+ "@eslint/js": "9.39.4",
48
+ "eslint": "9.39.4",
49
+ "@espoc/storybook-addon-mock": "^10.1.1",
50
+ "@perspective-dev/server": "4.4.1",
51
+ "@perspective-dev/client": "4.4.1",
52
+ "@perspective-dev/viewer": "4.4.1",
53
+ "@perspective-dev/viewer-d3fc": "4.4.1",
54
+ "@perspective-dev/viewer-datagrid": "4.4.1",
55
+ "@fullcalendar/core": "6.1.20",
56
+ "@fullcalendar/daygrid": "6.1.20",
57
+ "@fullcalendar/react": "6.1.20",
58
+ "@fullcalendar/timegrid": "6.1.20",
59
+ "@mui/material": "6.5.0",
60
+ "@mui/styled-engine-sc": "6.4.9",
61
+ "@mui/system": "6.5.0",
62
+ "@storybook/addon-docs": "10.4.0",
63
+ "@storybook/addon-links": "10.4.0",
64
+ "@storybook/addon-webpack5-compiler-swc": "4.0.3",
65
+ "@storybook/react-webpack5": "10.4.0",
66
+ "@types/dom-speech-recognition": "0.0.11",
67
+ "@types/lodash": "4.17.24",
68
+ "@types/node": "24.12.4",
67
69
  "@types/pluralize": "0.0.33",
68
- "@types/react": "18.2.37",
69
- "@types/react-dom": "18.2.15",
70
- "@types/react-plotly.js": "2.6.3",
71
- "@types/uuid": "9.0.7",
72
- "@typescript-eslint/eslint-plugin": "8.32.1",
73
- "@typescript-eslint/parser": "8.32.1",
70
+ "@types/react": "18.3.28",
71
+ "@types/react-dom": "18.3.7",
72
+ "@types/react-plotly.js": "2.6.4",
73
+ "@typescript-eslint/eslint-plugin": "8.59.3",
74
+ "@typescript-eslint/parser": "8.59.3",
74
75
  "commitizen": "4.3.1",
75
- "css-loader": "6.10.0",
76
- "cypress": "14.3.3",
77
- "cypress-intercept-formdata": "0.6.0",
78
- "cypress-real-events": "1.14.0",
76
+ "css-loader": "7.1.4",
77
+ "cypress": "15.15.0",
78
+ "cypress-intercept-formdata": "1.0.0",
79
+ "cypress-real-events": "1.15.0",
79
80
  "cz-conventional-changelog": "3.3.0",
80
81
  "emoji-picker-element": "1.26.3",
81
82
  "emoji-picker-element-data": "1.7.2",
82
- "eslint-config-prettier": "9.1.0",
83
- "eslint-plugin-cypress": "4.1.0",
83
+ "eslint-config-prettier": "10.1.8",
84
+ "eslint-plugin-cypress": "6.4.1",
84
85
  "eslint-plugin-mui-path-imports": "0.0.15",
85
- "eslint-plugin-react": "7.37.3",
86
- "eslint-plugin-simple-import-sort": "12.1.1",
87
- "eslint-plugin-storybook": "9.0.15",
88
- "eslint-plugin-unused-imports": "4.1.4",
86
+ "eslint-plugin-react": "7.37.5",
87
+ "eslint-plugin-simple-import-sort": "13.0.0",
88
+ "eslint-plugin-storybook": "10.3.6",
89
+ "eslint-plugin-unused-imports": "4.4.1",
89
90
  "husky": "9.1.7",
90
- "lint-staged": "16.2.3",
91
- "mermaid": "11.10.1",
92
- "mini-css-extract-plugin": "2.8.1",
91
+ "lint-staged": "16.4.0",
92
+ "mermaid": "11.15.0",
93
+ "mini-css-extract-plugin": "2.10.2",
93
94
  "mock-socket": "9.3.1",
94
- "ol": "10.5.0",
95
- "pdfjs-dist": "4.3.136",
96
- "playwright-webkit": "1.34.3",
97
- "plotly.js": "3.0.1",
95
+ "ol": "10.9.0",
96
+ "pdfjs-dist": "5.4.624",
97
+ "playwright-webkit": "1.60.0",
98
+ "plotly.js": "3.5.1",
98
99
  "pluralize": "8.0.0",
99
- "prettier": "3.2.5",
100
+ "prettier": "3.8.3",
100
101
  "prop-types": "15.8.1",
101
102
  "react-dom": "18.3.1",
102
103
  "react-plotly.js": "2.6.0",
103
- "storybook": "9.0.15",
104
- "storybook-addon-mock": "6.0.1",
105
- "style-loader": "3.3.4",
106
- "ts-loader": "9.5.2",
104
+ "storybook": "10.4.0",
105
+ "style-loader": "4.0.0",
106
+ "ts-loader": "9.5.7",
107
107
  "ts-node": "10.9.2",
108
108
  "typescript": "5.8.3",
109
109
  "uniforms": "4.0.0",
110
110
  "uniforms-bridge-json-schema": "4.0.0",
111
111
  "uniforms-mui": "4.0.0",
112
- "uuid": "11.1.0",
113
- "vega-embed": "7.0.2",
114
- "webpack": "5.94.0",
115
- "webpack-cli": "5.1.4",
112
+ "uuid": "14.0.0",
113
+ "vega-embed": "7.1.0",
114
+ "webpack": "5.106.2",
115
+ "webpack-cli": "7.0.2",
116
116
  "webpack-node-externals": "3.0.0"
117
117
  },
118
118
  "peerDependencies": {
119
- "@codemirror/language": "^6.11.0",
120
- "@codemirror/language-data": "^6.5.1",
121
- "@codemirror/state": "^6.5.2",
122
- "@codemirror/theme-one-dark": "^6.1.2",
123
- "@codemirror/view": "^6.36.8",
124
- "@finos/perspective": "^3.7.1",
125
- "@finos/perspective-viewer": "^3.7.1",
126
- "@finos/perspective-viewer-d3fc": "^3.7.1",
127
- "@finos/perspective-viewer-datagrid": "^3.7.1",
128
- "@fullcalendar/core": "^6.1.17",
129
- "@fullcalendar/daygrid": "^6.1.17",
130
- "@fullcalendar/react": "^6.1.17",
131
- "@fullcalendar/timegrid": "^6.1.17",
132
- "@mui/material": "^6.1.8",
133
- "@mui/styled-engine-sc": "^6.1.8",
134
- "@mui/system": "^6.1.8",
135
- "@types/react": "^18.2.37",
136
- "@types/react-dom": "^18.2.15",
137
- "axios": "^1.9.0",
119
+ "@codemirror/language": "^6.12.3",
120
+ "@codemirror/language-data": "^6.5.2",
121
+ "@codemirror/state": "^6.6.0",
122
+ "@codemirror/theme-one-dark": "^6.1.3",
123
+ "@codemirror/view": "^6.42.1",
124
+ "@perspective-dev/server": "^4.4.1",
125
+ "@perspective-dev/client": "^4.4.1",
126
+ "@perspective-dev/viewer": "^4.4.1",
127
+ "@perspective-dev/viewer-d3fc": "^4.4.1",
128
+ "@perspective-dev/viewer-datagrid": "^4.4.1",
129
+ "@fullcalendar/core": "^6.1.20",
130
+ "@fullcalendar/daygrid": "^6.1.20",
131
+ "@fullcalendar/react": "^6.1.20",
132
+ "@fullcalendar/timegrid": "^6.1.20",
133
+ "@mui/material": "^6.5.0",
134
+ "@mui/styled-engine-sc": "^6.4.9",
135
+ "@mui/system": "^6.5.0",
136
+ "@types/react": "^18.3.28",
137
+ "@types/react-dom": "^18.3.7",
138
+ "axios": "^1.16.0",
138
139
  "emoji-picker-element": "^1.26.3",
139
140
  "emoji-picker-element-data": "^1.7.2",
140
- "mermaid": "^11.10.1",
141
- "ol": "^10.5.0",
142
- "pdfjs-dist": "^4.3.136",
143
- "plotly.js": "^3.0.1",
141
+ "mermaid": "^11.15.0",
142
+ "ol": "^10.9.0",
143
+ "pdfjs-dist": "^5.4.624",
144
+ "plotly.js": "^3.5.1",
144
145
  "pluralize": "^8.0.0",
145
146
  "react": "^18.3.1",
146
147
  "react-dom": "^18.3.1",
@@ -148,8 +149,8 @@
148
149
  "uniforms": "^4.0.0",
149
150
  "uniforms-bridge-json-schema": "^4.0.0",
150
151
  "uniforms-mui": "^4.0.0",
151
- "uuid": "^11.1.0",
152
- "vega-embed": "^7.0.2"
152
+ "uuid": "^14.0.0",
153
+ "vega-embed": "^7.1.0"
153
154
  },
154
155
  "peerDependenciesMeta": {
155
156
  "@codemirror/language": {
@@ -167,16 +168,19 @@
167
168
  "@codemirror/view": {
168
169
  "optional": true
169
170
  },
170
- "@finos/perspective": {
171
+ "@perspective-dev/client": {
171
172
  "optional": true
172
173
  },
173
- "@finos/perspective-viewer": {
174
+ "@perspective-dev/server": {
174
175
  "optional": true
175
176
  },
176
- "@finos/perspective-viewer-d3fc": {
177
+ "@perspective-dev/viewer": {
177
178
  "optional": true
178
179
  },
179
- "@finos/perspective-viewer-datagrid": {
180
+ "@perspective-dev/viewer-d3fc": {
181
+ "optional": true
182
+ },
183
+ "@perspective-dev/viewer-datagrid": {
180
184
  "optional": true
181
185
  },
182
186
  "@fullcalendar/core": {
@@ -272,4 +276,4 @@
272
276
  "@commitlint/config-conventional"
273
277
  ]
274
278
  }
275
- }
279
+ }