[FRONT COMPONENTS] Move to twenty-sdk (#17587)

Move front components from twenty-shared to twenty-sdk
This commit is contained in:
Raphaël Bosi
2026-02-02 13:21:53 +01:00
committed by GitHub
parent b2218cbbf2
commit f0bc9fcb43
63 changed files with 146 additions and 139 deletions
@@ -0,0 +1,4 @@
export const CUSTOM_ELEMENT_NAMES = {
ROOT: 'remote-root',
FRAGMENT: 'remote-fragment',
} as const;
@@ -0,0 +1,4 @@
export const INTERNAL_ELEMENT_CLASSES = {
ROOT: 'RemoteRootElement',
FRAGMENT: 'RemoteFragmentElement',
} as const;
@@ -0,0 +1,5 @@
export const OUTPUT_FILES = {
REMOTE_ELEMENTS: 'remote-elements.ts',
REMOTE_COMPONENTS: 'remote-components.ts',
HOST_REGISTRY: 'host-component-registry.ts',
} as const;
@@ -0,0 +1,7 @@
export const TYPE_NAMES = {
COMMON_PROPERTIES: 'HtmlCommonProperties',
COMMON_EVENTS: 'HtmlCommonEvents',
COMMON_PROPERTIES_CONFIG: 'HTML_COMMON_PROPERTIES_CONFIG',
COMMON_EVENTS_ARRAY: 'HTML_COMMON_EVENTS_ARRAY',
EMPTY_RECORD: 'Record<string, never>',
} as const;
@@ -0,0 +1,4 @@
export { CUSTOM_ELEMENT_NAMES } from './CustomElementNames';
export { INTERNAL_ELEMENT_CLASSES } from './InternalElementClasses';
export { OUTPUT_FILES } from './OutputFiles';
export { TYPE_NAMES } from './TypeNames';