@arquimedes.co/eureka-forms 2.0.92 → 2.0.94

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/App/App.js CHANGED
@@ -28,7 +28,7 @@ import './App.css';
28
28
  import FormComponent from '../Form/Form';
29
29
  import { Provider } from 'react-redux';
30
30
  import { store } from '../Utils/store';
31
- import { useLogRocket, useSetupApp } from './AppHooks';
31
+ import { useSetupApp } from './AppHooks';
32
32
  import { StoreContext, useAppSelector } from '../hooks';
33
33
  import CustomContext from '../Contexts/CustomContext';
34
34
  import { nanoid } from '@reduxjs/toolkit';
@@ -45,7 +45,6 @@ function App(_a) {
45
45
  var containerRef = useRef(null);
46
46
  var loaded = useAppSelector(function (state) { return state.global.loaded; });
47
47
  var _j = useSetupApp(isWidget, props), form = _j.form, organization = _j.organization, branding = _j.branding, reload = _j.reload;
48
- useLogRocket(organization, form, props);
49
48
  var loading = form === undefined || organization === undefined || !loaded;
50
49
  if (loading) {
51
50
  if (isWidget) {
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { RatingProps } from '../Rating';
3
- declare function ScaleRating({ value, name, inputRef, disabled, onChange, isMobile, focusColor, unSelectedColor, }: RatingProps): JSX.Element;
3
+ declare function ScaleRating({ value, inputRef, disabled, onChange, isMobile, focusColor, unSelectedColor, }: RatingProps): JSX.Element;
4
4
  export default ScaleRating;
@@ -41,7 +41,7 @@ var useRatingStyles = function (props) {
41
41
  });
42
42
  };
43
43
  function ScaleRating(_a) {
44
- var value = _a.value, name = _a.name, inputRef = _a.inputRef, disabled = _a.disabled, onChange = _a.onChange, isMobile = _a.isMobile, focusColor = _a.focusColor, unSelectedColor = _a.unSelectedColor;
44
+ var value = _a.value, inputRef = _a.inputRef, disabled = _a.disabled, onChange = _a.onChange, isMobile = _a.isMobile, focusColor = _a.focusColor, unSelectedColor = _a.unSelectedColor;
45
45
  var ratingClasses = useRatingStyles({
46
46
  unSelectedColor: unSelectedColor,
47
47
  focusColor: focusColor,
@@ -49,7 +49,7 @@ function ScaleRating(_a) {
49
49
  return (_jsxs(React.Fragment, { children: [_jsx("input", { ref: inputRef, className: 'hidden-input' }), _jsx(Rating, { value: value, onChange: function (_event, newValue) {
50
50
  if (!disabled)
51
51
  onChange(newValue);
52
- }, disabled: disabled, classes: ratingClasses, name: name, size: "large", defaultValue: 0, getLabelText: function (value) { return value + '/5'; }, max: 5, IconContainerComponent: isMobile ? SmallIconContainer : IconContainer })] }));
52
+ }, disabled: disabled, classes: ratingClasses, size: "large", defaultValue: 0, getLabelText: function (value) { return value + '/5'; }, max: 5, IconContainerComponent: isMobile ? SmallIconContainer : IconContainer })] }));
53
53
  }
54
54
  function IconContainer(_a) {
55
55
  var value = _a.value, other = __rest(_a, ["value"]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version": "2.0.92",
4
+ "version": "2.0.94",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",