Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"@clayui/form": "3.14.4",
"@clayui/icon": "3.1.0",
"@clayui/progress-bar": "3.2.0",
"@liferay/frontend-js-react-web": "*",
"formik": "2.1.4",
"frontend-js-react-web": "*",
"frontend-js-web": "*",
"prop-types": "15.7.2",
"react": "16.12.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import ClayButton from '@clayui/button';
import ClayIcon from '@clayui/icon';
import ClayProgressBar from '@clayui/progress-bar';
import {useIsMounted, useTimeout} from 'frontend-js-react-web';
import {useIsMounted, useTimeout} from '@liferay/frontend-js-react-web';
import {fetch} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useCallback, useEffect, useState} from 'react';
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/app-builder/app-builder-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"@clayui/pagination-bar": "3.25.0",
"@clayui/sticker": "3.3.0",
"@clayui/table": "3.1.0",
"@liferay/frontend-js-react-web": "*",
"classnames": "2.2.6",
"dynamic-data-mapping-form-renderer": "*",
"frontend-js-react-web": "*",
"frontend-js-web": "*",
"moment": "^2.24.0",
"path-to-regexp": "3.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {useCallback, useRef} from 'react';

const EmptyModule = {default: () => null};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
* details.
*/

import {usePrevious} from '@liferay/frontend-js-react-web';
import Loading from 'data-engine-js-components-web/js/components/loading/Loading.es';
import useQuery from 'data-engine-js-components-web/js/hooks/useQuery.es';
import {getItem} from 'data-engine-js-components-web/js/utils/client.es';
import {errorToast} from 'data-engine-js-components-web/js/utils/toast.es';
import {isEqualObjects} from 'data-engine-js-components-web/js/utils/utils.es';
import {usePrevious} from 'frontend-js-react-web';
import React, {useContext, useEffect, useState} from 'react';

import {AppContext} from '../../AppContext.es';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
*/

import {ClayButtonWithIcon} from '@clayui/button';
import {useEventListener} from '@liferay/frontend-js-react-web';
import classNames from 'classnames';
import {useEventListener} from 'frontend-js-react-web';
import React, {useContext, useLayoutEffect, useState} from 'react';

import {useKeyDown} from '../../hooks/index.es';
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/asset/asset-taglib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"@clayui/form": "3.14.4",
"@clayui/icon": "3.1.0",
"@clayui/multi-select": "3.25.0",
"@liferay/frontend-js-react-web": "*",
"classnames": "2.2.6",
"frontend-js-react-web": "*",
"prop-types": "15.7.2",
"react": "16.12.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import {useResource} from '@clayui/data-provider';
import ClayForm, {ClayInput} from '@clayui/form';
import ClayIcon from '@clayui/icon';
import ClayMultiSelect from '@clayui/multi-select';
import {usePrevious} from '@liferay/frontend-js-react-web';
import classNames from 'classnames';
import {usePrevious} from 'frontend-js-react-web';
import {ItemSelectorDialog} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useEffect, useState} from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ClayButton from '@clayui/button';
import {useResource} from '@clayui/data-provider';
import ClayForm, {ClayInput} from '@clayui/form';
import ClayMultiSelect from '@clayui/multi-select';
import {usePrevious} from 'frontend-js-react-web';
import {usePrevious} from '@liferay/frontend-js-react-web';
import {openSelectionModal} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useEffect} from 'react';
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/commerce/commerce-frontend-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@clayui/sticker": "3.3.0",
"@clayui/table": "3.1.0",
"@clayui/tooltip": "3.4.5",
"@liferay/frontend-js-react-web": "*",
"classnames": "2.2.6",
"frontend-js-react-web": "*",
"frontend-js-web": "*",
"prop-types": "15.7.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import ClayAutocomplete from '@clayui/autocomplete';
import ClayDropDown from '@clayui/drop-down';
import {FocusScope} from '@clayui/shared';
import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import PropTypes from 'prop-types';
import React, {useEffect, useRef, useState} from 'react';
import {createPortal} from 'react-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {ClayInput} from '@clayui/form';
import {ClayIconSpriteContext} from '@clayui/icon';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import ClaySticker from '@clayui/sticker';
import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import PropTypes from 'prop-types';
import React, {useCallback, useEffect, useRef, useState} from 'react';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {render} from 'frontend-js-react-web';
import {render} from '@liferay/frontend-js-react-web';

