@rustic-ai/ui-components 0.0.19 → 0.0.20
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/components/calendar/fCCalendar.d.ts +8 -2
- package/dist/components/calendar/fCCalendar.d.ts.map +1 -1
- package/dist/components/calendar/index.css +21 -0
- package/dist/components/calendar/index.d.ts +5 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/calendar/index.js +1 -0
- package/dist/components/codeSnippet/index.css +14 -0
- package/dist/components/codeSnippet/index.d.ts +5 -0
- package/dist/components/codeSnippet/index.d.ts.map +1 -0
- package/dist/components/codeSnippet/index.js +1 -0
- package/dist/components/elementRenderer/index.d.ts +3 -0
- package/dist/components/elementRenderer/index.d.ts.map +1 -0
- package/dist/components/elementRenderer/index.js +1 -0
- package/dist/components/image/index.css +43 -0
- package/dist/components/image/index.d.ts +5 -0
- package/dist/components/image/index.d.ts.map +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input/baseInput/baseInput.d.ts.map +1 -1
- package/dist/components/input/emoji/index.css +16 -0
- package/dist/components/input/emoji/index.d.ts +4 -0
- package/dist/components/input/emoji/index.d.ts.map +1 -0
- package/dist/components/input/emoji/index.js +1 -0
- package/dist/components/input/multimodal/multimodalInput/index.css +227 -0
- package/dist/components/input/multimodal/multimodalInput/index.d.ts +5 -0
- package/dist/components/input/multimodal/multimodalInput/index.d.ts.map +1 -0
- package/dist/components/input/multimodal/multimodalInput/index.js +1 -0
- package/dist/components/input/multimodal/multimodalInput/multimodalInput.d.ts +8 -1
- package/dist/components/input/multimodal/multimodalInput/multimodalInput.d.ts.map +1 -1
- package/dist/components/input/multimodal/uploader/index.css +145 -0
- package/dist/components/input/multimodal/uploader/index.d.ts +5 -0
- package/dist/components/input/multimodal/uploader/index.d.ts.map +1 -0
- package/dist/components/input/multimodal/uploader/index.js +1 -0
- package/dist/components/input/textInput/index.css +57 -0
- package/dist/components/input/textInput/index.d.ts +4 -0
- package/dist/components/input/textInput/index.d.ts.map +1 -0
- package/dist/components/input/textInput/index.js +1 -0
- package/dist/components/input/textInput/textInput.d.ts +0 -3
- package/dist/components/input/textInput/textInput.d.ts.map +1 -1
- package/dist/components/map/index.css +13 -0
- package/dist/components/map/index.d.ts +5 -0
- package/dist/components/map/index.d.ts.map +1 -0
- package/dist/components/map/index.js +1 -0
- package/dist/components/map/openLayersMap.d.ts +6 -1
- package/dist/components/map/openLayersMap.d.ts.map +1 -1
- package/dist/components/markdown/index.d.ts +6 -0
- package/dist/components/markdown/index.d.ts.map +1 -0
- package/dist/components/markdown/index.js +1 -0
- package/dist/components/markdown/markedMarkdown.d.ts +7 -1
- package/dist/components/markdown/markedMarkdown.d.ts.map +1 -1
- package/dist/components/media/audio/index.css +182 -0
- package/dist/components/media/audio/index.d.ts +5 -0
- package/dist/components/media/audio/index.d.ts.map +1 -0
- package/dist/components/media/audio/index.js +1 -0
- package/dist/components/media/video/index.css +225 -0
- package/dist/components/media/video/index.d.ts +5 -0
- package/dist/components/media/video/index.d.ts.map +1 -0
- package/dist/components/media/video/index.js +1 -0
- package/dist/components/menu/index.css +26 -0
- package/dist/components/menu/index.d.ts +4 -0
- package/dist/components/menu/index.d.ts.map +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/messageCanvas/actions/action.d.ts +12 -0
- package/dist/components/messageCanvas/actions/action.d.ts.map +1 -0
- package/dist/components/messageCanvas/actions/copy/index.css +8 -0
- package/dist/components/messageCanvas/actions/copy/index.d.ts +3 -0
- package/dist/components/messageCanvas/actions/copy/index.d.ts.map +1 -0
- package/dist/components/messageCanvas/actions/copy/index.js +1 -0
- package/dist/components/messageCanvas/actions/index.css +4 -0
- package/dist/components/messageCanvas/actions/index.d.ts +4 -11
- package/dist/components/messageCanvas/actions/index.d.ts.map +1 -1
- package/dist/components/messageCanvas/actions/index.js +1 -0
- package/dist/components/messageCanvas/actions/textToSpeech/index.css +8 -0
- package/dist/components/messageCanvas/actions/textToSpeech/index.d.ts +3 -0
- package/dist/components/messageCanvas/actions/textToSpeech/index.d.ts.map +1 -0
- package/dist/components/messageCanvas/actions/textToSpeech/index.js +1 -0
- package/dist/components/messageCanvas/actions/textToSpeech/textToSpeech.d.ts.map +1 -1
- package/dist/components/messageCanvas/index.css +39 -0
- package/dist/components/messageCanvas/index.d.ts +4 -0
- package/dist/components/messageCanvas/index.d.ts.map +1 -0
- package/dist/components/messageCanvas/index.js +1 -0
- package/dist/components/messageSpace/index.css +63 -0
- package/dist/components/messageSpace/index.d.ts +4 -0
- package/dist/components/messageSpace/index.d.ts.map +1 -0
- package/dist/components/messageSpace/index.js +1 -0
- package/dist/components/messageSpace/messageSpace.d.ts.map +1 -1
- package/dist/components/multipart/index.css +134 -0
- package/dist/components/multipart/index.d.ts +5 -0
- package/dist/components/multipart/index.d.ts.map +1 -0
- package/dist/components/multipart/index.js +1 -0
- package/dist/components/participantsContainer/index.css +42 -0
- package/dist/components/participantsContainer/index.d.ts +4 -0
- package/dist/components/participantsContainer/index.d.ts.map +1 -0
- package/dist/components/participantsContainer/index.js +1 -0
- package/dist/components/pdfViewer/index.css +60 -0
- package/dist/components/pdfViewer/index.d.ts +5 -0
- package/dist/components/pdfViewer/index.d.ts.map +1 -0
- package/dist/components/pdfViewer/index.js +1 -0
- package/dist/components/pdfViewer/pdfViewer.d.ts +4 -0
- package/dist/components/pdfViewer/pdfViewer.d.ts.map +1 -1
- package/dist/components/promptBuilder/index.css +96 -0
- package/dist/components/promptBuilder/index.d.ts +5 -0
- package/dist/components/promptBuilder/index.d.ts.map +1 -0
- package/dist/components/promptBuilder/index.js +1 -0
- package/dist/components/promptBuilder/mockWebSocket.d.ts +5 -0
- package/dist/components/promptBuilder/mockWebSocket.d.ts.map +1 -0
- package/dist/components/promptBuilder/promptBuilder.d.ts +24 -0
- package/dist/components/promptBuilder/promptBuilder.d.ts.map +1 -0
- package/dist/components/question/index.css +14 -0
- package/dist/components/question/index.d.ts +5 -0
- package/dist/components/question/index.d.ts.map +1 -0
- package/dist/components/question/index.js +1 -0
- package/dist/components/question/question.d.ts +7 -1
- package/dist/components/question/question.d.ts.map +1 -1
- package/dist/components/table/index.css +43 -0
- package/dist/components/table/index.d.ts +5 -0
- package/dist/components/table/index.d.ts.map +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/text/index.css +5 -0
- package/dist/components/text/index.d.ts +7 -0
- package/dist/components/text/index.d.ts.map +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/text/text.d.ts +7 -1
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/timestamp/index.d.ts +3 -0
- package/dist/components/timestamp/index.d.ts.map +1 -0
- package/dist/components/types.d.ts +17 -31
- package/dist/components/types.d.ts.map +1 -1
- package/dist/components/video/index.css +34 -0
- package/dist/components/video/index.d.ts +3 -0
- package/dist/components/video/index.d.ts.map +1 -0
- package/dist/components/video/index.js +1 -0
- package/dist/components/video/youtubeVideo.d.ts +8 -1
- package/dist/components/video/youtubeVideo.d.ts.map +1 -1
- package/dist/components/visualization/chart/index.css +44 -0
- package/dist/components/visualization/chart/index.d.ts +4 -0
- package/dist/components/visualization/chart/index.d.ts.map +1 -0
- package/dist/components/visualization/chart/index.js +1 -0
- package/dist/components/visualization/chart/rechartsTimeSeries.d.ts +8 -1
- package/dist/components/visualization/chart/rechartsTimeSeries.d.ts.map +1 -1
- package/dist/components/visualization/mermaidViz/index.css +21 -0
- package/dist/components/visualization/mermaidViz/index.d.ts +5 -0
- package/dist/components/visualization/mermaidViz/index.d.ts.map +1 -0
- package/dist/components/visualization/mermaidViz/index.js +1 -0
- package/dist/components/visualization/mermaidViz/mermaidViz.d.ts +9 -2
- package/dist/components/visualization/mermaidViz/mermaidViz.d.ts.map +1 -1
- package/dist/components/visualization/mermaidViz/mermaidViz.types.d.ts +10 -0
- package/dist/components/visualization/mermaidViz/mermaidViz.types.d.ts.map +1 -0
- package/dist/components/visualization/perspectiveViz/index.css +16 -0
- package/dist/components/visualization/perspectiveViz/index.d.ts +5 -0
- package/dist/components/visualization/perspectiveViz/index.d.ts.map +1 -0
- package/dist/components/visualization/perspectiveViz/index.js +1 -0
- package/dist/components/visualization/perspectiveViz/perspectiveViz.d.ts +7 -4
- package/dist/components/visualization/perspectiveViz/perspectiveViz.d.ts.map +1 -1
- package/dist/components/visualization/vegaLiteViz/index.css +45 -0
- package/dist/components/visualization/vegaLiteViz/index.d.ts +5 -0
- package/dist/components/visualization/vegaLiteViz/index.d.ts.map +1 -0
- package/dist/components/visualization/vegaLiteViz/index.js +1 -0
- package/dist/components/visualization/vegaLiteViz/vegaLiteViz.d.ts +9 -2
- package/dist/components/visualization/vegaLiteViz/vegaLiteViz.d.ts.map +1 -1
- package/dist/components/visualization/vegaLiteViz/vegaLiteViz.types.d.ts +20 -0
- package/dist/components/visualization/vegaLiteViz/vegaLiteViz.types.d.ts.map +1 -0
- package/dist/components/weather/index.css +77 -0
- package/dist/components/weather/index.d.ts +5 -0
- package/dist/components/weather/index.d.ts.map +1 -0
- package/dist/components/weather/index.js +1 -0
- package/dist/index.css +62 -0
- package/dist/index.js +1 -2
- package/dist/rusticTheme.d.ts +29 -0
- package/dist/rusticTheme.d.ts.map +1 -1
- package/dist/rusticTheme.js +1 -0
- package/package.json +123 -22
- package/dist/index.js.LICENSE.txt +0 -1
package/dist/rusticTheme.d.ts
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
import type { Palette, PaletteColor } from '@mui/material/styles';
|
|
2
|
+
interface CustomPaletteColor {
|
|
3
|
+
focus?: string;
|
|
4
|
+
hover?: string;
|
|
5
|
+
selected?: string;
|
|
6
|
+
focusVisible?: string;
|
|
7
|
+
border?: string;
|
|
8
|
+
}
|
|
9
|
+
declare module '@mui/material/styles' {
|
|
10
|
+
interface RusticPalette extends Palette {
|
|
11
|
+
primary: PaletteColor & CustomPaletteColor;
|
|
12
|
+
secondary: PaletteColor & CustomPaletteColor;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
declare module '@mui/material/Button' {
|
|
16
|
+
interface ButtonPropsVariantOverrides {
|
|
17
|
+
rusticPrimary: true;
|
|
18
|
+
rusticSecondary: true;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
declare module '@mui/material/Chip' {
|
|
22
|
+
interface ChipPropsVariantOverrides {
|
|
23
|
+
rusticPrimary: true;
|
|
24
|
+
rusticSecondary: true;
|
|
25
|
+
}
|
|
26
|
+
interface ChipPropsSizeOverrides {
|
|
27
|
+
large: true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
1
30
|
declare let rusticLightTheme: import("@mui/material/styles").Theme;
|
|
2
31
|
declare let rusticDarkTheme: import("@mui/material/styles").Theme;
|
|
3
32
|
export default rusticLightTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rusticTheme.d.ts","sourceRoot":"","sources":["../src/rusticTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rusticTheme.d.ts","sourceRoot":"","sources":["../src/rusticTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAW,MAAM,sBAAsB,CAAA;AAW1E,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAiB,aAAc,SAAQ,OAAO;QAC5C,OAAO,EAAE,YAAY,GAAG,kBAAkB,CAAA;QAC1C,SAAS,EAAE,YAAY,GAAG,kBAAkB,CAAA;KAC7C;CACF;AAED,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,2BAA2B;QACnC,aAAa,EAAE,IAAI,CAAA;QACnB,eAAe,EAAE,IAAI,CAAA;KACtB;CACF;AAED,OAAO,QAAQ,oBAAoB,CAAC;IAClC,UAAU,yBAAyB;QACjC,aAAa,EAAE,IAAI,CAAA;QACnB,eAAe,EAAE,IAAI,CAAA;KACtB;IACD,UAAU,sBAAsB;QAC9B,KAAK,EAAE,IAAI,CAAA;KACZ;CACF;AA4QD,QAAA,IAAI,gBAAgB,sCAqOnB,CAAA;AAgGD,QAAA,IAAI,eAAe,sCAqOlB,CAAA;AAID,eAAe,gBAAgB,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(r,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@rustic-ai/ui-components"]=e():r["@rustic-ai/ui-components"]=e()}(global,(()=>(()=>{"use strict";var r={442:r=>{r.exports=require("@mui/material/styles")}},e={};function o(t){var i=e[t];if(void 0!==i)return i.exports;var a=e[t]={exports:{}};return r[t](a,a.exports,o),a.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),o.r=r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var t={};return(()=>{o.r(t),o.d(t,{default:()=>$,rusticDarkTheme:()=>Z,rusticLightTheme:()=>O});var r=o(442);const e=require("@mui/utils");var i=function(){return i=Object.assign||function(r){for(var e,o=1,t=arguments.length;o<t;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},i.apply(this,arguments)},a="#000000",n="#FFFFFF",s="#FF6928",c="#E54500",d="#FF692899",p="#FF69284D",l=(0,r.createTheme)({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:"-0.5px",lineHeight:1.2},h3:{fontStyle:"normal",fontWeight:400,fontSize:"47px",letterSpacing:"0px",lineHeight:1.167},h4:{fontStyle:"normal",fontWeight:400,fontSize:"33px",letterSpacing:"0.25px",lineHeight:1.235},h5:{fontStyle:"normal",fontWeight:400,fontSize:"24px",letterSpacing:"0px",lineHeight:1.334},h6:{fontStyle:"normal",fontWeight:500,fontSize:"20px",letterSpacing:"0.15px",lineHeight:1.6},body1:{fontStyle:"normal",fontWeight:400,fontSize:"16px",letterSpacing:"0.5px",lineHeight:1.5},body2:{fontStyle:"normal",fontWeight:400,fontSize:"14px",letterSpacing:"0.25px",lineHeight:1.43},subtitle1:{fontStyle:"normal",fontWeight:400,fontSize:"16px",letterSpacing:"0.15px",lineHeight:1.75},subtitle2:{fontStyle:"normal",fontWeight:500,fontSize:"14px",letterSpacing:"0.1px",lineHeight:1.57},overline:{fontStyle:"normal",fontWeight:400,fontSize:"10px",letterSpacing:"1.5px",lineHeight:1.5,textTransform:"uppercase"},caption:{fontStyle:"normal",fontWeight:400,fontSize:"12px",letterSpacing:"0.4px",lineHeight:1.66},button:{textTransform:"none"}},palette:{common:{black:a,white:n},error:{main:"#F82A43",dark:"#C82639",light:"#FF9BA7"},warning:{main:"#FFB800",dark:"#DC8400",light:"#FFDB7D"},info:{main:"#0094FF",dark:"#005A9B",light:"#8CCFFF"}},shadows:function(r,e,o){if(o||2===arguments.length)for(var t,i=0,a=e.length;i<a;i++)!t&&i in e||(t||(t=Array.prototype.slice.call(e,0,i)),t[i]=e[i]);return r.concat(t||Array.prototype.slice.call(e))}([],(0,r.createTheme)({}).shadows.map((function(r,e){return 1===e?"0 4px 5px rgba(0, 0, 0, 0.05)":2===e?"0 4px 10px rgba(0, 0, 0, 0.1)":3===e?"0 4px 15px rgba(0, 0, 0, 0.15)":"none"})),!0)}),u={fontSize:"12px",lineHeight:1.5,letterSpacing:"0.5px",padding:"0 12px",minHeight:"26px"},b={fontSize:"14px",lineHeight:1.43,letterSpacing:"0.25px",padding:"0 16px",minHeight:"40px"},x={fontSize:"16px",lineHeight:1.75,letterSpacing:"0.15px",padding:"0 24px",minHeight:"64px"},g="#E1D9D5",F="#0000001F",y="#2D2825",m="#2D282599",h="#1E0C04",f="#9C9795",v="#00000061",S="#2D282514",k="#2D28251F",z="#2D28254D",M="#2D282580",C={fontWeight:700},T={"&.Mui-disabled":{background:n,color:f,border:"1px solid ".concat(v)}},R=i(i(i({},C),{background:y,color:n,"&:hover":{background:m},"&:focus":{border:"4px solid ".concat(m)}}),T),D=i(i(i({},C),{background:n,color:h,border:"1px solid ".concat(m),"&:focus":{border:"4px solid ".concat(m)}}),T),P={fontWeight:400,"& .MuiChip-label":{padding:0,display:"flex",alignItems:"center",gap:"8px"}},B=i({background:z,color:h,border:"1px solid ".concat(M),"&:hover":{border:"1px solid ".concat(M),background:S},"&:focus":{border:"3px solid ".concat(M),background:k},"&.Mui-disabled":{background:v,opacity:100,border:"none",color:n,"& .MuiChip-icon":{color:n}},"& .MuiChip-icon":{margin:"0px 8px 0px 0px",color:h}},P),H=i({background:n,color:h,border:"1px solid ".concat(d),"&:focus":{border:"4px solid ".concat(d)},"&.Mui-disabled":{border:"1px solid ".concat(d),background:n,color:d,opacity:100},"& .MuiChip-icon":{margin:"0px 8px 0px 0px",color:h}},P),O=(0,r.createTheme)((0,e.deepmerge)(l,{palette:{mode:"light",divider:g,text:{primary:h,secondary:"#4E443F",disabled:f},primary:{main:y,dark:a,light:m,contrastText:n,focus:k,focusVisible:z,hover:S,selected:"#2D282529",border:M},secondary:{main:s,light:d,dark:c,contrastText:n,focus:"#FF69281F",focusVisible:p,hover:"#FF692814",selected:"#FF692829",border:"#FF692880"},background:{default:"#F7F6F5",paper:n},action:{active:"#0000008F",hover:"#00000014",selected:"#00000029",disabledBackground:F,focus:F,disabled:v},success:{main:"#007F51",dark:"#014F33",light:"#00D788",contrastText:n},error:{contrastText:n},warning:{contrastText:n},info:{contrastText:n}},components:{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:y,color:n}}},MuiTableCell:{styleOverrides:{head:{backgroundColor:F},root:{borderBottom:"1px solid ".concat(g),padding:"8px 16px"}}},MuiTableSortLabel:{styleOverrides:{root:{"&.Mui-active":{"& .MuiTableSortLabel-icon":{color:h}}}}},MuiPopover:{styleOverrides:{paper:{border:"1px solid ".concat(g),backgroundImage:"none"}}},MuiButton:{variants:[{props:{variant:"rusticPrimary",size:"small"},style:i(i({borderRadius:"8px"},u),R)},{props:{variant:"rusticPrimary",size:"medium"},style:i(i({borderRadius:"12px"},b),R)},{props:{variant:"rusticPrimary",size:"large"},style:i(i({borderRadius:"16px"},x),R)},{props:{variant:"rusticSecondary",size:"small"},style:i(i({borderRadius:"8px","&:hover":{border:"1px solid ".concat(a),background:n}},u),D)},{props:{variant:"rusticSecondary",size:"medium"},style:i(i({borderRadius:"12px","&:hover":{border:"2px solid ".concat(a),background:n}},b),D)},{props:{variant:"rusticSecondary",size:"large"},style:i(i({borderRadius:"16px","&:hover":{border:"2px solid ".concat(a),background:n}},x),D)}]},MuiChip:{variants:[{props:{variant:"rusticPrimary",size:"small"},style:i(i({borderRadius:"24px"},u),B)},{props:{variant:"rusticPrimary",size:"medium"},style:i(i({borderRadius:"32px"},b),B)},{props:{variant:"rusticPrimary",size:"large"},style:i(i({borderRadius:"48px"},x),B)},{props:{variant:"rusticSecondary",size:"small"},style:i(i({borderRadius:"24px","&:hover":{border:"1px solid ".concat(s),background:n}},u),H)},{props:{variant:"rusticSecondary",size:"medium"},style:i(i({borderRadius:"32px","&:hover":{border:"2px solid ".concat(s),background:n}},b),H)},{props:{variant:"rusticSecondary",size:"large"},style:i(i({borderRadius:"48px","&:hover":{border:"2px solid ".concat(s),background:n}},x),H)}]}}})),W="#FFFFFF61",j="#FFFFFF1F",w="#E1D9D5",E="#202020",A="#FFFCFB",L="#FFFCFB99",I="#000000DE",V="#FFFFFF61",q="#FF692880",_="#FFFCFB1F",G="#FFFCFB4D",J="#FFFCFB14",K="#FFFFFF4D",N={"&.Mui-disabled":{background:K,color:W,border:"1px solid ".concat(V)}},Q=i(i(i({},C),{background:A,color:a,"&:hover":{background:L},"&:focus":{border:"4px solid ".concat(L)}}),N),U=i(i(i({},C),{background:E,color:n,border:"1px solid ".concat(L),"&:focus":{border:"4px solid ".concat(L)}}),N),X=i(i({background:G,color:n,border:"1px solid ".concat(q),"&:hover":{border:"1px solid ".concat(q),background:J},"&:focus":{border:"4px solid ".concat(L),background:_},"&.Mui-disabled":{background:V,opacity:100,border:"none",color:I,"& .MuiChip-icon":{color:I}}},P),{"& .MuiChip-icon":{margin:"0px 8px 0px 0px",color:n}}),Y=i({background:E,color:n,border:"1px solid ".concat(d),"&:focus":{border:"4px solid ".concat(d)},"&.Mui-disabled":{background:E,color:d,border:"1px solid ".concat(d),opacity:100},"& .MuiChip-icon":{margin:"0px 8px 0px 0px",color:n}},P),Z=(0,r.createTheme)((0,e.deepmerge)(l,{palette:{mode:"dark",divider:w,primary:{main:A,dark:n,light:L,contrastText:I,hover:J,selected:"#FFFCFB29",focus:_,focusVisible:G,border:q},secondary:{main:s,light:d,dark:c,contrastText:I,hover:"#FF692814",selected:"#FF692829",focus:"#FF69281F",focusVisible:p,border:"#FF692880"},background:{default:"#2C2C2C",paper:E},text:{primary:n,secondary:"#FFFFFFB2",disabled:W},action:{active:K,hover:K,selected:"#FFFFFF29",focus:j,disabledBackground:j,disabled:V},success:{main:"#00B775",dark:"#01784D",light:"#00E390",contrastText:I},error:{contrastText:I},warning:{contrastText:I},info:{contrastText:I}},components:{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:A,color:a}}},MuiTableSortLabel:{styleOverrides:{root:{"&.Mui-active":{"& .MuiTableSortLabel-icon":{color:n}}}}},MuiTableCell:{styleOverrides:{head:{backgroundColor:j},root:{borderBottom:"1px solid ".concat(w),padding:"8px 16px"}}},MuiPopover:{styleOverrides:{paper:{border:"1px solid ".concat(w),backgroundImage:"none"}}},MuiChip:{variants:[{props:{variant:"rusticPrimary",size:"small"},style:i(i({borderRadius:"24px"},u),X)},{props:{variant:"rusticPrimary",size:"medium"},style:i(i({borderRadius:"32px"},b),X)},{props:{variant:"rusticPrimary",size:"large"},style:i(i({borderRadius:"48px"},x),X)},{props:{variant:"rusticSecondary",size:"small"},style:i(i({borderRadius:"24px","&:hover":{background:E,border:"1px solid ".concat(s)}},u),Y)},{props:{variant:"rusticSecondary",size:"medium"},style:i(i({borderRadius:"32px","&:hover":{background:E,border:"2px solid ".concat(s)}},b),Y)},{props:{variant:"rusticSecondary",size:"large"},style:i(i({borderRadius:"48px","&:hover":{background:E,border:"2px solid ".concat(s)}},x),Y)}]},MuiButton:{variants:[{props:{variant:"rusticPrimary",size:"small"},style:i(i({borderRadius:"8px"},u),Q)},{props:{variant:"rusticPrimary",size:"medium"},style:i(i({borderRadius:"12px"},b),Q)},{props:{variant:"rusticPrimary",size:"large"},style:i(i({borderRadius:"16px"},x),Q)},{props:{variant:"rusticSecondary",size:"small"},style:i(i({borderRadius:"8px","&:hover":{background:E,border:"1px solid ".concat(n)}},u),U)},{props:{variant:"rusticSecondary",size:"medium"},style:i(i({borderRadius:"12px","&:hover":{background:E,border:"2px solid ".concat(n)}},b),U)},{props:{variant:"rusticSecondary",size:"large"},style:i(i({borderRadius:"16px","&:hover":{background:E,border:"2px solid ".concat(n)}},x),U)}]}}}));O=(0,r.responsiveFontSizes)(O),Z=(0,r.responsiveFontSizes)(Z);const $=O})(),t})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rustic-ai/ui-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"rustic-ai",
|
|
6
6
|
"conversational-ui"
|
|
@@ -12,14 +12,35 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
|
+
"exports": {
|
|
16
|
+
".": "./dist/index.js",
|
|
17
|
+
"./*": "./dist/components/*/index.js",
|
|
18
|
+
"./*/*": "./dist/components/*/*/index.js",
|
|
19
|
+
"./*/*/*": "./dist/components/*/*/*/index.js",
|
|
20
|
+
"./*.css": "./dist/components/*/index.css",
|
|
21
|
+
"./*/*.css": "./dist/components/*/*/index.css",
|
|
22
|
+
"./*/*/*.css": "./dist/components/*/*/*/index.css",
|
|
23
|
+
"./theme": "./dist/rusticTheme.js",
|
|
24
|
+
"./index.css": "./dist/index.css",
|
|
25
|
+
"./types": "./dist/components/types.d.ts"
|
|
26
|
+
},
|
|
15
27
|
"dependencies": {
|
|
28
|
+
"@emotion/react": "11.11.1",
|
|
29
|
+
"@emotion/styled": "11.11.0",
|
|
30
|
+
"@mui/material": "5.15.7",
|
|
31
|
+
"@mui/styled-engine-sc": "5.14.11",
|
|
32
|
+
"@mui/system": "5.15.8",
|
|
33
|
+
"axios": "1.6.8",
|
|
34
|
+
"react": "18.2.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
16
37
|
"@codemirror/language": "6.10.1",
|
|
17
38
|
"@codemirror/language-data": "6.4.1",
|
|
18
39
|
"@codemirror/state": "6.4.1",
|
|
19
40
|
"@codemirror/theme-one-dark": "6.1.2",
|
|
20
41
|
"@codemirror/view": "6.26.0",
|
|
21
|
-
"@
|
|
22
|
-
"@
|
|
42
|
+
"@commitlint/cli": "18.4.2",
|
|
43
|
+
"@commitlint/config-conventional": "18.4.2",
|
|
23
44
|
"@finos/perspective": "2.10.1",
|
|
24
45
|
"@finos/perspective-viewer": "2.10.1",
|
|
25
46
|
"@finos/perspective-viewer-d3fc": "2.10.1",
|
|
@@ -30,23 +51,6 @@
|
|
|
30
51
|
"@mui/material": "5.15.7",
|
|
31
52
|
"@mui/styled-engine-sc": "5.14.11",
|
|
32
53
|
"@mui/system": "5.15.8",
|
|
33
|
-
"axios": "1.6.8",
|
|
34
|
-
"dompurify": "3.0.6",
|
|
35
|
-
"emoji-picker-element": "1.21.3",
|
|
36
|
-
"marked": "10.0.0",
|
|
37
|
-
"mermaid": "10.9.1",
|
|
38
|
-
"ol": "9.0.0",
|
|
39
|
-
"pdfjs-dist": "4.3.136",
|
|
40
|
-
"pluralize": "8.0.0",
|
|
41
|
-
"react": "18.2.0",
|
|
42
|
-
"react-dom": "18.2.0",
|
|
43
|
-
"recharts": "2.10.3",
|
|
44
|
-
"uuid": "9.0.1",
|
|
45
|
-
"vega-embed": "6.25.0"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@commitlint/cli": "18.4.2",
|
|
49
|
-
"@commitlint/config-conventional": "18.4.2",
|
|
50
54
|
"@storybook/addon-essentials": "8.1.9",
|
|
51
55
|
"@storybook/addon-interactions": "8.1.9",
|
|
52
56
|
"@storybook/addon-links": "8.1.9",
|
|
@@ -74,6 +78,8 @@
|
|
|
74
78
|
"cypress": "13.6.5",
|
|
75
79
|
"cypress-real-events": "1.12.0",
|
|
76
80
|
"cz-conventional-changelog": "3.3.0",
|
|
81
|
+
"dompurify": "3.0.6",
|
|
82
|
+
"emoji-picker-element": "1.21.3",
|
|
77
83
|
"eslint": "8.56.0",
|
|
78
84
|
"eslint-config-prettier": "9.1.0",
|
|
79
85
|
"eslint-plugin-cypress": "2.15.1",
|
|
@@ -84,16 +90,26 @@
|
|
|
84
90
|
"eslint-plugin-unused-imports": "3.1.0",
|
|
85
91
|
"husky": "8.0.3",
|
|
86
92
|
"lint-staged": "15.2.2",
|
|
93
|
+
"marked": "10.0.0",
|
|
94
|
+
"mermaid": "10.9.1",
|
|
87
95
|
"mini-css-extract-plugin": "2.8.1",
|
|
96
|
+
"mock-socket": "9.3.1",
|
|
97
|
+
"ol": "9.0.0",
|
|
98
|
+
"pdfjs-dist": "4.3.136",
|
|
88
99
|
"playwright-webkit": "1.34.3",
|
|
100
|
+
"pluralize": "8.0.0",
|
|
89
101
|
"prettier": "3.2.5",
|
|
90
102
|
"prop-types": "15.8.1",
|
|
103
|
+
"react-dom": "18.2.0",
|
|
104
|
+
"recharts": "2.10.3",
|
|
91
105
|
"storybook": "8.1.9",
|
|
92
106
|
"storybook-addon-mock": "5.0.0",
|
|
93
107
|
"style-loader": "3.3.4",
|
|
94
108
|
"ts-loader": "9.5.1",
|
|
95
109
|
"ts-node": "10.9.2",
|
|
96
110
|
"typescript": "5.3.3",
|
|
111
|
+
"uuid": "10.0.0",
|
|
112
|
+
"vega-embed": "6.25.0",
|
|
97
113
|
"webpack": "5.89.0",
|
|
98
114
|
"webpack-cli": "5.1.4",
|
|
99
115
|
"webpack-node-externals": "3.0.0"
|
|
@@ -108,15 +124,100 @@
|
|
|
108
124
|
"@finos/perspective-viewer": "^2.10.1",
|
|
109
125
|
"@finos/perspective-viewer-d3fc": "^2.10.1",
|
|
110
126
|
"@finos/perspective-viewer-datagrid": "^2.10.1",
|
|
127
|
+
"@fullcalendar/core": "^6.1.10",
|
|
128
|
+
"@fullcalendar/daygrid": "^6.1.10",
|
|
129
|
+
"@fullcalendar/react": "^6.1.10",
|
|
111
130
|
"@mui/material": "^5.15.7",
|
|
112
131
|
"@mui/styled-engine-sc": "^5.14.11",
|
|
113
132
|
"@mui/system": "^5.15.8",
|
|
114
133
|
"@types/react": "^18.2.37",
|
|
115
134
|
"@types/react-dom": "^18.2.15",
|
|
135
|
+
"axios": "1.6.8",
|
|
136
|
+
"dompurify": "^3.0.6",
|
|
116
137
|
"emoji-picker-element": "^1.21.3",
|
|
138
|
+
"marked": "^10.0.0",
|
|
139
|
+
"mermaid": "^10.9.1",
|
|
140
|
+
"ol": "^9.0.0",
|
|
117
141
|
"pdfjs-dist": "^4.3.136",
|
|
118
|
-
"
|
|
119
|
-
"react-dom": "^18.2.0"
|
|
142
|
+
"pluralize": "^8.0.0",
|
|
143
|
+
"react-dom": "^18.2.0",
|
|
144
|
+
"recharts": "^2.10.3",
|
|
145
|
+
"uuid": "^10.0.0",
|
|
146
|
+
"vega-embed": "^6.25.0"
|
|
147
|
+
},
|
|
148
|
+
"peerDependenciesMeta": {
|
|
149
|
+
"@codemirror/language": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"@codemirror/language-data": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
"@codemirror/state": {
|
|
156
|
+
"optional": true
|
|
157
|
+
},
|
|
158
|
+
"@codemirror/theme-one-dark": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"@codemirror/view": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
164
|
+
"@finos/perspective": {
|
|
165
|
+
"optional": true
|
|
166
|
+
},
|
|
167
|
+
"@finos/perspective-viewer": {
|
|
168
|
+
"optional": true
|
|
169
|
+
},
|
|
170
|
+
"@finos/perspective-viewer-d3fc": {
|
|
171
|
+
"optional": true
|
|
172
|
+
},
|
|
173
|
+
"@finos/perspective-viewer-datagrid": {
|
|
174
|
+
"optional": true
|
|
175
|
+
},
|
|
176
|
+
"@fullcalendar/core": {
|
|
177
|
+
"optional": true
|
|
178
|
+
},
|
|
179
|
+
"@fullcalendar/daygrid": {
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"@fullcalendar/react": {
|
|
183
|
+
"optional": true
|
|
184
|
+
},
|
|
185
|
+
"axios": {
|
|
186
|
+
"optional": true
|
|
187
|
+
},
|
|
188
|
+
"emoji-picker-element": {
|
|
189
|
+
"optional": true
|
|
190
|
+
},
|
|
191
|
+
"dompurify": {
|
|
192
|
+
"optional": true
|
|
193
|
+
},
|
|
194
|
+
"marked": {
|
|
195
|
+
"optional": true
|
|
196
|
+
},
|
|
197
|
+
"mermaid": {
|
|
198
|
+
"optional": true
|
|
199
|
+
},
|
|
200
|
+
"ol": {
|
|
201
|
+
"optional": true
|
|
202
|
+
},
|
|
203
|
+
"pdfjs-dist": {
|
|
204
|
+
"optional": true
|
|
205
|
+
},
|
|
206
|
+
"pluralize": {
|
|
207
|
+
"optional": true
|
|
208
|
+
},
|
|
209
|
+
"react-dom": {
|
|
210
|
+
"optional": true
|
|
211
|
+
},
|
|
212
|
+
"recharts": {
|
|
213
|
+
"optional": true
|
|
214
|
+
},
|
|
215
|
+
"uuid": {
|
|
216
|
+
"optional": true
|
|
217
|
+
},
|
|
218
|
+
"vega-embed": {
|
|
219
|
+
"optional": true
|
|
220
|
+
}
|
|
120
221
|
},
|
|
121
222
|
"scripts": {
|
|
122
223
|
"build": "webpack --config webpack.prod.config.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */
|