## Description Why did this PR appear? I wanted to replace the icons from `ads-old` with the icons from `ads`. After that, I had to fix some affected components in `ads-old` and in the main app. In the process, I discovered that a large amount of code is simply not being used. ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10419944222> > Commit: 86491f43aff37e34468fb7dc32722b9ef2ec60c9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10419944222&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Fri, 16 Aug 2024 13:28:03 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 is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved precision in UI element targeting for enhanced test reliability. - Broadened icon options within the FilePickerComponent for greater flexibility. - **Improvements** - Shifted component imports to a centralized design system for better consistency. - Simplified prop structures for the Button component to enhance clarity. - Enhanced validation utilities available for form handling and input validation. - **Bug Fixes** - Enhanced robustness of element locators, reducing potential UI interaction issues. - **Refactor** - Adjusted component properties to align with updated design guidelines, promoting semantic usage. - Consolidated exports to emphasize type definitions and utility functions for better maintainability. - **Chores** - Cleaned up imports and updated code structure for improved maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
99 lines
2.8 KiB
TypeScript
99 lines
2.8 KiB
TypeScript
// Everything exported from this file is a named export
|
|
|
|
export { default as AppIcon } from "./AppIcon";
|
|
export * from "./AppIcon";
|
|
|
|
export { default as Checkbox } from "./Checkbox";
|
|
export * from "./Checkbox";
|
|
|
|
export { default as ColorSelector } from "./ColorSelector";
|
|
export * from "./ColorSelector";
|
|
|
|
export * from "./ControlIcons";
|
|
|
|
export { default as DialogComponent } from "./DialogComponent";
|
|
export * from "./DialogComponent";
|
|
|
|
export { default as DisplayImageUpload } from "./DisplayImageUpload";
|
|
export * from "./DisplayImageUpload";
|
|
|
|
export { default as DraggableList } from "./DraggableList";
|
|
export * from "./DraggableList";
|
|
|
|
export type {
|
|
DropdownOption,
|
|
DropdownOnSelect,
|
|
RenderDropdownOptionType,
|
|
} from "./Dropdown";
|
|
|
|
export { default as EditableText } from "./EditableText";
|
|
export * from "./EditableText";
|
|
|
|
export { default as EditableTextSubComponent } from "./EditableTextSubComponent";
|
|
export * from "./EditableTextSubComponent";
|
|
|
|
export { default as FieldError } from "./FieldError";
|
|
export * from "./FieldError";
|
|
|
|
export { default as FilePickerV2 } from "./FilePickerV2";
|
|
export * from "./FilePickerV2";
|
|
|
|
export { default as FormGroup } from "./FormGroup";
|
|
|
|
export { default as GifPlayer } from "./GifPlayer";
|
|
export * from "./GifPlayer";
|
|
|
|
export * from "./HighlightText";
|
|
|
|
export { default as IconSelector } from "./IconSelector";
|
|
export * from "./IconSelector";
|
|
|
|
export { default as Menu } from "./Menu";
|
|
export * from "./Menu";
|
|
|
|
export { default as MenuItem } from "./MenuItem";
|
|
export * from "./MenuItem";
|
|
|
|
export { default as ProgressiveImage } from "./ProgressiveImage";
|
|
export * from "./ProgressiveImage";
|
|
|
|
export { default as RectangularSwitcher } from "./RectangularSwitcher";
|
|
export * from "./RectangularSwitcher";
|
|
|
|
export { default as SearchComponent } from "./SearchComponent";
|
|
export * from "./SearchComponent";
|
|
|
|
export { default as Statusbar } from "./Statusbar";
|
|
export * from "./Statusbar";
|
|
|
|
export { default as Switch } from "./Switch";
|
|
export * from "./Switch";
|
|
|
|
export { default as Switcher } from "./Switcher";
|
|
export * from "./Switcher";
|
|
|
|
export { default as Table } from "./Table";
|
|
export * from "./Table";
|
|
|
|
export { default as TagInput } from "./TagInput";
|
|
export * from "./TagInput";
|
|
|
|
export { default as Text } from "./Text";
|
|
export * from "./Text";
|
|
|
|
export { default as TooltipComponent } from "./Tooltip";
|
|
export * from "./Tooltip";
|
|
|
|
export { default as TreeDropdown } from "./TreeDropdown";
|
|
export * from "./TreeDropdown";
|
|
|
|
export * from "./constants/messages";
|
|
export * from "./constants/classes";
|
|
export * from "./constants/typography";
|
|
export * from "./constants/variants";
|
|
export * from "./types/common";
|
|
export * from "./utils/colors";
|
|
export * from "./utils/icon-loadables";
|
|
export * from "./utils/emailValidator";
|
|
export * from "./utils/notEmptyValidator";
|