export default function launcher(
Component,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = {
],
resolve: {
alias: {
'frontend-js-react-web': path.resolve(
'@liferay/frontend-js-react-web': path.resolve(
__dirname,
'../../../node_modules/frontend-js-react-web/src/main/resources/META-INF/resources/js/index.es.js'
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import ClayAlert from '@clayui/alert';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {fetch} from 'frontend-js-web';
import React, {useEffect, useImperativeHandle, useReducer, useRef} from 'react';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import ClayEmptyState from '@clayui/empty-state';
import {ClayCheckbox} from '@clayui/form';
import ClayLayout from '@clayui/layout';
import {useEventListener} from 'frontend-js-react-web';
import {useEventListener} from '@liferay/frontend-js-react-web';
import PropTypes from 'prop-types';
import React, {useEffect, useMemo, useState} from 'react';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

import {ClayButtonWithIcon} from '@clayui/button';
import ClayLayout from '@clayui/layout';
import {useTimeout} from '@liferay/frontend-js-react-web';
import classNames from 'classnames';
import {useTimeout} from 'frontend-js-react-web';
import React, {useContext, useEffect, useState} from 'react';

const SidebarContext = React.createContext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {render} from 'frontend-js-react-web';
import {render} from '@liferay/frontend-js-react-web';

import SidebarPanel from '../SidebarPanel';
import SidebarPanelInfoView from '../components/SidebarPanelInfoView';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {usePrevious} from 'frontend-js-react-web';
import {usePrevious} from '@liferay/frontend-js-react-web';
import {useEffect, useState} from 'react';

import {request} from '../utils/client.es';
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/data-engine/data-engine-taglib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"@clayui/pagination-bar": "3.25.0",
"@clayui/sticker": "3.3.0",
"@clayui/table": "3.1.0",
"@liferay/frontend-js-react-web": "*",
"classnames": "2.2.6",
"dynamic-data-mapping-form-renderer": "*",
"frontend-js-react-web": "*",
"frontend-js-web": "*",
"lodash.omit": "^4.5.0",
"metal-jsx": "2.16.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import ClayButton, {ClayButtonWithIcon} from '@clayui/button';
import ClayIcon from '@clayui/icon';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import {ClayTooltipProvider} from '@clayui/tooltip';
import {useIsMounted, useStateSafe} from '@liferay/frontend-js-react-web';
import classNames from 'classnames';
import {useIsMounted, useStateSafe} from 'frontend-js-react-web';
import React, {useRef, useState} from 'react';

import useLoad from '../../hooks/useLoad.es';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import React from 'react';

const {useCallback, useRef} = React;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import ClayButton from '@clayui/button';
import ClayIcon from '@clayui/icon';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {debounce} from 'frontend-js-web';
import imagePromise from 'image-promise';
import PropTypes from 'prop-types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"@clayui/button": "3.6.0",
"@clayui/icon": "3.1.0",
"frontend-js-react-web": "*",
"@liferay/frontend-js-react-web": "*",
"frontend-js-web": "*",
"prop-types": "15.7.2",
"react": "16.12.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import ClayButton from '@clayui/button';
import ClayIcon from '@clayui/icon';
import {useEventListener, useIsMounted} from 'frontend-js-react-web';
import {useEventListener, useIsMounted} from '@liferay/frontend-js-react-web';
import {debounce} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useLayoutEffect, useRef, useState} from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"@clayui/icon": "3.1.0",
"@clayui/loading-indicator": "3.2.0",
"@clayui/tooltip": "3.4.5",
"@liferay/frontend-js-react-web": "*",
"classnames": "2.2.6",
"frontend-js-react-web": "*",
"frontend-js-web": "*",
"prop-types": "15.7.2",
"react": "16.12.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {addParams, cancelDebounce, debounce, fetch} from 'frontend-js-web';
import {useEffect, useRef, useState} from 'react';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"@clayui/icon": "3.1.0",
"@clayui/loading-indicator": "3.2.0",
"@clayui/modal": "3.8.5",
"@liferay/frontend-js-react-web": "*",
"asset-taglib": "*",
"clipboard": "2.0.4",
"frontend-js-react-web": "*",
"frontend-js-web": "*",
"prop-types": "15.7.2",
"react": "16.12.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import ClayLoadingIndicator from '@clayui/loading-indicator';
import {useTimeout} from 'frontend-js-react-web';
import {useTimeout} from '@liferay/frontend-js-react-web';
import {fetch, openToast} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useCallback, useEffect, useReducer} from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import ClayButton from '@clayui/button';
import {ClayRadio, ClayRadioGroup} from '@clayui/form';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import ClayModal from '@clayui/modal';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {AssetCategoriesSelector} from 'asset-taglib';
import {useIsMounted} from 'frontend-js-react-web';
import {fetch} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useCallback, useContext, useEffect, useState} from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import ClayButton from '@clayui/button';
import {ClayRadio, ClayRadioGroup} from '@clayui/form';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import ClayModal from '@clayui/modal';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {AssetTagsSelector} from 'asset-taglib';
import {useIsMounted} from 'frontend-js-react-web';
import {fetch} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useCallback, useContext, useEffect, useState} from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import ClayLoadingIndicator from '@clayui/loading-indicator';
import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {fetch, runScriptsInElement} from 'frontend-js-web';
import React, {useEffect, useState} from 'react';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import {ClayInput} from '@clayui/form';
import {usePrevious} from 'frontend-js-react-web';
import {usePrevious} from '@liferay/frontend-js-react-web';
import React, {useEffect, useRef, useState} from 'react';
import createNumberMask from 'text-mask-addons/dist/createNumberMask';
import vanillaTextMask from 'vanilla-text-mask';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
*/

import ClayIcon from '@clayui/icon';
import {usePrevious} from '@liferay/frontend-js-react-web';
import classNames from 'classnames';
import {RulesSupport} from 'dynamic-data-mapping-form-builder';
import {usePage} from 'dynamic-data-mapping-form-renderer';
import {usePrevious} from 'frontend-js-react-web';
import {openModal} from 'frontend-js-web';
import React, {useEffect, useRef, useState} from 'react';
import {DndProvider} from 'react-dnd';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import ClayAutocomplete from '@clayui/autocomplete';
import ClayDropDown from '@clayui/drop-down';
import {ClayInput} from '@clayui/form';
import {usePrevious} from '@liferay/frontend-js-react-web';
import {normalizeFieldName} from 'dynamic-data-mapping-form-renderer';
import {usePrevious} from 'frontend-js-react-web';
import React, {useEffect, useMemo, useRef, useState} from 'react';

import {FieldBase} from '../FieldBase/ReactFieldBase.es';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import ClayForm from '@clayui/form';
import {usePrevious} from 'frontend-js-react-web';
import {usePrevious} from '@liferay/frontend-js-react-web';
import React, {useEffect, useState} from 'react';

import Checkbox from '../Checkbox/Checkbox.es';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {usePrevious} from 'frontend-js-react-web';
import {usePrevious} from '@liferay/frontend-js-react-web';
import React, {useEffect, useState} from 'react';

import {EVENT_TYPES} from '../../actions/eventTypes.es';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import {ClayButtonWithIcon} from '@clayui/button';
import {ClayDropDownWithItems} from '@clayui/drop-down';
import ClayLayout from '@clayui/layout';
import {usePrevious} from 'frontend-js-react-web';
import {usePrevious} from '@liferay/frontend-js-react-web';
import React, {useEffect, useState} from 'react';

import {EVENT_TYPES} from '../../actions/eventTypes.es';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* details.
*/

import {useThunk} from 'frontend-js-react-web';
import {useThunk} from '@liferay/frontend-js-react-web';
import React, {useContext, useEffect, useReducer} from 'react';

import {EVENT_TYPES} from '../actions/eventTypes.es';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"@clayui/layout": "3.3.0",
"frontend-js-react-web": "*",
"@liferay/frontend-js-react-web": "*",
"frontend-js-web": "*",
"moment": "^2.22.2",
"react": "16.12.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import ClayButton from '@clayui/button';
import ClayIcon from '@clayui/icon';
import {useModal} from '@clayui/modal';
import {useIsMounted} from 'frontend-js-react-web';
import {useIsMounted} from '@liferay/frontend-js-react-web';
import {fetch, objectToFormData} from 'frontend-js-web';
import PropTypes from 'prop-types';
import React, {useContext, useState} from 'react';
Expand Down
Loading