@evoke-platform/ui-components 1.8.0-testing.1 → 1.8.0-testing.2

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.
@@ -463,12 +463,7 @@ function FormRendererContainer(props) {
463
463
  })();
464
464
  }
465
465
  const isLoading = (instanceId && !formData && !document) || !form || !sanitizedObject;
466
- return !error ? (React.createElement(Box, { sx: {
467
- backgroundColor: '#ffffff',
468
- borderRadius: '6px',
469
- padding: '0px',
470
- border: !isLoading ? '1px solid #dbe0e4' : undefined,
471
- } },
466
+ return !error ? (React.createElement(React.Fragment, null,
472
467
  !isLoading ? (React.createElement(React.Fragment, null,
473
468
  React.createElement(FormRenderer, { onSubmit: saveHandler, hideButtons: document && !hasDocumentUpdateAccess, richTextEditor: richTextEditor, fieldHeight: display?.fieldHeight ?? 'medium', value: formData, stickyFooter: stickyFooter, form: form, instance: dataType !== 'documents' ? instance : document, onChange: onChange, onCancel: onCancel }))) : (React.createElement(Box, { sx: { padding: '20px' } },
474
469
  React.createElement(Box, { display: 'flex', width: '100%', justifyContent: 'space-between' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.8.0-testing.1",
3
+ "version": "1.8.0-testing.2",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",
@@ -9,6 +9,9 @@
9
9
  "icons.ts",
10
10
  "colors.ts"
11
11
  ],
12
+ "sideEffects": [
13
+ "*.css"
14
+ ],
12
15
  "exports": {
13
16
  ".": "./dist/published/index.js",
14
17
  "./colors": "./dist/published/colors/index.js",
@@ -18,9 +21,9 @@
18
21
  "test": "vitest",
19
22
  "test:ui": "vitest --ui",
20
23
  "copy-styles": "copyfiles -u 1 src/styles/*.css dist/published/",
21
- "build": "rm -rf ./dist && tsc && npm run copy-styles",
24
+ "build": "mkdirp -rf ./dist && tsc && npm run copy-styles",
22
25
  "build:cjs": "tsc --module CommonJS --outDir dist/cjs",
23
- "prepublish": "rm -rf ./dist && tsc && npm run copy-styles",
26
+ "prepublish": "mkdirp -rf ./dist && tsc && npm run copy-styles",
24
27
  "storybook": "start-storybook -p 6006",
25
28
  "build-storybook": "build-storybook",
26
29
  "lint": "npm run prettier:check && npm run eslint",
@@ -87,7 +90,7 @@
87
90
  "yalc": "^1.0.0-pre.53"
88
91
  },
89
92
  "peerDependencies": {
90
- "@evoke-platform/context": "^1.3.1-0",
93
+ "@evoke-platform/context": "^1.4.0-dev.5",
91
94
  "react": "^18.1.0",
92
95
  "react-dom": "^18.1.0"
93
96
  },