@golemui/gui-lit 1.0.0-rc.3 → 1.0.0-rc.5
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.
- package/CHANGELOG.md +20 -0
- package/LICENSE +21 -0
- package/index.js +683 -649
- package/index.umd.cjs +59 -58
- package/lib/components/form.element.d.ts +3 -0
- package/package.json +7 -6
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { GuiFormInitConfig } from '@golemui/gui-shared';
|
|
2
|
+
import { FormHealthBoundary } from '@golemui/lit';
|
|
2
3
|
import { LitElement } from 'lit';
|
|
3
4
|
export declare class FormElement extends LitElement {
|
|
4
5
|
config: GuiFormInitConfig;
|
|
5
6
|
autocomplete: string | undefined;
|
|
7
|
+
/** Wraps the form and renders the error UI for an errored FormHealth. Defaults to a red banner. */
|
|
8
|
+
formHealthBoundary?: FormHealthBoundary;
|
|
6
9
|
private coreForm?;
|
|
7
10
|
setData(data: Record<string, any>): void;
|
|
8
11
|
setMeta(meta: Record<string, any>): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemui/gui-lit",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.5",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"main": "./index.umd.cjs",
|
|
6
7
|
"module": "./index.js",
|
|
@@ -21,11 +22,11 @@
|
|
|
21
22
|
"*.md"
|
|
22
23
|
],
|
|
23
24
|
"peerDependencies": {
|
|
24
|
-
"@golemui/lit": "1.0.0-rc.
|
|
25
|
-
"@golemui/core": "1.0.0-rc.
|
|
26
|
-
"@golemui/gui-components": "1.0.0-rc.
|
|
27
|
-
"@golemui/gui-shared": "1.0.0-rc.
|
|
28
|
-
"@golemui/gui-validators": "1.0.0-rc.
|
|
25
|
+
"@golemui/lit": "1.0.0-rc.5",
|
|
26
|
+
"@golemui/core": "1.0.0-rc.5",
|
|
27
|
+
"@golemui/gui-components": "1.0.0-rc.5",
|
|
28
|
+
"@golemui/gui-shared": "1.0.0-rc.5",
|
|
29
|
+
"@golemui/gui-validators": "1.0.0-rc.5",
|
|
29
30
|
"@lit/context": "^1.1.6",
|
|
30
31
|
"lit-html": "^3.3.1",
|
|
31
32
|
"lit": "^3.3.1",
|