@neovici/cosmoz-input
Advanced tools
Comparing version 3.7.0 to 3.8.0
import { BaseInput } from './use-input'; | ||
import { Render, ObjectFromList } from './render'; | ||
declare const observedAttributes: string[]; | ||
declare type CosmozInput = HTMLElement & ObjectFromList<typeof observedAttributes> & BaseInput & Render; | ||
type CosmozInput = HTMLElement & ObjectFromList<typeof observedAttributes> & BaseInput & Render; | ||
export declare const Input: (host: CosmozInput) => import("lit-html").TemplateResult<1>; | ||
export {}; |
import { BaseInput } from './use-input'; | ||
import { Render, ObjectFromList } from './render'; | ||
declare const observedAttributes: string[]; | ||
declare type CosmozInput = HTMLElement & ObjectFromList<typeof observedAttributes> & BaseInput & Render; | ||
type CosmozInput = HTMLElement & ObjectFromList<typeof observedAttributes> & BaseInput & Render; | ||
export declare const Textarea: (host: CosmozInput) => import("lit-html").TemplateResult<1>; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
export declare type ObjectFromList<T extends ReadonlyArray<string>, V = string> = { | ||
export type ObjectFromList<T extends ReadonlyArray<string>, V = string> = { | ||
[K in T extends ReadonlyArray<infer U> ? U : never]: V; | ||
@@ -3,0 +3,0 @@ }; |
@@ -12,2 +12,3 @@ import { html } from 'lit-html'; | ||
<div class="control" part="control"> | ||
<slot name="control"></slot> | ||
${control} | ||
@@ -14,0 +15,0 @@ ${when(label, () => html `<label for="input" part="label">${label}</label>`)} |
{ | ||
"name": "@neovici/cosmoz-input", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"description": "A input web component", | ||
@@ -82,8 +82,7 @@ "keywords": [ | ||
"@storybook/storybook-deployer": "^2.8.5", | ||
"@web/dev-server-storybook": "^0.5.1", | ||
"@web/dev-server-storybook": "^0.7.0", | ||
"husky": "^8.0.0", | ||
"semantic-release": "^19.0.0", | ||
"sinon": "^14.0.0", | ||
"typescript": "^4.6.0" | ||
"semantic-release": "^21.0.1", | ||
"sinon": "^15.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11
388
15977