chore: rename old ADS package (#35517)

## Description
Rename package `design-system-old` to `@appsmith/ads-old`.

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]
> 🔴 🔴 🔴 Some tests have failed.
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10286195096>
> Commit: c0d478694b12f35b88687b6dae6f252967fba540
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10286195096&attempt=1&selectiontype=test&testsstatus=failed&specsstatus=fail"
target="_blank">Cypress dashboard</a>.
> Tags: @tag.All
> Spec: 
> The following are new failures, please fix them before merging the PR:
<ol>
>
<li>cypress/e2e/Regression/ClientSide/BugTests/DatasourceSchema_spec.ts</ol>
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master"
target="_blank">List of identified flaky tests</a>.
> <hr>Wed, 07 Aug 2024 15:26:02 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
This commit is contained in:
Valera Melnikov 2024-08-08 15:55:00 +03:00 committed by GitHub
parent 061e376a33
commit b7ec5dacd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
207 changed files with 269 additions and 277 deletions

View File

@ -13,8 +13,7 @@
"actions":"./src/actions/", "actions":"./src/actions/",
"api": "./src/api/", "api": "./src/api/",
"assets": "./src/assets/", "assets": "./src/assets/",
"sagas": "./src/sagas/", "sagas": "./src/sagas/"
"@appsmith": "./src/ee"
} }
}, "babel-plugin-styled-components"] }, "babel-plugin-styled-components"]
] ]

View File

@ -76,11 +76,11 @@
{ {
"group": ["*.svg"], "group": ["*.svg"],
"importNames": ["ReactComponent"], "importNames": ["ReactComponent"],
"message": "Reason: Please dont import SVG icons statically. (They wont always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please either import them as SVG paths (e.g. import starIconUrl from './star.svg'), or use the importSvg wrapper from design-system-old (e.g. const StarIcon = importSvg(() => import('./star.svg')))." "message": "Reason: Please dont import SVG icons statically. (They wont always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please either import them as SVG paths (e.g. import starIconUrl from './star.svg'), or use the importSvg wrapper from @appsmith/ads-old (e.g. const StarIcon = importSvg(() => import('./star.svg')))."
}, },
{ {
"group": ["remixicon-react/*"], "group": ["remixicon-react/*"],
"message": "Reason: Please dont import Remix icons statically. (They wont always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please use the importRemixIcon wrapper from design-system-old (e.g. const StarIcon = importRemixIcon(() => import('remixicon-react/Star')))." "message": "Reason: Please dont import Remix icons statically. (They wont always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please use the importRemixIcon wrapper from @appsmith/ads-old (e.g. const StarIcon = importRemixIcon(() => import('remixicon-react/Star')))."
} }
] ]
} }

View File

