From 9810284a43915368a87d000d357092fb40716e78 Mon Sep 17 00:00:00 2001 From: madura Date: Wed, 8 Sep 2021 12:17:48 +0530 Subject: [PATCH 1/2] fixed eslint issue --- modules/components/widgets/vanilla/core/VanillaFieldSelect.jsx | 2 +- modules/components/widgets/vanilla/core/VanillaValueSources.jsx | 2 +- modules/components/widgets/vanilla/value/VanillaNumber.jsx | 2 +- modules/components/widgets/vanilla/value/VanillaSelect.jsx | 2 +- modules/components/widgets/vanilla/value/VanillaSlider.jsx | 2 +- modules/components/widgets/vanilla/value/VanillaText.jsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/components/widgets/vanilla/core/VanillaFieldSelect.jsx b/modules/components/widgets/vanilla/core/VanillaFieldSelect.jsx index eba2a98ce..b9f3de301 100644 --- a/modules/components/widgets/vanilla/core/VanillaFieldSelect.jsx +++ b/modules/components/widgets/vanilla/core/VanillaFieldSelect.jsx @@ -1,5 +1,5 @@ import React, { useCallback, useMemo } from "react"; -import { Form } from '@shoutout-labs/shoutout-themes-enterprise'; +import { Form } from "@shoutout-labs/shoutout-themes-enterprise"; export default ({ items, setField, selectedKey, readonly, ...rest }) => { diff --git a/modules/components/widgets/vanilla/core/VanillaValueSources.jsx b/modules/components/widgets/vanilla/core/VanillaValueSources.jsx index e5f7124c9..fade78f07 100644 --- a/modules/components/widgets/vanilla/core/VanillaValueSources.jsx +++ b/modules/components/widgets/vanilla/core/VanillaValueSources.jsx @@ -1,5 +1,5 @@ import React, { useMemo } from "react"; -import { Form } from '@shoutout-labs/shoutout-themes-enterprise'; +import { Form } from "@shoutout-labs/shoutout-themes-enterprise"; export default ({ config, valueSources, valueSrc, title, setValueSrc, readonly }) => { // const renderOptions = (valueSources) => ( diff --git a/modules/components/widgets/vanilla/value/VanillaNumber.jsx b/modules/components/widgets/vanilla/value/VanillaNumber.jsx index d07d6a4fd..05f4ae11f 100644 --- a/modules/components/widgets/vanilla/value/VanillaNumber.jsx +++ b/modules/components/widgets/vanilla/value/VanillaNumber.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { Form } from '@shoutout-labs/shoutout-themes-enterprise'; +import { Form } from "@shoutout-labs/shoutout-themes-enterprise"; export default (props) => { const { value, setValue, config, readonly, min, max, step, placeholder } = props; const onChange = e => { diff --git a/modules/components/widgets/vanilla/value/VanillaSelect.jsx b/modules/components/widgets/vanilla/value/VanillaSelect.jsx index 5623ca7db..53876759d 100644 --- a/modules/components/widgets/vanilla/value/VanillaSelect.jsx +++ b/modules/components/widgets/vanilla/value/VanillaSelect.jsx @@ -1,6 +1,6 @@ import React from "react"; // import { mapListValues } from "../../../../utils/stuff"; -import { Form } from '@shoutout-labs/shoutout-themes-enterprise'; +import { Form } from "@shoutout-labs/shoutout-themes-enterprise"; export default ({ listValues, value, setValue, allowCustomValues, readonly }) => { // const renderOptions = () => // mapListValues(listValues, ({title, value}) => { diff --git a/modules/components/widgets/vanilla/value/VanillaSlider.jsx b/modules/components/widgets/vanilla/value/VanillaSlider.jsx index 7d877fbca..179845456 100644 --- a/modules/components/widgets/vanilla/value/VanillaSlider.jsx +++ b/modules/components/widgets/vanilla/value/VanillaSlider.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { Form } from '@shoutout-labs/shoutout-themes-enterprise'; +import { Form } from "@shoutout-labs/shoutout-themes-enterprise"; export default (props) => { const {value, setValue, config, readonly, min, max, step, placeholder} = props; const onChange = e => { diff --git a/modules/components/widgets/vanilla/value/VanillaText.jsx b/modules/components/widgets/vanilla/value/VanillaText.jsx index 1e96462ab..1c2cce034 100644 --- a/modules/components/widgets/vanilla/value/VanillaText.jsx +++ b/modules/components/widgets/vanilla/value/VanillaText.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { Form } from '@shoutout-labs/shoutout-themes-enterprise'; +import { Form } from "@shoutout-labs/shoutout-themes-enterprise"; export default (props) => { const { value, setValue, config, readonly, placeholder, maxLength } = props; const onChange = e => { From 22fd321502d122d22856f3da2cdbea3376adba8e Mon Sep 17 00:00:00 2001 From: madura Date: Wed, 8 Sep 2021 12:18:03 +0530 Subject: [PATCH 2/2] remove theme import --- modules/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/index.js b/modules/index.js index 5a7e3e8d3..a5bbdf2a7 100644 --- a/modules/index.js +++ b/modules/index.js @@ -8,7 +8,7 @@ import * as Operators from "./components/operators"; import * as BasicUtils from "./utils"; import * as BasicFuncs from "./config/funcs"; -import '@shoutout-labs/shoutout-themes-enterprise/lib/themes/enterprise-loyalty/bootstrap.min.css' + const Utils = {...BasicUtils, ...Export, ...Import}; export {Widgets, Operators, Utils, Export, Import, BasicFuncs};