@swc-react/color-field 0.42.3 → 0.42.4
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/index.d.ts +8 -0
- package/next.d.ts +4 -0
- package/package.json +3 -3
package/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EventName } from '@lit/react';
|
|
2
|
+
import { ColorField as SpColorField } from '@spectrum-web-components/color-field';
|
|
3
|
+
import '@spectrum-web-components/color-field/sp-color-field.js';
|
|
4
|
+
export declare const ColorField: import("@lit/react").ReactWebComponent<SpColorField, {
|
|
5
|
+
change: EventName<Event>;
|
|
6
|
+
input: EventName<Event>;
|
|
7
|
+
}>;
|
|
8
|
+
export type ColorFieldType = EventTarget & SpColorField;
|
package/next.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const ColorField: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("color-field/src").ColorField>, "type" | "size" | "label" | "name" | "change" | "input" | "invalid" | "select" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "pattern" | "disabled" | "autocomplete" | "allowedKeys" | "focused" | "placeholder" | "grows" | "maxlength" | "minlength" | "multiline" | "readonly" | "rows" | "valid" | "value" | "quiet" | "required" | "viewColor" | "checkValidity" | "focusElement" | "setSelectionRange" | "renderOptions" | "isLTR" | "hasVisibleFocusInTree" | "renderHelpText" | "helpTextId"> & {
|
|
2
|
+
change?: ((e: Event) => void) | undefined;
|
|
3
|
+
input?: ((e: Event) => void) | undefined;
|
|
4
|
+
} & Partial<Omit<import("color-field/src").ColorField, keyof HTMLElement>> & import("react").RefAttributes<import("color-field/src").ColorField>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/color-field",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit/react": "^1.0.2",
|
|
33
|
-
"@spectrum-web-components/color-field": "^0.42.
|
|
33
|
+
"@spectrum-web-components/color-field": "^0.42.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4 || ~14"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "4924ffd06681ced537edaed873a9ce8b42cf155c"
|
|
44
44
|
}
|