@ -17,7 +17,7 @@ module.exports = {
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node", "css"], moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node", "css"],
moduleDirectories: ["node_modules", "src", "test"], moduleDirectories: ["node_modules", "src", "test"],
transformIgnorePatterns: [ transformIgnorePatterns: [
"<rootDir>/node_modules/(?!codemirror|konva|design-system|design-system-old|react-dnd|dnd-core|@babel|(@blueprintjs)|@github|lodash-es|@draft-js-plugins|react-documents|linkedom|assert-never|axios)", "<rootDir>/node_modules/(?!codemirror|konva|design-system|react-dnd|dnd-core|@babel|(@blueprintjs)|@github|lodash-es|@draft-js-plugins|react-documents|linkedom|assert-never|axios)",
], ],
moduleNameMapper: { moduleNameMapper: {
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js", "\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
@ -27,14 +27,12 @@ module.exports = {
"^worker-loader!": "<rootDir>/test/__mocks__/workerMock.js", "^worker-loader!": "<rootDir>/test/__mocks__/workerMock.js",
"^!!raw-loader!": "<rootDir>/test/__mocks__/derivedMock.js", "^!!raw-loader!": "<rootDir>/test/__mocks__/derivedMock.js",
"test/(.*)": "<rootDir>/test/$1", "test/(.*)": "<rootDir>/test/$1",
"@appsmith/(.*)": "<rootDir>/src/ee/$1", "@appsmith/ads-old": "<rootDir>/node_modules/@appsmith/ads-old",
"design-system-old": "<rootDir>/node_modules/design-system-old",
"@design-system/widgets-old": "@design-system/widgets-old":
"<rootDir>/node_modules/@design-system/widgets-old", "<rootDir>/node_modules/@design-system/widgets-old",
"@design-system/widgets": "<rootDir>/node_modules/@design-system/widgets", "@design-system/widgets": "<rootDir>/node_modules/@design-system/widgets",
"@design-system/headless": "<rootDir>/node_modules/@design-system/headless", "@design-system/headless": "<rootDir>/node_modules/@design-system/headless",
"@design-system/theming": "<rootDir>/node_modules/@design-system/theming", "@design-system/theming": "<rootDir>/node_modules/@design-system/theming",
"design-system": "<rootDir>/node_modules/design-system",
"^proxy-memoize$": "<rootDir>/node_modules/proxy-memoize/dist/wrapper.cjs", "^proxy-memoize$": "<rootDir>/node_modules/proxy-memoize/dist/wrapper.cjs",
// @blueprintjs packages need to be resolved to the `esnext` directory. The default `esm` directory // @blueprintjs packages need to be resolved to the `esnext` directory. The default `esm` directory
// contains sources that are transpiled to ES5. As Jest does not transpile our sources to ES5, // contains sources that are transpiled to ES5. As Jest does not transpile our sources to ES5,

View File

@ -48,6 +48,7 @@
"cypress:snapshot:docker:build": "docker build . -f cypress/Dockerfile -t cypress-snapshot" "cypress:snapshot:docker:build": "docker build . -f cypress/Dockerfile -t cypress-snapshot"
}, },
"dependencies": { "dependencies": {
"@appsmith/ads-old": "workspace:^",
"@aws-sdk/client-s3": "^3.622.0", "@aws-sdk/client-s3": "^3.622.0",
"@aws-sdk/lib-storage": "^3.622.0", "@aws-sdk/lib-storage": "^3.622.0",
"@babel/standalone": "^7.23.6", "@babel/standalone": "^7.23.6",
@ -123,7 +124,6 @@
"dayjs": "^1.10.6", "dayjs": "^1.10.6",
"deep-diff": "^1.0.2", "deep-diff": "^1.0.2",
"design-system": "workspace:^", "design-system": "workspace:^",
"design-system-old": "workspace:^",
"downloadjs": "^1.4.7", "downloadjs": "^1.4.7",
"echarts": "^5.4.2", "echarts": "^5.4.2",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",

View File

@ -1,5 +1,5 @@
{ {
"name": "design-system-old", "name": "@appsmith/ads-old",
"version": "1.1.17", "version": "1.1.17",
"description": "This is the package for the Appsmith design system components", "description": "This is the package for the Appsmith design system components",
"main": "src/index.ts", "main": "src/index.ts",

View File

@ -1,7 +1,7 @@
import { importApplication } from "ee/actions/applicationActions"; import { importApplication } from "ee/actions/applicationActions";
import { UPLOADING_APPLICATION, createMessage } from "ee/constants/messages"; import { UPLOADING_APPLICATION, createMessage } from "ee/constants/messages";
import { getIsImportingApplication } from "ee/selectors/applicationSelectors"; import { getIsImportingApplication } from "ee/selectors/applicationSelectors";
import type { SetProgress } from "design-system-old"; import type { SetProgress } from "@appsmith/ads-old";
import { useCallback, useState } from "react"; import { useCallback, useState } from "react";
import { useDispatch, useSelector } from "react-redux"; import { useDispatch, useSelector } from "react-redux";

View File

@ -11,7 +11,7 @@ import {
SettingTypes, SettingTypes,
} from "ee/pages/AdminSettings/config/types"; } from "ee/pages/AdminSettings/config/types";
import BrandingBadge from "pages/AppViewer/BrandingBadge"; import BrandingBadge from "pages/AppViewer/BrandingBadge";
import { TagInput } from "design-system-old"; import { TagInput } from "@appsmith/ads-old";
import localStorage from "utils/localStorage"; import localStorage from "utils/localStorage";
import isUndefined from "lodash/isUndefined"; import isUndefined from "lodash/isUndefined";
import { AppsmithFrameAncestorsSetting } from "pages/Applications/EmbedSnippet/Constants/constants"; import { AppsmithFrameAncestorsSetting } from "pages/Applications/EmbedSnippet/Constants/constants";

View File

@ -6,7 +6,7 @@ import {
EditableText, EditableText,
SavingState, SavingState,
notEmptyValidator, notEmptyValidator,
} from "design-system-old"; } from "@appsmith/ads-old";
import type { Workspace } from "ee/constants/workspaceConstants"; import type { Workspace } from "ee/constants/workspaceConstants";
import { import {
DropdownOnSelectActions, DropdownOnSelectActions,

View File

@ -58,7 +58,7 @@ import {
MenuItem as ListItem, MenuItem as ListItem,
Text, Text,
TextType, TextType,
} from "design-system-old"; } from "@appsmith/ads-old";
import { loadingUserWorkspaces } from "pages/Applications/ApplicationLoaders"; import { loadingUserWorkspaces } from "pages/Applications/ApplicationLoaders";
import PageWrapper from "pages/common/PageWrapper"; import PageWrapper from "pages/common/PageWrapper";
import WorkspaceInviteUsersForm from "pages/workspace/WorkspaceInviteUsersForm"; import WorkspaceInviteUsersForm from "pages/workspace/WorkspaceInviteUsersForm";

View File

@ -8,7 +8,7 @@ import {
import type { RouteComponentProps } from "react-router"; import type { RouteComponentProps } from "react-router";
import { useHistory } from "react-router"; import { useHistory } from "react-router";
import { getCurrentUser } from "selectors/usersSelectors"; import { getCurrentUser } from "selectors/usersSelectors";
import { HighlightText, Table } from "design-system-old"; import { HighlightText, Table } from "@appsmith/ads-old";
import { import {
fetchUsersForWorkspace, fetchUsersForWorkspace,
fetchRolesForWorkspace, fetchRolesForWorkspace,

View File

@ -84,7 +84,7 @@ import {
USER_PROFILE_PICTURE_UPLOAD_FAILED, USER_PROFILE_PICTURE_UPLOAD_FAILED,
UPDATE_USER_DETAILS_FAILED, UPDATE_USER_DETAILS_FAILED,
} from "ee/constants/messages"; } from "ee/constants/messages";
import { createMessage } from "design-system-old"; import { createMessage } from "@appsmith/ads-old";
import type { import type {
ProductAlert, ProductAlert,
ProductAlertConfig, ProductAlertConfig,

View File

@ -12,7 +12,7 @@ import {
ModalFooter, ModalFooter,
Callout, Callout,
} from "design-system"; } from "design-system";
import { Text, TextType } from "design-system-old"; import { Text, TextType } from "@appsmith/ads-old";
import type { ReactNode } from "react"; import type { ReactNode } from "react";
import React, { useState } from "react"; import React, { useState } from "react";
import { useDispatch, useSelector } from "react-redux"; import { useDispatch, useSelector } from "react-redux";

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import type { TabProp } from "design-system-old"; import type { TabProp } from "@appsmith/ads-old";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import type { Theme } from "constants/DefaultTheme"; import type { Theme } from "constants/DefaultTheme";
interface WrapperProps { interface WrapperProps {

View File

@ -2,7 +2,7 @@ import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import { Card as BlueprintCard, Classes } from "@blueprintjs/core"; import { Card as BlueprintCard, Classes } from "@blueprintjs/core";
import { omit } from "lodash"; import { omit } from "lodash";
import { AppIcon, Size, TextType, Text } from "design-system-old"; import { AppIcon, Size, TextType, Text } from "@appsmith/ads-old";
import type { PropsWithChildren } from "react"; import type { PropsWithChildren } from "react";
import type { HTMLDivProps, ICardProps } from "@blueprintjs/core"; import type { HTMLDivProps, ICardProps } from "@blueprintjs/core";
import { Button, type MenuItemProps } from "design-system"; import { Button, type MenuItemProps } from "design-system";

View File

@ -3,7 +3,7 @@ import React, { useEffect, useState } from "react";
import styled from "styled-components"; import styled from "styled-components";
import { Collapse, Classes as BPClasses } from "@blueprintjs/core"; import { Collapse, Classes as BPClasses } from "@blueprintjs/core";
import { Icon, Text, Tooltip } from "design-system"; import { Icon, Text, Tooltip } from "design-system";
import { Classes, getTypographyByKey } from "design-system-old"; import { Classes, getTypographyByKey } from "@appsmith/ads-old";
import type { Datasource } from "entities/Datasource"; import type { Datasource } from "entities/Datasource";
const Label = styled.span` const Label = styled.span`

View File

@ -11,7 +11,7 @@ import {
iconClass, iconClass,
intentClass, intentClass,
} from "@blueprintjs/core/lib/esm/common/classes"; } from "@blueprintjs/core/lib/esm/common/classes";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
// This export must be named "IconSize" to match the exports of @blueprintjs/core/lib/esm/components/icon // This export must be named "IconSize" to match the exports of @blueprintjs/core/lib/esm/components/icon
export enum IconSize { export enum IconSize {

View File

@ -33,7 +33,7 @@ import {
} from "../utils"; } from "../utils";
import store from "store"; import store from "store";
import { getPageList } from "ee/selectors/entitiesSelector"; import { getPageList } from "ee/selectors/entitiesSelector";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
import { FIELD_GROUP_CONFIG } from "../FieldGroup/FieldGroupConfig"; import { FIELD_GROUP_CONFIG } from "../FieldGroup/FieldGroupConfig";
import { getFunctionName, checkIfArgumentExistAtPosition } from "@shared/ast"; import { getFunctionName, checkIfArgumentExistAtPosition } from "@shared/ast";

View File

@ -4,7 +4,7 @@ import {
ViewTypes, ViewTypes,
DEFAULT_SELECTOR_VIEW_TEXT, DEFAULT_SELECTOR_VIEW_TEXT,
} from "../constants"; } from "../constants";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
import { getFunctionName } from "@shared/ast"; import { getFunctionName } from "@shared/ast";
import type { import type {
FieldProps, FieldProps,

View File

@ -12,7 +12,7 @@ import {
getEntityNameAndPropertyPath, getEntityNameAndPropertyPath,
isEntityAction, isEntityAction,
} from "ee/workers/Evaluation/evaluationUtils"; } from "ee/workers/Evaluation/evaluationUtils";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
import { Icon } from "design-system"; import { Icon } from "design-system";
import { PluginType } from "entities/Action"; import { PluginType } from "entities/Action";
import type { JSAction, Variable } from "entities/JSCollection"; import type { JSAction, Variable } from "entities/JSCollection";

View File

@ -2,7 +2,7 @@ import type {
SwitcherProps, SwitcherProps,
TreeDropdownOption, TreeDropdownOption,
IconName, IconName,
} from "design-system-old"; } from "@appsmith/ads-old";
import type { EntityTypeValue, MetaArgs } from "ee/entities/DataTree/types"; import type { EntityTypeValue, MetaArgs } from "ee/entities/DataTree/types";
import type React from "react"; import type React from "react";
import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator"; import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator";

View File

@ -20,7 +20,7 @@ import {
objectSetter, objectSetter,
sortSubMenuOptions, sortSubMenuOptions,
} from "./utils"; } from "./utils";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
describe("Test argStringToArray", () => { describe("Test argStringToArray", () => {
const cases = [ const cases = [

View File

@ -20,7 +20,7 @@ import {
checkIfCatchBlockExists, checkIfCatchBlockExists,
checkIfThenBlockExists, checkIfThenBlockExists,
} from "@shared/ast"; } from "@shared/ast";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
import type { TActionBlock } from "./types"; import type { TActionBlock } from "./types";
import { AppsmithFunction, DEFAULT_LABELS, FieldType } from "./constants"; import { AppsmithFunction, DEFAULT_LABELS, FieldType } from "./constants";
import { FIELD_GROUP_CONFIG } from "./FieldGroup/FieldGroupConfig"; import { FIELD_GROUP_CONFIG } from "./FieldGroup/FieldGroupConfig";

View File

@ -1,6 +1,6 @@
import { Popover2 } from "@blueprintjs/popover2"; import { Popover2 } from "@blueprintjs/popover2";
import { isModalOpenSelector } from "components/editorComponents/GlobalSearch"; import { isModalOpenSelector } from "components/editorComponents/GlobalSearch";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
import { Text, Button } from "design-system"; import { Text, Button } from "design-system";
import React, { useCallback, useRef } from "react"; import React, { useCallback, useRef } from "react";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";

View File

@ -1,6 +1,6 @@
import React, { useState, useMemo, useEffect } from "react"; import React, { useState, useMemo, useEffect } from "react";
import type { TreeDropdownOption } from "design-system-old"; import type { TreeDropdownOption } from "@appsmith/ads-old";
import { TreeDropdown } from "design-system-old"; import { TreeDropdown } from "@appsmith/ads-old";
import { Input } from "design-system"; import { Input } from "design-system";
import { debounce } from "lodash"; import { debounce } from "lodash";
import { FIELD_CONFIG } from "../../Field/FieldConfig"; import { FIELD_CONFIG } from "../../Field/FieldConfig";

View File

@ -3,8 +3,8 @@ import {
ControlWrapper, ControlWrapper,
FieldWrapper, FieldWrapper,
} from "components/propertyControls/StyledControls"; } from "components/propertyControls/StyledControls";
import type { Setter } from "design-system-old"; import type { Setter } from "@appsmith/ads-old";
import { TreeDropdown } from "design-system-old"; import { TreeDropdown } from "@appsmith/ads-old";
import { PopoverPosition } from "@blueprintjs/core"; import { PopoverPosition } from "@blueprintjs/core";
import React from "react"; import React from "react";

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { Text, TextType } from "design-system-old"; import { Text, TextType } from "@appsmith/ads-old";
import styled from "styled-components"; import styled from "styled-components";
import LongArrowSVG from "assets/images/long-arrow-bottom.svg"; import LongArrowSVG from "assets/images/long-arrow-bottom.svg";
import { useEntityLink } from "../Debugger/hooks/debuggerHooks"; import { useEntityLink } from "../Debugger/hooks/debuggerHooks";

View File

@ -1,6 +1,6 @@
import React, { useMemo } from "react"; import React, { useMemo } from "react";
import styled from "styled-components"; import styled from "styled-components";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
import type { AppState } from "ee/reducers"; import type { AppState } from "ee/reducers";
import { getDependenciesFromInverseDependencies } from "../Debugger/helpers"; import { getDependenciesFromInverseDependencies } from "../Debugger/helpers";

View File

@ -1,7 +1,7 @@
import type { PropsWithChildren } from "react"; import type { PropsWithChildren } from "react";
import React from "react"; import React from "react";
import { Flex } from "design-system"; import { Flex } from "design-system";
import { Text, TextType } from "design-system-old"; import { Text, TextType } from "@appsmith/ads-old";
import { formatBytes } from "../../utils/helpers"; import { formatBytes } from "../../utils/helpers";
import { isEmpty } from "lodash"; import { isEmpty } from "lodash";
import BindDataButton from "pages/Editor/QueryEditor/BindDataButton"; import BindDataButton from "pages/Editor/QueryEditor/BindDataButton";

View File

@ -22,7 +22,7 @@ import NoResponseSVG from "assets/images/no-response.svg";
import DebuggerLogs from "./Debugger/DebuggerLogs"; import DebuggerLogs from "./Debugger/DebuggerLogs";
import ErrorLogs from "./Debugger/Errors"; import ErrorLogs from "./Debugger/Errors";
import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import { Classes, Text, TextType } from "design-system-old"; import { Classes, Text, TextType } from "@appsmith/ads-old";
import { Button, Callout, Flex, SegmentedControl } from "design-system"; import { Button, Callout, Flex, SegmentedControl } from "design-system";
import type { BottomTab } from "./EntityBottomTabs"; import type { BottomTab } from "./EntityBottomTabs";
import EntityBottomTabs from "./EntityBottomTabs"; import EntityBottomTabs from "./EntityBottomTabs";

View File

@ -4,7 +4,7 @@ import { setDebuggerSelectedTab, showDebugger } from "actions/debuggerActions";
import { useDispatch, useSelector } from "react-redux"; import { useDispatch, useSelector } from "react-redux";
import { getAppMode } from "ee/selectors/applicationSelectors"; import { getAppMode } from "ee/selectors/applicationSelectors";
import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import type { Message } from "entities/AppsmithConsole"; import type { Message } from "entities/AppsmithConsole";
import ContextualMenu from "./ContextualMenu"; import ContextualMenu from "./ContextualMenu";
import { DEBUGGER_TAB_KEYS } from "./helpers"; import { DEBUGGER_TAB_KEYS } from "./helpers";

View File

@ -3,7 +3,7 @@ import React, { useMemo } from "react";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
import type { AppState } from "ee/reducers"; import type { AppState } from "ee/reducers";
import styled from "styled-components"; import styled from "styled-components";
import { Classes, getTypographyByKey, Text, TextType } from "design-system-old"; import { Classes, getTypographyByKey, Text, TextType } from "@appsmith/ads-old";
import InspectElement from "assets/images/InspectElement.svg"; import InspectElement from "assets/images/InspectElement.svg";
import { import {
createMessage, createMessage,
@ -20,7 +20,7 @@ import { thinScrollbar } from "constants/DefaultTheme";
import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils";
import { useGetEntityInfo } from "./hooks/useGetEntityInfo"; import { useGetEntityInfo } from "./hooks/useGetEntityInfo";
import { Button, Icon, Tooltip } from "design-system"; import { Button, Icon, Tooltip } from "design-system";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
const LongArrowSVG = importSvg( const LongArrowSVG = importSvg(
async () => import("assets/images/long-arrow-right.svg"), async () => import("assets/images/long-arrow-right.svg"),

View File

@ -3,7 +3,7 @@ import { useDispatch } from "react-redux";
import type { Log, Message, SourceEntity } from "entities/AppsmithConsole"; import type { Log, Message, SourceEntity } from "entities/AppsmithConsole";
import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole"; import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole";
import styled from "styled-components"; import styled from "styled-components";
import { Classes, getTypographyByKey } from "design-system-old"; import { Classes, getTypographyByKey } from "@appsmith/ads-old";
import LOG_TYPE from "entities/AppsmithConsole/logtype"; import LOG_TYPE from "entities/AppsmithConsole/logtype";
import type { PluginErrorDetails } from "api/ActionAPI"; import type { PluginErrorDetails } from "api/ActionAPI";
import LogCollapseData from "./components/LogCollapseData"; import LogCollapseData from "./components/LogCollapseData";

View File

@ -1,6 +1,6 @@
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
export const Wrapper = styled.div` export const Wrapper = styled.div`
${getTypographyByKey("h6")} ${getTypographyByKey("h6")}

View File

@ -3,7 +3,7 @@ import React from "react";
import { Collapse } from "@blueprintjs/core"; import { Collapse } from "@blueprintjs/core";
import styled from "styled-components"; import styled from "styled-components";
import { LOG_CATEGORY } from "entities/AppsmithConsole"; import { LOG_CATEGORY } from "entities/AppsmithConsole";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import ReactJson from "react-json-view"; import ReactJson from "react-json-view";
import { Colors } from "constants/Colors"; import { Colors } from "constants/Colors";
import LogAdditionalInfo from "./LogAdditionalInfo"; import LogAdditionalInfo from "./LogAdditionalInfo";

View File

@ -1,6 +1,6 @@
import type { MutableRefObject } from "react"; import type { MutableRefObject } from "react";
import React, { useRef } from "react"; import React, { useRef } from "react";
import type { DropdownOption } from "design-system-old"; import type { DropdownOption } from "@appsmith/ads-old";
import styled from "styled-components"; import styled from "styled-components";
import { useDispatch } from "react-redux"; import { useDispatch } from "react-redux";

View File

@ -8,7 +8,7 @@ import ReactJson from "react-json-view";
import styled from "styled-components"; import styled from "styled-components";
import EntityLink from "./EntityLink"; import EntityLink from "./EntityLink";
import { getLogIcon } from "./helpers"; import { getLogIcon } from "./helpers";
import { Classes, getTypographyByKey } from "design-system-old"; import { Classes, getTypographyByKey } from "@appsmith/ads-old";
import ContextualMenu from "./ContextualMenu"; import ContextualMenu from "./ContextualMenu";
import { Button, Icon } from "design-system"; import { Button, Icon } from "design-system";
import moment from "moment"; import moment from "moment";

View File

@ -2,7 +2,7 @@ import type { Log } from "entities/AppsmithConsole";
import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole"; import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole";
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import { createMessage, OPEN_THE_DEBUGGER, PRESS } from "ee/constants/messages"; import { createMessage, OPEN_THE_DEBUGGER, PRESS } from "ee/constants/messages";
import type { DependencyMap } from "utils/DynamicBindingUtils"; import type { DependencyMap } from "utils/DynamicBindingUtils";
import { isChildPropertyPath } from "utils/DynamicBindingUtils"; import { isChildPropertyPath } from "utils/DynamicBindingUtils";

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import type { CollapsibleTabProps } from "design-system-old"; import type { CollapsibleTabProps } from "@appsmith/ads-old";
import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import { DEBUGGER_TAB_KEYS } from "./Debugger/helpers"; import { DEBUGGER_TAB_KEYS } from "./Debugger/helpers";
import { Tab, TabPanel, Tabs, TabsList } from "design-system"; import { Tab, TabPanel, Tabs, TabsList } from "design-system";

View File

@ -3,7 +3,7 @@ import styled from "styled-components";
import ActionLink from "./ActionLink"; import ActionLink from "./ActionLink";
import Highlight from "./Highlight"; import Highlight from "./Highlight";
import { getItemTitle, SEARCH_ITEM_TYPES } from "./utils"; import { getItemTitle, SEARCH_ITEM_TYPES } from "./utils";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import type { SearchItem } from "./utils"; import type { SearchItem } from "./utils";
interface Props { interface Props {

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import { connect, useSelector } from "react-redux"; import { connect, useSelector } from "react-redux";
import { getTypographyByKey, Text, TextType } from "design-system-old"; import { getTypographyByKey, Text, TextType } from "@appsmith/ads-old";
import { Icon } from "design-system"; import { Icon } from "design-system";
import { setGlobalSearchCategory } from "actions/globalSearchActions"; import { setGlobalSearchCategory } from "actions/globalSearchActions";
import { HELPBAR_PLACEHOLDER } from "ee/constants/messages"; import { HELPBAR_PLACEHOLDER } from "ee/constants/messages";

View File

@ -2,10 +2,10 @@ import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import NoSearchDataImage from "assets/images/no_search_data.png"; import NoSearchDataImage from "assets/images/no_search_data.png";
import { NO_SEARCH_DATA_TEXT } from "ee/constants/messages"; import { NO_SEARCH_DATA_TEXT } from "ee/constants/messages";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import { isAirgapped } from "ee/utils/airgapHelpers"; import { isAirgapped } from "ee/utils/airgapHelpers";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
import { DISCORD_URL } from "constants/ThirdPartyConstants"; import { DISCORD_URL } from "constants/ThirdPartyConstants";
const DiscordIcon = importSvg( const DiscordIcon = importSvg(

View File

@ -2,7 +2,7 @@ import React, { useEffect, useRef, useContext, useMemo } from "react";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
import type { Hit as IHit } from "react-instantsearch-core"; import type { Hit as IHit } from "react-instantsearch-core";
import styled, { css } from "styled-components"; import styled, { css } from "styled-components";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import Highlight from "./Highlight"; import Highlight from "./Highlight";
import ActionLink, { StyledActionLink } from "./ActionLink"; import ActionLink, { StyledActionLink } from "./ActionLink";
import scrollIntoView from "scroll-into-view-if-needed"; import scrollIntoView from "scroll-into-view-if-needed";

View File

@ -15,8 +15,8 @@ import {
getPartialImportExportLoadingState, getPartialImportExportLoadingState,
} from "ee/selectors/applicationSelectors"; } from "ee/selectors/applicationSelectors";
import { Icon, Modal, ModalContent, ModalHeader, Text } from "design-system"; import { Icon, Modal, ModalContent, ModalHeader, Text } from "design-system";
import type { SetProgress } from "design-system-old"; import type { SetProgress } from "@appsmith/ads-old";
import { FilePickerV2, FileType } from "design-system-old"; import { FilePickerV2, FileType } from "@appsmith/ads-old";
import Statusbar from "pages/Editor/gitSync/components/Statusbar"; import Statusbar from "pages/Editor/gitSync/components/Statusbar";
import React, { useCallback, useEffect, useState } from "react"; import React, { useCallback, useEffect, useState } from "react";
import { useDispatch, useSelector } from "react-redux"; import { useDispatch, useSelector } from "react-redux";

View File

@ -1,5 +1,5 @@
import type { CheckboxProps } from "design-system-old"; import type { CheckboxProps } from "@appsmith/ads-old";
import { Checkbox } from "design-system-old"; import { Checkbox } from "@appsmith/ads-old";
import React from "react"; import React from "react";
import type { BaseFieldProps } from "redux-form"; import type { BaseFieldProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";

View File

@ -12,7 +12,7 @@ import {
CodeEditorBorder, CodeEditorBorder,
EditorSize, EditorSize,
} from "components/editorComponents/CodeEditor/EditorConfig"; } from "components/editorComponents/CodeEditor/EditorConfig";
import { Classes } from "design-system-old"; import { Classes } from "@appsmith/ads-old";
import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType";
import { import {
DEFAULT_MULTI_PART_DROPDOWN_PLACEHOLDER, DEFAULT_MULTI_PART_DROPDOWN_PLACEHOLDER,

View File

@ -1,8 +1,8 @@
import React from "react"; import React from "react";
import type { BaseFieldProps } from "redux-form"; import type { BaseFieldProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";
import type { TextInputProps } from "design-system-old"; import type { TextInputProps } from "@appsmith/ads-old";
import { TextInput } from "design-system-old"; import { TextInput } from "@appsmith/ads-old";
type RenderComponentProps = TextInputProps & { type RenderComponentProps = TextInputProps & {
input?: { input?: {

View File

@ -2,7 +2,7 @@ import type { ReactElement } from "react";
import React from "react"; import React from "react";
import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";
import { TagInput } from "design-system-old"; import { TagInput } from "@appsmith/ads-old";
import type { Intent } from "constants/DefaultTheme"; import type { Intent } from "constants/DefaultTheme";
const renderComponent = ( const renderComponent = (

View File

@ -2,7 +2,7 @@ import { Component } from "react";
import type { ControlType } from "constants/PropertyControlConstants"; import type { ControlType } from "constants/PropertyControlConstants";
import type { InputType } from "components/constants"; import type { InputType } from "components/constants";
import type { ConditonalObject } from "reducers/evaluationReducers/formEvaluationReducer"; import type { ConditonalObject } from "reducers/evaluationReducers/formEvaluationReducer";
import type { DropdownOption } from "design-system-old"; import type { DropdownOption } from "@appsmith/ads-old";
import type { ViewTypes } from "./utils"; import type { ViewTypes } from "./utils";
import type { FeatureFlag } from "ee/entities/FeatureFlag"; import type { FeatureFlag } from "ee/entities/FeatureFlag";
// eslint-disable-next-line @typescript-eslint/ban-types // eslint-disable-next-line @typescript-eslint/ban-types

View File

@ -4,8 +4,8 @@ import styled from "styled-components";
import type { ControlProps } from "./BaseControl"; import type { ControlProps } from "./BaseControl";
import BaseControl from "./BaseControl"; import BaseControl from "./BaseControl";
import type { ControlType } from "constants/PropertyControlConstants"; import type { ControlType } from "constants/PropertyControlConstants";
import type { SetProgress } from "design-system-old"; import type { SetProgress } from "@appsmith/ads-old";
import { FilePickerV2, FileType } from "design-system-old"; import { FilePickerV2, FileType } from "@appsmith/ads-old";
import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";
import { useEffect, useCallback } from "react"; import { useEffect, useCallback } from "react";

View File

@ -3,7 +3,7 @@ import type { ControlProps } from "./BaseControl";
import BaseControl from "./BaseControl"; import BaseControl from "./BaseControl";
import type { ControlType } from "constants/PropertyControlConstants"; import type { ControlType } from "constants/PropertyControlConstants";
import NumberField from "components/editorComponents/form/fields/NumberField"; import NumberField from "components/editorComponents/form/fields/NumberField";
import { Classes, Text, TextType } from "design-system-old"; import { Classes, Text, TextType } from "@appsmith/ads-old";
import styled from "styled-components"; import styled from "styled-components";
const FormGroup = styled.div` const FormGroup = styled.div`

View File

@ -1,7 +1,7 @@
import React, { useEffect, useRef } from "react"; import React, { useEffect, useRef } from "react";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
import FormControl from "pages/Editor/FormControl"; import FormControl from "pages/Editor/FormControl";
import { Classes } from "design-system-old"; import { Classes } from "@appsmith/ads-old";
import styled from "styled-components"; import styled from "styled-components";
import { FieldArray, getFormValues } from "redux-form"; import { FieldArray, getFormValues } from "redux-form";
import type { ControlProps } from "./BaseControl"; import type { ControlProps } from "./BaseControl";

View File

@ -1,6 +1,6 @@
import equal from "fast-deep-equal/es6"; import equal from "fast-deep-equal/es6";
import React from "react"; import React from "react";
import { DraggableList } from "design-system-old"; import { DraggableList } from "@appsmith/ads-old";
export interface BaseItemProps { export interface BaseItemProps {
id: string; id: string;

View File

@ -1,6 +1,6 @@
import * as React from "react"; import * as React from "react";
import styled from "styled-components"; import styled from "styled-components";
import type { TextInputProps } from "design-system-old"; import type { TextInputProps } from "@appsmith/ads-old";
import type { ContainerOrientation } from "constants/WidgetConstants"; import type { ContainerOrientation } from "constants/WidgetConstants";
import { Input, Icon } from "design-system"; import { Input, Icon } from "design-system";
import useInteractionAnalyticsEvent from "utils/hooks/useInteractionAnalyticsEvent"; import useInteractionAnalyticsEvent from "utils/hooks/useInteractionAnalyticsEvent";

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";
import type { InputType } from "design-system-old"; import type { InputType } from "@appsmith/ads-old";
import { Input, NumberInput } from "design-system"; import { Input, NumberInput } from "design-system";
import type { Intent } from "constants/DefaultTheme"; import type { Intent } from "constants/DefaultTheme";

View File

@ -18,7 +18,7 @@ import {
deleteNavigationLogoSaga, deleteNavigationLogoSaga,
fetchAllApplicationsOfWorkspaceSaga, fetchAllApplicationsOfWorkspaceSaga,
} from "ce/sagas/ApplicationSagas"; } from "ce/sagas/ApplicationSagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { all, takeLatest } from "redux-saga/effects"; import { all, takeLatest } from "redux-saga/effects";
export default function* applicationSagas() { export default function* applicationSagas() {

View File

@ -2,7 +2,7 @@ export * from "ce/sagas/JSActionSagas";
import { import {
ReduxActionTypes, ReduxActionTypes,
ReduxActionErrorTypes, ReduxActionErrorTypes,
} from "@appsmith/constants/ReduxActionConstants"; } from "ee/constants/ReduxActionConstants";
import { import {
fetchJSCollectionsSaga, fetchJSCollectionsSaga,
createJSCollectionSaga, createJSCollectionSaga,

View File

@ -1,5 +1,5 @@
export * from "ce/sagas/PageSagas"; export * from "ce/sagas/PageSagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { import {
fetchPageSaga, fetchPageSaga,
fetchPublishedPageSaga, fetchPublishedPageSaga,

View File

@ -7,14 +7,14 @@ import {
RestryRestartServerPoll, RestryRestartServerPoll,
SendTestEmail, SendTestEmail,
} from "ce/sagas/SuperUserSagas"; } from "ce/sagas/SuperUserSagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import type { User } from "constants/userConstants"; import type { User } from "constants/userConstants";
import { takeLatest, all, select } from "redux-saga/effects"; import { takeLatest, all, select } from "redux-saga/effects";
import { getCurrentUser } from "selectors/usersSelectors"; import { getCurrentUser } from "selectors/usersSelectors";
import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; import type { FeatureFlags } from "ee/entities/FeatureFlag";
import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors";
import { isGACEnabled } from "@appsmith/utils/planHelpers"; import { isGACEnabled } from "ee/utils/planHelpers";
import { getShowAdminSettings } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; import { getShowAdminSettings } from "ee/utils/BusinessFeatures/adminSettingsHelpers";
export function* InitSuperUserSaga() { export function* InitSuperUserSaga() {
const user: User = yield select(getCurrentUser); const user: User = yield select(getCurrentUser);

View File

@ -14,7 +14,7 @@ import {
searchWorkspaceEntitiesSaga, searchWorkspaceEntitiesSaga,
fetchEntitiesOfWorkspaceSaga, fetchEntitiesOfWorkspaceSaga,
} from "ce/sagas/WorkspaceSagas"; } from "ce/sagas/WorkspaceSagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { all, takeLatest } from "redux-saga/effects"; import { all, takeLatest } from "redux-saga/effects";
export default function* workspaceSagas() { export default function* workspaceSagas() {

View File

@ -1,6 +1,6 @@
export * from "ce/sagas"; export * from "ce/sagas";
import { sagas as CE_Sagas } from "ce/sagas"; import { sagas as CE_Sagas } from "ce/sagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { call, all, spawn, race, take } from "redux-saga/effects"; import { call, all, spawn, race, take } from "redux-saga/effects";
import log from "loglevel"; import log from "loglevel";
import * as sentry from "@sentry/react"; import * as sentry from "@sentry/react";

View File

@ -1,5 +1,5 @@
export * from "ce/sagas/tenantSagas"; export * from "ce/sagas/tenantSagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { import {
fetchCurrentTenantConfigSaga, fetchCurrentTenantConfigSaga,
updateTenantConfigSaga, updateTenantConfigSaga,

View File

@ -18,7 +18,7 @@ import {
updateFirstTimeUserOnboardingSage, updateFirstTimeUserOnboardingSage,
fetchProductAlertSaga, fetchProductAlertSaga,
} from "ce/sagas/userSagas"; } from "ce/sagas/userSagas";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { takeLatest, all } from "redux-saga/effects"; import { takeLatest, all } from "redux-saga/effects";
export default function* userSagas() { export default function* userSagas() {

View File

@ -2,7 +2,7 @@ import type { JSXElementConstructor } from "react";
import React from "react"; import React from "react";
import type { IconProps } from "constants/IconConstants"; import type { IconProps } from "constants/IconConstants";
import { IconWrapper } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
const InfoIcon = importSvg(async () => import("assets/icons/alert/info.svg")); const InfoIcon = importSvg(async () => import("assets/icons/alert/info.svg"));
const SuccessIcon = importSvg( const SuccessIcon = importSvg(

View File

@ -2,7 +2,7 @@
import type { JSXElementConstructor } from "react"; import type { JSXElementConstructor } from "react";
import React from "react"; import React from "react";
import { importRemixIcon, importSvg } from "design-system-old"; import { importRemixIcon, importSvg } from "@appsmith/ads-old";
import type { IconProps } from "constants/IconConstants"; import type { IconProps } from "constants/IconConstants";
import { IconWrapper } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants";
import PlayIcon from "assets/icons/control/play-icon.png"; import PlayIcon from "assets/icons/control/play-icon.png";

View File

@ -4,7 +4,7 @@ import { Icon } from "@blueprintjs/core";
import { IconNames } from "@blueprintjs/icons"; import { IconNames } from "@blueprintjs/icons";
import type { IconProps } from "constants/IconConstants"; import type { IconProps } from "constants/IconConstants";
import { IconWrapper } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants";
import { importRemixIcon, importSvg } from "design-system-old"; import { importRemixIcon, importSvg } from "@appsmith/ads-old";
const InfoIcon = importSvg( const InfoIcon = importSvg(
async () => import("assets/icons/form/info-outline.svg"), async () => import("assets/icons/form/info-outline.svg"),

View File

@ -2,7 +2,7 @@ import type { JSXElementConstructor } from "react";
import React from "react"; import React from "react";
import type { IconProps } from "constants/IconConstants"; import type { IconProps } from "constants/IconConstants";
import { IconWrapper } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants";
import { importRemixIcon } from "design-system-old"; import { importRemixIcon } from "@appsmith/ads-old";
const ShareIcon = importRemixIcon( const ShareIcon = importRemixIcon(
async () => import("remixicon-react/ShareBoxFillIcon"), async () => import("remixicon-react/ShareBoxFillIcon"),

View File

@ -3,7 +3,7 @@ import React from "react";
import type { IconProps } from "constants/IconConstants"; import type { IconProps } from "constants/IconConstants";
import { IconWrapper } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants";
import { Icon } from "@blueprintjs/core"; import { Icon } from "@blueprintjs/core";
import { importRemixIcon, importSvg } from "design-system-old"; import { importRemixIcon, importSvg } from "@appsmith/ads-old";
const UpdatesIcon = importSvg( const UpdatesIcon = importSvg(
async () => import("assets/icons/help/updates.svg"), async () => import("assets/icons/help/updates.svg"),

View File

@ -5,7 +5,7 @@ import { Icon } from "@blueprintjs/core";
import styled from "styled-components"; import styled from "styled-components";
import { Colors } from "constants/Colors"; import { Colors } from "constants/Colors";
import { Icon as DSIcon } from "design-system"; import { Icon as DSIcon } from "design-system";
import { importRemixIcon, importSvg } from "design-system-old"; import { importRemixIcon, importSvg } from "@appsmith/ads-old";
const ApisIcon = importSvg(async () => import("assets/icons/menu/api.svg")); const ApisIcon = importSvg(async () => import("assets/icons/menu/api.svg"));
const WorkspaceIcon = importSvg( const WorkspaceIcon = importSvg(

View File

@ -6,7 +6,7 @@ import "./wdyr";
import ReactDOM from "react-dom"; import ReactDOM from "react-dom";
import { Provider } from "react-redux"; import { Provider } from "react-redux";
import "./index.css"; import "./index.css";
import "design-system-old/src/themes/default/index.css"; import "@appsmith/ads-old/src/themes/default/index.css";
import "design-system/src/__theme__/default/index.css"; import "design-system/src/__theme__/default/index.css";
import { ThemeProvider } from "styled-components"; import { ThemeProvider } from "styled-components";
import { appInitializer } from "utils/AppUtils"; import { appInitializer } from "utils/AppUtils";

View File

@ -4,7 +4,7 @@ import { useDispatch, useSelector } from "react-redux";
import { getCurrentApplicationLayout } from "selectors/editorSelectors"; import { getCurrentApplicationLayout } from "selectors/editorSelectors";
import { setAutoCanvasResizing } from "actions/autoLayoutActions"; import { setAutoCanvasResizing } from "actions/autoLayoutActions";
import styled from "styled-components"; import styled from "styled-components";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
import { CANVAS_VIEWPORT } from "constants/componentClassNameConstants"; import { CANVAS_VIEWPORT } from "constants/componentClassNameConstants";
import { AUTOLAYOUT_RESIZER_WIDTH_BUFFER } from "./constants"; import { AUTOLAYOUT_RESIZER_WIDTH_BUFFER } from "./constants";

View File

@ -11,7 +11,7 @@ import {
} from "actions/widgetActions"; } from "actions/widgetActions";
import { modText } from "utils/helpers"; import { modText } from "utils/helpers";
import { Layers } from "constants/Layers"; import { Layers } from "constants/Layers";
import { TooltipComponent as Tooltip } from "design-system-old"; import { TooltipComponent as Tooltip } from "@appsmith/ads-old";
import { getSelectedWidgets } from "selectors/ui"; import { getSelectedWidgets } from "selectors/ui";
import { stopEventPropagation } from "utils/AppsmithUtils"; import { stopEventPropagation } from "utils/AppsmithUtils";

View File

@ -3,7 +3,7 @@ import { Text } from "design-system";
import PreviewBox from "./PreviewBox"; import PreviewBox from "./PreviewBox";
import type { PreviewsProps } from "."; import type { PreviewsProps } from ".";
import { ContentBox } from "pages/AdminSettings/components"; import { ContentBox } from "pages/AdminSettings/components";
import { importRemixIcon } from "design-system-old"; import { importRemixIcon } from "@appsmith/ads-old";
const DashboardThumbnail = (props: PreviewsProps) => { const DashboardThumbnail = (props: PreviewsProps) => {
const { shades } = props; const { shades } = props;

View File

@ -1,6 +1,6 @@
import React, { useEffect, useState } from "react"; import React, { useEffect, useState } from "react";
import type { ReactElement } from "react"; import type { ReactElement } from "react";
import { FieldError } from "design-system-old"; import { FieldError } from "@appsmith/ads-old";
import { Popover2 } from "@blueprintjs/popover2"; import { Popover2 } from "@blueprintjs/popover2";
import { FormGroup, type SettingComponentProps } from "./Common"; import { FormGroup, type SettingComponentProps } from "./Common";
import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form";

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";
import { TagInput } from "design-system-old"; import { TagInput } from "@appsmith/ads-old";
import { FormGroup } from "./Common"; import { FormGroup } from "./Common";
import type { Intent } from "constants/DefaultTheme"; import type { Intent } from "constants/DefaultTheme";
import type { Setting } from "ee/pages/AdminSettings/config/types"; import type { Setting } from "ee/pages/AdminSettings/config/types";

View File

@ -2,7 +2,7 @@ import React from "react";
import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form";
import { Field } from "redux-form"; import { Field } from "redux-form";
import type { Intent } from "constants/DefaultTheme"; import type { Intent } from "constants/DefaultTheme";
import { FieldError } from "design-system-old"; import { FieldError } from "@appsmith/ads-old";
import { Input } from "design-system"; import { Input } from "design-system";
import type { Setting } from "ee/pages/AdminSettings/config/types"; import type { Setting } from "ee/pages/AdminSettings/config/types";

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { hexToRgba } from "design-system-old"; import { hexToRgba } from "@appsmith/ads-old";
import { Button, Icon, Spinner, Text } from "design-system"; import { Button, Icon, Spinner, Text } from "design-system";
import { import {
getIsRestartFailed, getIsRestartFailed,

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { Breadcrumbs } from "design-system-old"; import { Breadcrumbs } from "@appsmith/ads-old";
import { BreadcrumbCategories } from "ee/pages/AdminSettings/BreadcrumbCategories"; import { BreadcrumbCategories } from "ee/pages/AdminSettings/BreadcrumbCategories";
export const getBreadcrumbList = (category: string, subCategory?: string) => { export const getBreadcrumbList = (category: string, subCategory?: string) => {

View File

@ -9,7 +9,7 @@ import {
getMenuItemTextColor, getMenuItemTextColor,
getSignInButtonStyles, getSignInButtonStyles,
} from "./utils"; } from "./utils";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
const StyledButton = styled(Button)<{ const StyledButton = styled(Button)<{
primaryColor: string; primaryColor: string;

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
import styled from "styled-components"; import styled from "styled-components";
import { Text } from "design-system"; import { Text } from "design-system";
const AppsmithLogo = importSvg( const AppsmithLogo = importSvg(

View File

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
const AppsmithLogo = importSvg( const AppsmithLogo = importSvg(
async () => import("assets/svg/appsmith-logo-no-pad.svg"), async () => import("assets/svg/appsmith-logo-no-pad.svg"),

View File

@ -4,7 +4,7 @@ import {
LOCK_SIDEBAR_MESSAGE, LOCK_SIDEBAR_MESSAGE,
} from "ee/constants/messages"; } from "ee/constants/messages";
import classNames from "classnames"; import classNames from "classnames";
import { TooltipComponent } from "design-system-old"; import { TooltipComponent } from "@appsmith/ads-old";
import React from "react"; import React from "react";
import type { NavigationSetting } from "constants/AppConstants"; import type { NavigationSetting } from "constants/AppConstants";
import { import {
@ -12,7 +12,7 @@ import {
StyledIconContainer, StyledIconContainer,
TooltipStyles, TooltipStyles,
} from "./CollapseButton.styled"; } from "./CollapseButton.styled";
import { importSvg } from "design-system-old"; import { importSvg } from "@appsmith/ads-old";
const UnpinIcon = importSvg( const UnpinIcon = importSvg(
async () => import("assets/icons/ads/double-arrow-right.svg"), async () => import("assets/icons/ads/double-arrow-right.svg"),

View File

@ -10,7 +10,7 @@ import { builderURL, viewerURL } from "ee/RouteBuilder";
import { getAppMode } from "ee/selectors/applicationSelectors"; import { getAppMode } from "ee/selectors/applicationSelectors";
import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { getSelectedAppTheme } from "selectors/appThemingSelectors";
import { trimQueryString } from "utils/helpers"; import { trimQueryString } from "utils/helpers";
import { Icon } from "design-system-old"; import { Icon } from "@appsmith/ads-old";
import MenuText from "./MenuText"; import MenuText from "./MenuText";
import classNames from "classnames"; import classNames from "classnames";
import { StyledMenuItem } from "./MenuItem.styled"; import { StyledMenuItem } from "./MenuItem.styled";

View File

@ -1,5 +1,5 @@
import type { NavigationSetting } from "constants/AppConstants"; import type { NavigationSetting } from "constants/AppConstants";
import { getTypographyByKey } from "design-system-old"; import { getTypographyByKey } from "@appsmith/ads-old";
import styled from "styled-components"; import styled from "styled-components";
export const StyledMenuItemText = styled.div<{ export const StyledMenuItemText = styled.div<{

View File

@ -1,6 +1,6 @@
import React, { useEffect, useRef, useState } from "react"; import React, { useEffect, useRef, useState } from "react";
import type { NavigationSetting } from "constants/AppConstants"; import type { NavigationSetting } from "constants/AppConstants";
import { TooltipComponent } from "design-system-old"; import { TooltipComponent } from "@appsmith/ads-old";
import { isEllipsisActive } from "utils/helpers"; import { isEllipsisActive } from "utils/helpers";
import { StyledMenuItemText } from "./MenuText.styled"; import { StyledMenuItemText } from "./MenuText.styled";

View File

@ -8,7 +8,7 @@ import {
import styled from "styled-components"; import styled from "styled-components";
import Button from "pages/AppViewer/AppViewerButton"; import Button from "pages/AppViewer/AppViewerButton";
import { NavLink } from "react-router-dom"; import { NavLink } from "react-router-dom";
import { Menu } from "design-system-old"; import { Menu } from "@appsmith/ads-old";
export const StyleMoreDropdownButton = styled(Button)<{ export const StyleMoreDropdownButton = styled(Button)<{
borderRadius: string; borderRadius: string;

View File

@ -7,7 +7,7 @@ import type {
Page, Page,
} from "ee/constants/ReduxActionConstants"; } from "ee/constants/ReduxActionConstants";
import { isEllipsisActive, trimQueryString } from "utils/helpers"; import { isEllipsisActive, trimQueryString } from "utils/helpers";
import { getTypographyByKey, TooltipComponent } from "design-system-old"; import { getTypographyByKey, TooltipComponent } from "@appsmith/ads-old";
import { getAppMode } from "ee/selectors/applicationSelectors"; import { getAppMode } from "ee/selectors/applicationSelectors";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { getSelectedAppTheme } from "selectors/appThemingSelectors";

View File

@ -17,14 +17,14 @@ import {
getApplicationIcon, getApplicationIcon,
getRandomPaletteColor, getRandomPaletteColor,
} from "utils/AppsmithUtils"; } from "utils/AppsmithUtils";
import type { AppIconName } from "design-system-old"; import type { AppIconName } from "@appsmith/ads-old";
import { import {
ColorSelector, ColorSelector,
EditableText, EditableText,
EditInteractionKind, EditInteractionKind,
IconSelector, IconSelector,
SavingState, SavingState,
} from "design-system-old"; } from "@appsmith/ads-old";
import type { MenuItemProps } from "design-system"; import type { MenuItemProps } from "design-system";
import { import {
Button, Button,

View File

@ -1,4 +1,4 @@
import type { AppIconName } from "design-system-old"; import type { AppIconName } from "@appsmith/ads-old";
import type { AppColorCode } from "constants/DefaultTheme"; import type { AppColorCode } from "constants/DefaultTheme";
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
import { SubmissionError } from "redux-form"; import { SubmissionError } from "redux-form";

View File

@ -1,6 +1,6 @@
import React, { useMemo, useCallback, useEffect } from "react"; import React, { useMemo, useCallback, useEffect } from "react";
import styled from "styled-components"; import styled from "styled-components";
import { Classes, FontWeight, Text, TextType } from "design-system-old"; import { Classes, FontWeight, Text, TextType } from "@appsmith/ads-old";
import history from "utils/history"; import history from "utils/history";
import { TabbedViewContainer } from "./CommonEditorForm"; import { TabbedViewContainer } from "./CommonEditorForm";
import get from "lodash/get"; import get from "lodash/get";

View File

@ -23,7 +23,7 @@ import ActionNameEditor from "components/editorComponents/ActionNameEditor";
import ActionSettings from "pages/Editor/ActionSettings"; import ActionSettings from "pages/Editor/ActionSettings";
import RequestDropdownField from "components/editorComponents/form/fields/RequestDropdownField"; import RequestDropdownField from "components/editorComponents/form/fields/RequestDropdownField";
import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig";
import { Classes } from "design-system-old"; import { Classes } from "@appsmith/ads-old";
import { import {
Button, Button,
Callout, Callout,

View File

@ -4,7 +4,7 @@ import { change, formValueSelector } from "redux-form";
import FormRow from "components/editorComponents/FormRow"; import FormRow from "components/editorComponents/FormRow";
import { PaginationType } from "entities/Action"; import { PaginationType } from "entities/Action";
import RadioFieldGroup from "components/editorComponents/form/fields/RadioGroupField"; import RadioFieldGroup from "components/editorComponents/form/fields/RadioGroupField";
import type { DropdownOption } from "design-system-old"; import type { DropdownOption } from "@appsmith/ads-old";
import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig";
import type { AnyAction, Dispatch } from "redux"; import type { AnyAction, Dispatch } from "redux";
import { bindActionCreators } from "redux"; import { bindActionCreators } from "redux";

View File

@ -15,7 +15,7 @@ import {
TabBehaviour, TabBehaviour,
} from "components/editorComponents/CodeEditor/EditorConfig"; } from "components/editorComponents/CodeEditor/EditorConfig";
import styled from "styled-components"; import styled from "styled-components";
import { Text, TextType } from "design-system-old"; import { Text, TextType } from "@appsmith/ads-old";
import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor";
const QueryHeader = styled.div` const QueryHeader = styled.div`

View File

@ -7,7 +7,7 @@ import {
TabBehaviour, TabBehaviour,
} from "components/editorComponents/CodeEditor/EditorConfig"; } from "components/editorComponents/CodeEditor/EditorConfig";
import styled from "styled-components"; import styled from "styled-components";
import { Text, TextType } from "design-system-old"; import { Text, TextType } from "@appsmith/ads-old";
import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField"; import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField";
import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType";

View File

@ -5,11 +5,11 @@ import DynamicTextField from "components/editorComponents/form/fields/DynamicTex
import FormRow from "components/editorComponents/FormRow"; import FormRow from "components/editorComponents/FormRow";
import { PaginationType } from "entities/Action"; import { PaginationType } from "entities/Action";
import RadioFieldGroup from "components/editorComponents/form/fields/RadioGroupField"; import RadioFieldGroup from "components/editorComponents/form/fields/RadioGroupField";
import { Classes, Text, TextType } from "design-system-old"; import { Classes, Text, TextType } from "@appsmith/ads-old";
import { Button } from "design-system"; import { Button } from "design-system";
import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig";
import { CodeEditorBorder } from "components/editorComponents/CodeEditor/EditorConfig"; import { CodeEditorBorder } from "components/editorComponents/CodeEditor/EditorConfig";
import { GifPlayer } from "design-system-old"; import { GifPlayer } from "@appsmith/ads-old";
import thumbnail from "assets/icons/gifs/thumbnail.png"; import thumbnail from "assets/icons/gifs/thumbnail.png";
import configPagination from "assets/icons/gifs/config_pagination.gif"; import configPagination from "assets/icons/gifs/config_pagination.gif";

View File

@ -18,7 +18,7 @@ import {
EditorSize, EditorSize,
TabBehaviour, TabBehaviour,
} from "components/editorComponents/CodeEditor/EditorConfig"; } from "components/editorComponents/CodeEditor/EditorConfig";
import { Classes } from "design-system-old"; import { Classes } from "@appsmith/ads-old";
import { updateBodyContentType } from "actions/apiPaneActions"; import { updateBodyContentType } from "actions/apiPaneActions";
import type { CodeEditorExpected } from "components/editorComponents/CodeEditor"; import type { CodeEditorExpected } from "components/editorComponents/CodeEditor";
import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType";

View File

@ -9,7 +9,7 @@ import PostBodyData from "./PostBodyData";
import type { AppState } from "ee/reducers"; import type { AppState } from "ee/reducers";
import { getApiName } from "selectors/formSelectors"; import { getApiName } from "selectors/formSelectors";
import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig";
import { Classes, Text, TextType } from "design-system-old"; import { Classes, Text, TextType } from "@appsmith/ads-old";
import { createMessage, API_PANE_NO_BODY } from "ee/constants/messages"; import { createMessage, API_PANE_NO_BODY } from "ee/constants/messages";
import get from "lodash/get"; import get from "lodash/get";
import type { Datasource } from "entities/Datasource"; import type { Datasource } from "entities/Datasource";

View File

@ -2,7 +2,7 @@ import { setPageOrder } from "actions/pageActions";
import styled from "styled-components"; import styled from "styled-components";
import type { Page } from "ee/constants/ReduxActionConstants"; import type { Page } from "ee/constants/ReduxActionConstants";
// import classNames from "classnames"; // import classNames from "classnames";
import { DraggableList } from "design-system-old"; import { DraggableList } from "@appsmith/ads-old";
import { MenuIcons } from "icons/MenuIcons"; import { MenuIcons } from "icons/MenuIcons";
import React, { useRef } from "react"; import React, { useRef } from "react";
import { useDispatch, useSelector } from "react-redux"; import { useDispatch, useSelector } from "react-redux";

View File

@ -6,9 +6,9 @@ import {
GENERAL_SETTINGS_NAME_EMPTY_MESSAGE, GENERAL_SETTINGS_NAME_EMPTY_MESSAGE,
} from "ee/constants/messages"; } from "ee/constants/messages";
import classNames from "classnames"; import classNames from "classnames";
import type { AppIconName } from "design-system-old"; import type { AppIconName } from "@appsmith/ads-old";
import { Input, Text } from "design-system"; import { Input, Text } from "design-system";
import { IconSelector } from "design-system-old"; import { IconSelector } from "@appsmith/ads-old";
import { debounce } from "lodash"; import { debounce } from "lodash";
import React, { useCallback, useState } from "react"; import React, { useCallback, useState } from "react";
import { useEffect } from "react"; import { useEffect } from "react";

View File

@ -1,6 +1,6 @@
import React from "react"; import React from "react";
import styled from "styled-components"; import styled from "styled-components";
import { TextType, Text } from "design-system-old"; import { TextType, Text } from "@appsmith/ads-old";
import type { SegmentedControlOption } from "design-system"; import type { SegmentedControlOption } from "design-system";
import { SegmentedControl } from "design-system"; import { SegmentedControl } from "design-system";
import type { import type {

View File

@ -4,7 +4,7 @@ import {
createMessage, createMessage,
} from "ee/constants/messages"; } from "ee/constants/messages";
import { Input, Text } from "design-system"; import { Input, Text } from "design-system";
import { emailValidator } from "design-system-old"; import { emailValidator } from "@appsmith/ads-old";
import React, { useMemo } from "react"; import React, { useMemo } from "react";
import styled from "styled-components"; import styled from "styled-components";

Some files were not shown because too many files have changed in this diff Show More