diff --git a/packages/core/package.json b/packages/core/package.json index c756ca0e..0ec98283 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@dark-engine/core", - "version": "0.19.2", + "version": "0.20.0", "description": "The lightweight and powerful UI rendering engine without dependencies and written in TypeScript (Browser, Node.js, Android, iOS)", "author": "AlexPlex", "license": "MIT", diff --git a/packages/native-navigation/package.json b/packages/native-navigation/package.json index a8db5f66..d6e12e28 100644 --- a/packages/native-navigation/package.json +++ b/packages/native-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@dark-engine/native-navigation", - "version": "0.19.2", + "version": "0.20.0", "description": "Dark navigation for NativeScript platform", "author": "AlexPlex", "license": "MIT", diff --git a/packages/platform-browser/package.json b/packages/platform-browser/package.json index 1c8cfc88..53909833 100644 --- a/packages/platform-browser/package.json +++ b/packages/platform-browser/package.json @@ -1,6 +1,6 @@ { "name": "@dark-engine/platform-browser", - "version": "0.19.2", + "version": "0.20.0", "description": "Dark renderer for browser", "author": "AlexPlex", "license": "MIT", diff --git a/packages/platform-native/package.json b/packages/platform-native/package.json index 3e6261a2..bdf766ea 100644 --- a/packages/platform-native/package.json +++ b/packages/platform-native/package.json @@ -1,6 +1,6 @@ { "name": "@dark-engine/platform-native", - "version": "0.19.2", + "version": "0.20.0", "description": "Dark renderer to native platforms like Android and iOS via NativeScript", "author": "AlexPlex", "license": "MIT", diff --git a/packages/platform-native/src/jsx.ts b/packages/platform-native/src/jsx.ts index 852fbb95..548ba611 100644 --- a/packages/platform-native/src/jsx.ts +++ b/packages/platform-native/src/jsx.ts @@ -976,46 +976,46 @@ export type ListViewAttributes = ViewAttributes & { separatorColor?: string | Color; }; -// declare global { -// namespace JSX { -// interface IntrinsicElements { -// // @ts-ignore -// frame: FrameAttributes; -// page: PageAttributes; -// 'content-view': ContentViewAttributes; -// 'scroll-view': ScrollViewAttributes; -// 'root-layout': RootLayoutAttributes; -// 'absolute-layout': AbsoluteLayoutAttributes; -// 'stack-layout': StackLayoutAttributes; -// 'dock-layout': DockLayoutAttributes; -// 'flexbox-layout': FlexboxLayoutAttributes; -// 'grid-layout': GridLayoutAttributes; -// 'wrap-layout': WrapLayoutAttributes; -// label: LabelAttributes; -// button: ButtonAttributes; -// 'html-view': HtmlViewAttributes; -// 'web-view': WebViewAttributes; -// 'action-bar': ActionBarAttributes; -// 'action-item': ActionItemAttributes; -// 'navigation-button': NavigationButtonAttributes; -// 'activity-indicator': ActivityIndicatorAttributes; -// 'formatted-string': FormattedStringAttributes; -// span: SpanAttributes; -// image: ImageAttributes; -// 'list-picker': ListPickerAttributes; -// placeholder: PlaceholderAttributes; -// progress: ProgressAttributes; -// 'search-bar': SearchBarAttributes; -// 'segmented-bar': SegmentedBarAttributes; -// 'segmented-bar-item': SegmentedBarItemAttributes; -// slider: SliderAttributes; -// switch: SwitchAttributes; -// 'text-field': TextFieldAttributes; -// 'text-view': TextViewAttributes; -// 'date-picker': DatePickerAttributes; -// 'time-picker': TimePickerAttributes; -// 'tab-view': TabViewAttributes; -// 'tab-view-item': TabViewItemAttributes; -// } -// } -// } +declare global { + namespace JSX { + interface IntrinsicElements { + // @ts-ignore + frame: FrameAttributes; + page: PageAttributes; + 'content-view': ContentViewAttributes; + 'scroll-view': ScrollViewAttributes; + 'root-layout': RootLayoutAttributes; + 'absolute-layout': AbsoluteLayoutAttributes; + 'stack-layout': StackLayoutAttributes; + 'dock-layout': DockLayoutAttributes; + 'flexbox-layout': FlexboxLayoutAttributes; + 'grid-layout': GridLayoutAttributes; + 'wrap-layout': WrapLayoutAttributes; + label: LabelAttributes; + button: ButtonAttributes; + 'html-view': HtmlViewAttributes; + 'web-view': WebViewAttributes; + 'action-bar': ActionBarAttributes; + 'action-item': ActionItemAttributes; + 'navigation-button': NavigationButtonAttributes; + 'activity-indicator': ActivityIndicatorAttributes; + 'formatted-string': FormattedStringAttributes; + span: SpanAttributes; + image: ImageAttributes; + 'list-picker': ListPickerAttributes; + placeholder: PlaceholderAttributes; + progress: ProgressAttributes; + 'search-bar': SearchBarAttributes; + 'segmented-bar': SegmentedBarAttributes; + 'segmented-bar-item': SegmentedBarItemAttributes; + slider: SliderAttributes; + switch: SwitchAttributes; + 'text-field': TextFieldAttributes; + 'text-view': TextViewAttributes; + 'date-picker': DatePickerAttributes; + 'time-picker': TimePickerAttributes; + 'tab-view': TabViewAttributes; + 'tab-view-item': TabViewItemAttributes; + } + } +} diff --git a/packages/platform-server/package.json b/packages/platform-server/package.json index 9a49abc3..6a9a3514 100644 --- a/packages/platform-server/package.json +++ b/packages/platform-server/package.json @@ -1,6 +1,6 @@ { "name": "@dark-engine/platform-server", - "version": "0.19.2", + "version": "0.20.0", "description": "Dark renderer for server", "author": "AlexPlex", "license": "MIT", diff --git a/packages/web-router/package.json b/packages/web-router/package.json index 6a54772f..83f5393e 100644 --- a/packages/web-router/package.json +++ b/packages/web-router/package.json @@ -1,6 +1,6 @@ { "name": "@dark-engine/web-router", - "version": "0.19.2", + "version": "0.20.0", "description": "The isomorphic Dark router designed for rendering universal web applications that work both on the client and on the server", "author": "AlexPlex", "license": "MIT",