@eightshift/frontend-libs
Version:
A collection of useful frontend utility modules. powered by Eightshift
46 lines (44 loc) • 1.06 kB
JavaScript
// All exports are sorted in alphabetical order.
export {
overrideInnerBlockAttributes,
overrideInnerBlockSimpleWrapperAttributes,
checkAttr,
checkAttrResponsive,
getAttrKey,
props,
} from './attributes';
export { getPaletteColors } from './colors';
export {
outputCssVariablesGlobal,
outputCssVariables,
hexToRgb,
getUnique,
} from './css-variables';
export {
GutenbergBlock,
lockIfUndefined,
lockPostEditing,
unlockPostEditing,
getResponsiveLegacyData,
generateOptionsFromValue,
} from './editor';
export { getFetchWpApi, fetchFromWpRest, wpSearchRoute } from './fetch';
export { inserter } from './inserter';
export { getOption, getOptionColors, getOptions } from './options';
export { pasteInto } from './paste-handler';
export {
getAttributes,
getExample,
getFullBlockName,
getFullBlockNameVariation,
registerBlocks,
registerVariations,
} from './registration';
export { bem, selector, responsiveSelectors } from './selectors';
export {
STORE_NAME,
BUILD_VERSION,
setStore,
setStoreGlobalWindow,
setConfigFlags,
} from './store';