@swc-react/search 0.35.1-rc.26 → 0.36.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/next.d.ts +44 -44
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -3,40 +3,38 @@
|
|
|
3
3
|
export declare const Search: import("react").ComponentType<Partial<{
|
|
4
4
|
dir?: string | undefined;
|
|
5
5
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
6
|
-
accessKey?: string | undefined;
|
|
7
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
8
6
|
hidden?: boolean | undefined;
|
|
9
|
-
lang?: string | undefined;
|
|
10
7
|
title?: string | undefined;
|
|
11
|
-
|
|
12
|
-
className?: string | undefined;
|
|
8
|
+
'aria-describedby'?: string | undefined;
|
|
13
9
|
id?: string | undefined;
|
|
14
|
-
prefix?: string | undefined;
|
|
15
10
|
slot?: string | undefined;
|
|
16
|
-
children?: import("react").ReactNode;
|
|
17
11
|
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;
|
|
21
12
|
tabIndex?: number | undefined;
|
|
22
|
-
'aria-describedby'?: string | undefined;
|
|
23
13
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
24
14
|
placeholder?: string | undefined;
|
|
25
15
|
rel?: string | undefined;
|
|
16
|
+
className?: string | undefined;
|
|
26
17
|
role?: import("react").AriaRole | undefined;
|
|
27
18
|
'aria-label'?: string | undefined;
|
|
28
19
|
defaultChecked?: boolean | undefined;
|
|
29
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
30
21
|
suppressContentEditableWarning?: boolean | undefined;
|
|
31
22
|
suppressHydrationWarning?: boolean | undefined;
|
|
23
|
+
accessKey?: string | undefined;
|
|
32
24
|
autoFocus?: boolean | undefined;
|
|
25
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
33
26
|
contextMenu?: string | undefined;
|
|
27
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
28
|
+
lang?: string | undefined;
|
|
29
|
+
nonce?: string | undefined;
|
|
34
30
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
31
|
+
translate?: "yes" | "no" | undefined;
|
|
35
32
|
radioGroup?: string | undefined;
|
|
36
33
|
about?: string | undefined;
|
|
37
34
|
content?: string | undefined;
|
|
38
35
|
datatype?: string | undefined;
|
|
39
36
|
inlist?: any;
|
|
37
|
+
prefix?: string | undefined;
|
|
40
38
|
property?: string | undefined;
|
|
41
39
|
resource?: string | undefined;
|
|
42
40
|
rev?: string | undefined;
|
|
@@ -54,6 +52,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
54
52
|
results?: number | undefined;
|
|
55
53
|
security?: string | undefined;
|
|
56
54
|
unselectable?: "on" | "off" | undefined;
|
|
55
|
+
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
57
56
|
is?: string | undefined;
|
|
58
57
|
'aria-activedescendant'?: string | undefined;
|
|
59
58
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
104
103
|
'aria-valuemin'?: number | undefined;
|
|
105
104
|
'aria-valuenow'?: number | undefined;
|
|
106
105
|
'aria-valuetext'?: string | undefined;
|
|
106
|
+
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -286,16 +286,29 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
286
286
|
(x: number, y: number): void;
|
|
287
287
|
};
|
|
288
288
|
select: () => void;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
289
|
+
form: HTMLFormElement;
|
|
290
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
291
|
+
pattern?: string | undefined;
|
|
292
|
+
disabled: boolean;
|
|
293
|
+
autofocus: boolean;
|
|
294
|
+
autocomplete?: string | undefined;
|
|
295
|
+
appliedLabel?: string | undefined;
|
|
296
|
+
allowedKeys: string;
|
|
297
|
+
focused: boolean;
|
|
298
|
+
grows: boolean;
|
|
299
|
+
maxlength: number;
|
|
300
|
+
minlength: number;
|
|
301
|
+
multiline: boolean;
|
|
302
|
+
readonly: boolean;
|
|
303
|
+
rows: number;
|
|
304
|
+
valid: boolean;
|
|
305
|
+
value: string;
|
|
306
|
+
quiet: boolean;
|
|
307
|
+
required: boolean;
|
|
308
|
+
ariaHidden: string | null;
|
|
309
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
310
|
+
action: string;
|
|
311
|
+
method?: "dialog" | "GET" | "POST" | undefined;
|
|
299
312
|
readonly accessKeyLabel: string;
|
|
300
313
|
autocapitalize: string;
|
|
301
314
|
inert: boolean;
|
|
@@ -388,7 +401,6 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
388
401
|
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
389
402
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
390
403
|
readonly baseURI: string;
|
|
391
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
392
404
|
readonly firstChild: ChildNode | null;
|
|
393
405
|
readonly isConnected: boolean;
|
|
394
406
|
readonly lastChild: ChildNode | null;
|
|
@@ -444,7 +456,6 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
444
456
|
ariaDisabled: string | null;
|
|
445
457
|
ariaExpanded: string | null;
|
|
446
458
|
ariaHasPopup: string | null;
|
|
447
|
-
ariaHidden: string | null;
|
|
448
459
|
ariaKeyShortcuts: string | null;
|
|
449
460
|
ariaLabel: string | null;
|
|
450
461
|
ariaLevel: string | null;
|
|
@@ -469,7 +480,6 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
469
480
|
ariaValueMin: string | null;
|
|
470
481
|
ariaValueNow: string | null;
|
|
471
482
|
ariaValueText: string | null;
|
|
472
|
-
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
473
483
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
474
484
|
after: (...nodes: (string | Node)[]) => void;
|
|
475
485
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -589,33 +599,23 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
589
599
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
590
600
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
591
601
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
592
|
-
autofocus: boolean;
|
|
593
602
|
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;
|
|
613
603
|
firstUpdated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
614
604
|
willUpdate: () => void;
|
|
615
605
|
readonly focusElement: HTMLInputElement | HTMLTextAreaElement;
|
|
616
606
|
setSelectionRange: (selectionStart: number, selectionEnd: number, selectionDirection?: "none" | "forward" | "backward") => void;
|
|
617
607
|
checkValidity: () => boolean;
|
|
608
|
+
connectedCallback: () => void;
|
|
618
609
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
610
|
+
disconnectedCallback: () => void;
|
|
611
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
612
|
+
isUpdatePending: boolean;
|
|
613
|
+
hasUpdated: boolean;
|
|
614
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
615
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
616
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
617
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
618
|
+
readonly updateComplete: Promise<boolean>;
|
|
619
619
|
isLTR: boolean;
|
|
620
620
|
hasVisibleFocusInTree: () => boolean;
|
|
621
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.36.0",
|
|
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.36.0"
|
|
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": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|