@neovici/cosmoz-input 3.7.0 → 3.8.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.
- package/dist/cosmoz-input.d.ts +1 -1
- package/dist/cosmoz-textarea.d.ts +1 -1
- package/dist/render.d.ts +1 -1
- package/dist/render.js +1 -0
- package/package.json +4 -5
package/dist/cosmoz-input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseInput } from './use-input';
|
|
2
2
|
import { Render, ObjectFromList } from './render';
|
|
3
3
|
declare const observedAttributes: string[];
|
|
4
|
-
|
|
4
|
+
type CosmozInput = HTMLElement & ObjectFromList<typeof observedAttributes> & BaseInput & Render;
|
|
5
5
|
export declare const Input: (host: CosmozInput) => import("lit-html").TemplateResult<1>;
|
|
6
6
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseInput } from './use-input';
|
|
2
2
|
import { Render, ObjectFromList } from './render';
|
|
3
3
|
declare const observedAttributes: string[];
|
|
4
|
-
|
|
4
|
+
type CosmozInput = HTMLElement & ObjectFromList<typeof observedAttributes> & BaseInput & Render;
|
|
5
5
|
export declare const Textarea: (host: CosmozInput) => import("lit-html").TemplateResult<1>;
|
|
6
6
|
export {};
|
package/dist/render.d.ts
CHANGED
package/dist/render.js
CHANGED
|
@@ -9,6 +9,7 @@ export const render = (control, { label, invalid, errorMessage }) => html `
|
|
|
9
9
|
<div class="wrap" part="wrap">
|
|
10
10
|
<slot name="prefix"></slot>
|
|
11
11
|
<div class="control" part="control">
|
|
12
|
+
<slot name="control"></slot>
|
|
12
13
|
${control}
|
|
13
14
|
${when(label, () => html `<label for="input" part="label">${label}</label>`)}
|
|
14
15
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-input",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "A input web component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit-html",
|
|
@@ -79,10 +79,9 @@
|
|
|
79
79
|
"@semantic-release/changelog": "^6.0.0",
|
|
80
80
|
"@semantic-release/git": "^10.0.0",
|
|
81
81
|
"@storybook/storybook-deployer": "^2.8.5",
|
|
82
|
-
"@web/dev-server-storybook": "^0.
|
|
82
|
+
"@web/dev-server-storybook": "^0.7.0",
|
|
83
83
|
"husky": "^8.0.0",
|
|
84
|
-
"semantic-release": "^
|
|
85
|
-
"sinon": "^
|
|
86
|
-
"typescript": "^4.6.0"
|
|
84
|
+
"semantic-release": "^21.0.1",
|
|
85
|
+
"sinon": "^15.0.0"
|
|
87
86
|
}
|
|
88
87
|
}
|