rasp-feedback 1.1.5 → 1.1.7

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.
@@ -310,7 +310,7 @@ export const RaspProvider = ({ children, launcherPosition }) => {
310
310
  display: "inline-block",
311
311
  transform: "translate(-50%, -25%)",
312
312
  overflow: "visible",
313
- backgroundColor: isExpanded && mainTheme ? parentColor : isExpanded ? "white" : "transperant",
313
+ backgroundColor: isExpanded && mainTheme ? parentColor : isExpanded ? "white" : "transparent",
314
314
  }, transition: { layout: { duration: 0.5 } }, children: !isExpanded ? (_jsx(motion.img, { src: RASP_LAUNCHER_BASE64, onClick: () => {
315
315
  getForm().then(() => {
316
316
  setLaunched(true);
@@ -1 +1 @@
1
- {"version":3,"file":"StaticFormComponent.d.ts","sourceRoot":"","sources":["../../../src/nextjs/components/StaticFormComponent.tsx"],"names":[],"mappings":"AAWA,iBAAS,mBAAmB,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,eAAqB,EAAE,cAAc,EAAC,EAAC;IAAG,IAAI,EAAE,GAAG,CAAC;IACxH,SAAS,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,aAAa,EAAC,GAAG,CAAC;IAClB,eAAe,CAAC,EAAC,OAAO,CAAC;IACzB,cAAc,CAAC,EAAC,GAAG,CAAC;CACrB,2CAgeA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"StaticFormComponent.d.ts","sourceRoot":"","sources":["../../../src/nextjs/components/StaticFormComponent.tsx"],"names":[],"mappings":"AAWA,iBAAS,mBAAmB,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,eAAqB,EAAE,cAAc,EAAC,EAAC;IAAG,IAAI,EAAE,GAAG,CAAC;IACxH,SAAS,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,aAAa,EAAC,GAAG,CAAC;IAClB,eAAe,CAAC,EAAC,OAAO,CAAC;IACzB,cAAc,CAAC,EAAC,GAAG,CAAC;CACrB,2CAkeA;AAED,eAAe,mBAAmB,CAAA"}
@@ -137,7 +137,9 @@ function StaticFormComponent({ form, mainTheme, fields, setIsExpanded, isFormCom
137
137
  padding: isFormComponent ? 20 : 0,
138
138
  paddingRight: isFormComponent ? 5 : 0,
139
139
  height: 'auto',
140
- }, children: form && _jsxs(_Fragment, { children: [!isFormComponent && _jsx("div", { onClick: () => setIsExpanded(false), style: {
140
+ }, children: form && _jsxs(_Fragment, { children: [!isFormComponent && _jsx("div", { onClick: () => {
141
+ setIsExpanded(false);
142
+ }, style: {
141
143
  position: "relative",
142
144
  left: "95%",
143
145
  cursor: "pointer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rasp-feedback",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Official Rasp SDK to implement your user feedback collection forms easily into your website.",
5
5
  "main": "./dist/nextjs/index.js",
6
6
  "types": "./dist/nextjs/index.d.ts",