Generic reusable utilities, these are pure functions with no dependencies.
Utilities for array manipulation.
import * as arrUtils from 'cd-utils/array';A class for creating a cache of strings
import * as cacheUtils from 'cd-utils/cache';Read and write to the clipboard
import * as clipboardUtils from 'cd-utils/clipboard';Color parsing and manipulation used by the color picker and design system
import * as colorUtils from 'cd-utils/color';Util for calling execCommand used by the rich text editing
import { executeCommand } from 'cd-utils/content-editable';Helper functions for manipulating css
import * as cssUtils from 'cd-utils/css';Generate and manage unique identifiers
import * as guidUtils from 'cd-utils/guid';Generic dom manipulation utils
import * as domUtils from 'cd-utils/dom';Utils to handle DragEvent which is used when dragging and dropping assets / data. ( Unrelated to our synthetic drag and drop service in the app )
import * as dragUtils from 'cd-utils/dom';Blob and file manipulation
import * as fileUtils from 'cd-utils/files';Utilities for distance, points, rectangles etc
import * as geoUtils from 'cd-utils/geometry';Used to parse keyboard event codes.
TODO: @ consolidate with cd-metadata
import * as keyUtils from 'cd-utils/keycodes';JavaScript Map() utils
import * as mapUtils from 'cd-utils/map';Number manipulation utils
import * as numUtils from 'cd-utils/numeric';Object utils for merging and equality
import * as objUtils from 'cd-utils/object';Select text range or clear
import * as selectionUtils from 'cd-utils/selection';JavaScript Set() utils
import * as setUtils from 'cd-utils/set';String transformation
import * as stringUtils from 'cd-utils/string';Used by the renderer to add and remove stylesheets + fonts.
import * as sheetUtils from 'cd-utils/stylesheet';Generate SVG Path information
import * as svgUtils from 'cd-utils/svg';import { openLinkInNewTab, prefixUrlWithHTTPS } from 'cd-utils/url';