@swc-react/search 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 +58 -47
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,37 +1,45 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const Search: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
5
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
6
|
+
accessKey?: string | undefined;
|
|
7
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
4
8
|
hidden?: boolean | undefined;
|
|
9
|
+
lang?: string | undefined;
|
|
5
10
|
title?: string | undefined;
|
|
6
|
-
|
|
11
|
+
translate?: "yes" | "no" | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
7
13
|
id?: string | undefined;
|
|
14
|
+
prefix?: string | undefined;
|
|
8
15
|
slot?: string | undefined;
|
|
16
|
+
children?: import("react").ReactNode;
|
|
9
17
|
style?: import("react").CSSProperties | undefined;
|
|
18
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
19
|
+
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
20
|
+
nonce?: string | undefined;
|
|
10
21
|
tabIndex?: number | undefined;
|
|
22
|
+
'aria-describedby'?: string | undefined;
|
|
11
23
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
12
24
|
placeholder?: string | undefined;
|
|
13
|
-
|
|
25
|
+
rel?: string | undefined;
|
|
14
26
|
role?: import("react").AriaRole | undefined;
|
|
15
27
|
'aria-label'?: string | undefined;
|
|
16
28
|
defaultChecked?: boolean | undefined;
|
|
17
29
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
18
30
|
suppressContentEditableWarning?: boolean | undefined;
|
|
19
31
|
suppressHydrationWarning?: boolean | undefined;
|
|
20
|
-
|
|
21
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
32
|
+
autoFocus?: boolean | undefined;
|
|
22
33
|
contextMenu?: string | undefined;
|
|
23
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
24
|
-
lang?: string | undefined;
|
|
25
|
-
nonce?: string | undefined;
|
|
26
34
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
27
|
-
translate?: "yes" | "no" | undefined;
|
|
28
35
|
radioGroup?: string | undefined;
|
|
29
36
|
about?: string | undefined;
|
|
37
|
+
content?: string | undefined;
|
|
30
38
|
datatype?: string | undefined;
|
|
31
39
|
inlist?: any;
|
|
32
|
-
prefix?: string | undefined;
|
|
33
40
|
property?: string | undefined;
|
|
34
41
|
resource?: string | undefined;
|
|
42
|
+
rev?: string | undefined;
|
|
35
43
|
typeof?: string | undefined;
|
|
36
44
|
vocab?: string | undefined;
|
|
37
45
|
autoCapitalize?: string | undefined;
|
|
@@ -46,26 +54,28 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
46
54
|
results?: number | undefined;
|
|
47
55
|
security?: string | undefined;
|
|
48
56
|
unselectable?: "on" | "off" | undefined;
|
|
49
|
-
inputMode?: "none" | "text" | "search" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
50
57
|
is?: string | undefined;
|
|
51
58
|
'aria-activedescendant'?: string | undefined;
|
|
52
59
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
53
60
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
61
|
+
'aria-braillelabel'?: string | undefined;
|
|
62
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
54
63
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
55
64
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
56
65
|
'aria-colcount'?: number | undefined;
|
|
57
66
|
'aria-colindex'?: number | undefined;
|
|
67
|
+
'aria-colindextext'?: string | undefined;
|
|
58
68
|
'aria-colspan'?: number | undefined;
|
|
59
69
|
'aria-controls'?: string | undefined;
|
|
60
70
|
'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
|
|
71
|
+
'aria-description'?: string | undefined;
|
|
61
72
|
'aria-details'?: string | undefined;
|
|
62
|
-
'aria-dropeffect'?: "
|
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
63
74
|
'aria-errormessage'?: string | undefined;
|
|
64
75
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
65
76
|
'aria-flowto'?: string | undefined;
|
|
66
77
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
67
78
|
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
|
|
68
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
69
79
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
70
80
|
'aria-keyshortcuts'?: string | undefined;
|
|
71
81
|
'aria-labelledby'?: string | undefined;
|
|
@@ -85,6 +95,7 @@ export declare const Search: 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 Search: 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("search/src").Search> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("search/src").Search> | undefined;
|
|
@@ -265,6 +275,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
265
275
|
type: "text" | "url" | "tel" | "email" | "password";
|
|
266
276
|
size: import("@spectrum-web-components/base").ElementSize;
|
|
267
277
|
label: string;
|
|
278
|
+
normalize: () => void;
|
|
268
279
|
blur: () => void;
|
|
269
280
|
click: () => void;
|
|
270
281
|
focus: (options?: FocusOptions | undefined) => void;
|
|
@@ -275,29 +286,16 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
275
286
|
(x: number, y: number): void;
|
|
276
287
|
};
|
|
277
288
|
select: () => void;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
maxlength: number;
|
|
289
|
-
minlength: number;
|
|
290
|
-
multiline: boolean;
|
|
291
|
-
readonly: boolean;
|
|
292
|
-
rows: number;
|
|
293
|
-
valid: boolean;
|
|
294
|
-
value: string;
|
|
295
|
-
quiet: boolean;
|
|
296
|
-
required: boolean;
|
|
297
|
-
ariaHidden: string | null;
|
|
298
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
299
|
-
action: string;
|
|
300
|
-
method?: "dialog" | "GET" | "POST" | undefined;
|
|
289
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
290
|
+
isUpdatePending: boolean;
|
|
291
|
+
hasUpdated: boolean;
|
|
292
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
293
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
294
|
+
connectedCallback: () => void;
|
|
295
|
+
disconnectedCallback: () => void;
|
|
296
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
297
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
298
|
+
readonly updateComplete: Promise<boolean>;
|
|
301
299
|
readonly accessKeyLabel: string;
|
|
302
300
|
autocapitalize: string;
|
|
303
301
|
inert: boolean;
|
|
@@ -390,6 +388,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
390
388
|
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
391
389
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
392
390
|
readonly baseURI: string;
|
|
391
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
393
392
|
readonly firstChild: ChildNode | null;
|
|
394
393
|
readonly isConnected: boolean;
|
|
395
394
|
readonly lastChild: ChildNode | null;
|
|
@@ -445,6 +444,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
445
444
|
ariaDisabled: string | null;
|
|
446
445
|
ariaExpanded: string | null;
|
|
447
446
|
ariaHasPopup: string | null;
|
|
447
|
+
ariaHidden: string | null;
|
|
448
448
|
ariaKeyShortcuts: string | null;
|
|
449
449
|
ariaLabel: string | null;
|
|
450
450
|
ariaLevel: string | null;
|
|
@@ -469,6 +469,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
469
469
|
ariaValueMin: string | null;
|
|
470
470
|
ariaValueNow: string | null;
|
|
471
471
|
ariaValueText: string | null;
|
|
472
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
472
473
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
473
474
|
after: (...nodes: (string | Node)[]) => void;
|
|
474
475
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -588,23 +589,33 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
588
589
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
589
590
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
590
591
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
592
|
+
autofocus: boolean;
|
|
591
593
|
readonly dataset: DOMStringMap;
|
|
594
|
+
form: HTMLFormElement;
|
|
595
|
+
pattern?: string | undefined;
|
|
596
|
+
disabled: boolean;
|
|
597
|
+
autocomplete?: string | undefined;
|
|
598
|
+
appliedLabel?: string | undefined;
|
|
599
|
+
allowedKeys: string;
|
|
600
|
+
focused: boolean;
|
|
601
|
+
grows: boolean;
|
|
602
|
+
maxlength: number;
|
|
603
|
+
minlength: number;
|
|
604
|
+
multiline: boolean;
|
|
605
|
+
readonly: boolean;
|
|
606
|
+
rows: number;
|
|
607
|
+
valid: boolean;
|
|
608
|
+
value: string;
|
|
609
|
+
quiet: boolean;
|
|
610
|
+
required: boolean;
|
|
611
|
+
action: string;
|
|
612
|
+
method?: "dialog" | "GET" | "POST" | undefined;
|
|
592
613
|
firstUpdated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
593
614
|
willUpdate: () => void;
|
|
594
615
|
readonly focusElement: HTMLInputElement | HTMLTextAreaElement;
|
|
595
616
|
setSelectionRange: (selectionStart: number, selectionEnd: number, selectionDirection?: "none" | "forward" | "backward") => void;
|
|
596
617
|
checkValidity: () => boolean;
|
|
597
|
-
connectedCallback: () => void;
|
|
598
618
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
599
|
-
disconnectedCallback: () => void;
|
|
600
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
601
|
-
isUpdatePending: boolean;
|
|
602
|
-
hasUpdated: boolean;
|
|
603
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
604
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
605
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
606
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
607
|
-
readonly updateComplete: Promise<boolean>;
|
|
608
619
|
isLTR: boolean;
|
|
609
620
|
hasVisibleFocusInTree: () => boolean;
|
|
610
621
|
renderHelpText: (negative?: boolean | undefined) => import("lit-html").TemplateResult<2 | 1>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/search",
|
|
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/search": "^0.
|
|
33
|
+
"@spectrum-web-components/search": "^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
|
}
|