@swc-react/search 0.36.0 → 0.38.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,38 +3,40 @@
|
|
|
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;
|
|
6
8
|
hidden?: boolean | undefined;
|
|
9
|
+
lang?: string | undefined;
|
|
7
10
|
title?: string | undefined;
|
|
8
|
-
|
|
11
|
+
translate?: "yes" | "no" | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
9
13
|
id?: string | undefined;
|
|
14
|
+
prefix?: string | undefined;
|
|
10
15
|
slot?: string | undefined;
|
|
16
|
+
children?: import("react").ReactNode;
|
|
11
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;
|
|
12
21
|
tabIndex?: number | undefined;
|
|
22
|
+
'aria-describedby'?: string | undefined;
|
|
13
23
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
14
24
|
placeholder?: string | undefined;
|
|
15
25
|
rel?: string | undefined;
|
|
16
|
-
className?: string | undefined;
|
|
17
26
|
role?: import("react").AriaRole | undefined;
|
|
18
27
|
'aria-label'?: string | undefined;
|
|
19
28
|
defaultChecked?: boolean | undefined;
|
|
20
29
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
21
30
|
suppressContentEditableWarning?: boolean | undefined;
|
|
22
31
|
suppressHydrationWarning?: boolean | undefined;
|
|
23
|
-
accessKey?: string | undefined;
|
|
24
32
|
autoFocus?: boolean | undefined;
|
|
25
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
26
33
|
contextMenu?: string | undefined;
|
|
27
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
28
|
-
lang?: string | undefined;
|
|
29
|
-
nonce?: string | undefined;
|
|
30
34
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
31
|
-
translate?: "yes" | "no" | undefined;
|
|
32
35
|
radioGroup?: string | undefined;
|
|
33
36
|
about?: string | undefined;
|
|
34
37
|
content?: string | undefined;
|
|
35
38
|
datatype?: string | undefined;
|
|
36
39
|
inlist?: any;
|
|
37
|
-
prefix?: string | undefined;
|
|
38
40
|
property?: string | undefined;
|
|
39
41
|
resource?: string | undefined;
|
|
40
42
|
rev?: string | undefined;
|
|
@@ -52,7 +54,6 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
52
54
|
results?: number | undefined;
|
|
53
55
|
security?: string | undefined;
|
|
54
56
|
unselectable?: "on" | "off" | undefined;
|
|
55
|
-
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
56
57
|
is?: string | undefined;
|
|
57
58
|
'aria-activedescendant'?: string | undefined;
|
|
58
59
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -103,7 +104,6 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
103
104
|
'aria-valuemin'?: number | undefined;
|
|
104
105
|
'aria-valuenow'?: number | undefined;
|
|
105
106
|
'aria-valuetext'?: string | undefined;
|
|
106
|
-
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -286,29 +286,16 @@ 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
|
-
|
|
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;
|
|
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>;
|
|
312
299
|
readonly accessKeyLabel: string;
|
|
313
300
|
autocapitalize: string;
|
|
314
301
|
inert: boolean;
|
|
@@ -401,6 +388,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
401
388
|
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
402
389
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
403
390
|
readonly baseURI: string;
|
|
391
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
404
392
|
readonly firstChild: ChildNode | null;
|
|
405
393
|
readonly isConnected: boolean;
|
|
406
394
|
readonly lastChild: ChildNode | null;
|
|
@@ -456,6 +444,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
456
444
|
ariaDisabled: string | null;
|
|
457
445
|
ariaExpanded: string | null;
|
|
458
446
|
ariaHasPopup: string | null;
|
|
447
|
+
ariaHidden: string | null;
|
|
459
448
|
ariaKeyShortcuts: string | null;
|
|
460
449
|
ariaLabel: string | null;
|
|
461
450
|
ariaLevel: string | null;
|
|
@@ -480,6 +469,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
480
469
|
ariaValueMin: string | null;
|
|
481
470
|
ariaValueNow: string | null;
|
|
482
471
|
ariaValueText: string | null;
|
|
472
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
483
473
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
484
474
|
after: (...nodes: (string | Node)[]) => void;
|
|
485
475
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -599,23 +589,33 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
599
589
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
600
590
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
601
591
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
592
|
+
autofocus: boolean;
|
|
602
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;
|
|
603
613
|
firstUpdated: (changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>) => void;
|
|
604
614
|
willUpdate: () => void;
|
|
605
615
|
readonly focusElement: HTMLInputElement | HTMLTextAreaElement;
|
|
606
616
|
setSelectionRange: (selectionStart: number, selectionEnd: number, selectionDirection?: "none" | "forward" | "backward") => void;
|
|
607
617
|
checkValidity: () => boolean;
|
|
608
|
-
connectedCallback: () => void;
|
|
609
618
|
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.38.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.38.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": "9a099b7543672f2fd4030833ab813b16c2cad62e"
|
|
44
44
|
}
|