@swc-react/color-area 0.34.1-rc.0 → 0.35.1-rc.15
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/next.d.ts +40 -30
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
color?: string | undefined;
|
|
@@ -6,30 +7,36 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
|
6
7
|
slot?: string | undefined;
|
|
7
8
|
style?: import("react").CSSProperties | undefined;
|
|
8
9
|
title?: string | undefined;
|
|
9
|
-
defaultChecked?: boolean | undefined;
|
|
10
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
11
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
12
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
13
10
|
accessKey?: string | undefined;
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
16
|
-
contextMenu?: string | undefined;
|
|
17
11
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
18
12
|
hidden?: boolean | undefined;
|
|
13
|
+
translate?: "yes" | "no" | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
19
15
|
id?: string | undefined;
|
|
16
|
+
prefix?: string | undefined;
|
|
17
|
+
children?: import("react").ReactNode;
|
|
18
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
19
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
20
20
|
nonce?: string | undefined;
|
|
21
|
+
tabIndex?: number | undefined;
|
|
22
|
+
defaultChecked?: boolean | undefined;
|
|
23
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
24
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
25
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
26
|
+
autoFocus?: boolean | undefined;
|
|
27
|
+
contextMenu?: string | undefined;
|
|
21
28
|
placeholder?: string | undefined;
|
|
22
29
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
23
|
-
tabIndex?: number | undefined;
|
|
24
|
-
translate?: "yes" | "no" | undefined;
|
|
25
30
|
radioGroup?: string | undefined;
|
|
26
31
|
role?: import("react").AriaRole | undefined;
|
|
27
32
|
about?: string | undefined;
|
|
33
|
+
content?: string | undefined;
|
|
28
34
|
datatype?: string | undefined;
|
|
29
35
|
inlist?: any;
|
|
30
|
-
prefix?: string | undefined;
|
|
31
36
|
property?: string | undefined;
|
|
37
|
+
rel?: string | undefined;
|
|
32
38
|
resource?: string | undefined;
|
|
39
|
+
rev?: string | undefined;
|
|
33
40
|
typeof?: string | undefined;
|
|
34
41
|
vocab?: string | undefined;
|
|
35
42
|
autoCapitalize?: string | undefined;
|
|
@@ -43,19 +50,22 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
|
43
50
|
results?: number | undefined;
|
|
44
51
|
security?: string | undefined;
|
|
45
52
|
unselectable?: "off" | "on" | undefined;
|
|
46
|
-
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
47
53
|
is?: string | undefined;
|
|
48
54
|
'aria-activedescendant'?: string | undefined;
|
|
49
55
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
50
|
-
'aria-autocomplete'?: "
|
|
56
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
57
|
+
'aria-braillelabel'?: string | undefined;
|
|
58
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
51
59
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
52
60
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
53
61
|
'aria-colcount'?: number | undefined;
|
|
54
62
|
'aria-colindex'?: number | undefined;
|
|
63
|
+
'aria-colindextext'?: string | undefined;
|
|
55
64
|
'aria-colspan'?: number | undefined;
|
|
56
65
|
'aria-controls'?: string | undefined;
|
|
57
66
|
'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
58
67
|
'aria-describedby'?: string | undefined;
|
|
68
|
+
'aria-description'?: string | undefined;
|
|
59
69
|
'aria-details'?: string | undefined;
|
|
60
70
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
61
71
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
@@ -85,6 +95,7 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
|
85
95
|
'aria-roledescription'?: string | undefined;
|
|
86
96
|
'aria-rowcount'?: number | undefined;
|
|
87
97
|
'aria-rowindex'?: number | undefined;
|
|
98
|
+
'aria-rowindextext'?: string | undefined;
|
|
88
99
|
'aria-rowspan'?: number | undefined;
|
|
89
100
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
101
|
'aria-setsize'?: number | undefined;
|
|
@@ -93,9 +104,8 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
|
93
104
|
'aria-valuemin'?: number | undefined;
|
|
94
105
|
'aria-valuenow'?: number | undefined;
|
|
95
106
|
'aria-valuetext'?: string | undefined;
|
|
96
|
-
children?: import("react").ReactNode;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("color-area/src").ColorArea> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("color-area/src").ColorArea> | undefined;
|
|
@@ -278,12 +288,16 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
|
278
288
|
label: string | undefined;
|
|
279
289
|
labelX: string;
|
|
280
290
|
labelY: string;
|
|
281
|
-
readonly
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
291
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
292
|
+
isUpdatePending: boolean;
|
|
293
|
+
hasUpdated: boolean;
|
|
294
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
295
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
296
|
+
connectedCallback: () => void;
|
|
297
|
+
disconnectedCallback: () => void;
|
|
298
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
299
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
300
|
+
readonly updateComplete: Promise<boolean>;
|
|
287
301
|
readonly accessKeyLabel: string;
|
|
288
302
|
autocapitalize: string;
|
|
289
303
|
inert: boolean;
|
|
@@ -577,17 +591,13 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
|
|
|
577
591
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
578
592
|
autofocus: boolean;
|
|
579
593
|
readonly dataset: DOMStringMap;
|
|
580
|
-
|
|
581
|
-
|
|
594
|
+
readonly value: import("@spectrum-web-components/reactive-controllers/src/Color").ColorValue;
|
|
595
|
+
x: number;
|
|
596
|
+
y: number;
|
|
597
|
+
step: number;
|
|
598
|
+
inputX: HTMLInputElement;
|
|
599
|
+
inputY: HTMLInputElement;
|
|
582
600
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
583
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
584
|
-
isUpdatePending: boolean;
|
|
585
|
-
hasUpdated: boolean;
|
|
586
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
587
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
588
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
589
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
590
|
-
readonly updateComplete: Promise<boolean>;
|
|
591
601
|
isLTR: boolean;
|
|
592
602
|
hasVisibleFocusInTree: () => boolean;
|
|
593
603
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/color-area",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.1-rc.15+9b76319e4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit-labs/react": "^1.1.1",
|
|
33
|
-
"@spectrum-web-components/color-area": "^0.
|
|
33
|
+
"@spectrum-web-components/color-area": "^0.35.1-rc.15+9b76319e4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
|
|
44
44
|
}
|