rasp-feedback 1.1.4 → 1.1.6

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.
@@ -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,2CAmeA;AAED,eAAe,mBAAmB,CAAA"}
@@ -137,7 +137,10 @@ 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
+ setParentColor("transparent");
143
+ }, style: {
141
144
  position: "relative",
142
145
  left: "95%",
143
146
  cursor: "pointer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rasp-feedback",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
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",