@unisphere/nx 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import React, { useContext } from 'react';
1
+ import React, { useContext, PropsWithChildren } from 'react';
2
2
  import { Box, Button } from '@mui/material';
3
3
  import {
4
4
  ConfigurationContext,
@@ -10,9 +10,7 @@ export interface SettingsButtonsProps {
10
10
  customSave?: React.ReactElement;
11
11
  }
12
12
 
13
- export const ButtonsContainer: React.FC<{
14
- children?: React.ReactChild;
15
- }> = ({ children }) => {
13
+ export const ButtonsContainer: React.FC<PropsWithChildren> = ({ children }) => {
16
14
  return (
17
15
  <Box
18
16
  sx={{
@@ -15,15 +15,15 @@ import {
15
15
  ScopedUnisphereWorkspaceProvider
16
16
  } from '@unisphere/runtime-react';
17
17
  import { HtmlDomRuntimeVisual } from '@unisphere/runtime';
18
- import { WidgetName } from '<%= coreAlias %>'
18
+ import { widgetName } from '<%= coreAlias %>'
19
19
 
20
20
  export class Runtime
21
21
  extends UnisphereRuntimeBase<<%= runtimeName__pascalCase %>RuntimeSettings, Root>
22
22
  implements <%= runtimeName__pascalCase %>Runtime
23
23
  {
24
- readonly id = WidgetName;
24
+ readonly id = widgetName;
25
25
  readonly runtime = <%= runtimeName__pascalCase %>RuntimeName;
26
- readonly widgetName = WidgetName;
26
+ readonly widgetName = widgetName;
27
27
  readonly runtimeName = <%= runtimeName__pascalCase %>RuntimeName;
28
28
 
29
29
  protected _onKilled(): void {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/nx",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",