mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

- ThemedComponent wrappers should always import their base component. This ensures that it's always enough to only import the wrapper when we use it. - This implies that all themeable components must be standalone → added rules to enforce this → updated usage rule to improve declaration/import handling
26 lines
733 B
TypeScript
26 lines
733 B
TypeScript
/**
|
|
* The contents of this file are subject to the license and copyright
|
|
* detailed in the LICENSE and NOTICE files at the root of the source
|
|
* tree and available online at
|
|
*
|
|
* http://www.dspace.org/license/
|
|
*/
|
|
import {
|
|
bundle,
|
|
RuleExports,
|
|
} from '../../util/structure';
|
|
/* eslint-disable import/no-namespace */
|
|
import * as themedComponentClasses from './themed-component-classes';
|
|
import * as themedComponentSelectors from './themed-component-selectors';
|
|
import * as themedComponentUsages from './themed-component-usages';
|
|
|
|
const index = [
|
|
themedComponentClasses,
|
|
themedComponentSelectors,
|
|
themedComponentUsages,
|
|
] as unknown as RuleExports[];
|
|
|
|
export = {
|
|
...bundle('dspace-angular-ts', 'TypeScript', index),
|
|
};
|