@swc-react/help-text 0.35.1-rc.34 → 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 +26 -26
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -3,36 +3,34 @@
|
|
|
3
3
|
export declare const HelpText: 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
|
-
translate?: "yes" | "no" | undefined;
|
|
12
|
-
className?: string | undefined;
|
|
13
|
-
id?: string | undefined;
|
|
14
|
-
prefix?: string | undefined;
|
|
15
|
-
slot?: string | undefined;
|
|
16
|
-
children?: import("react").ReactNode;
|
|
17
|
-
style?: import("react").CSSProperties | undefined;
|
|
18
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
19
|
-
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
20
|
-
nonce?: string | undefined;
|
|
21
|
-
tabIndex?: number | undefined;
|
|
22
8
|
defaultChecked?: boolean | undefined;
|
|
23
9
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
24
10
|
suppressContentEditableWarning?: boolean | undefined;
|
|
25
11
|
suppressHydrationWarning?: boolean | undefined;
|
|
12
|
+
accessKey?: string | undefined;
|
|
26
13
|
autoFocus?: boolean | undefined;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
27
16
|
contextMenu?: string | undefined;
|
|
17
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
18
|
+
id?: string | undefined;
|
|
19
|
+
lang?: string | undefined;
|
|
20
|
+
nonce?: string | undefined;
|
|
28
21
|
placeholder?: string | undefined;
|
|
22
|
+
slot?: string | undefined;
|
|
29
23
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
24
|
+
style?: import("react").CSSProperties | undefined;
|
|
25
|
+
tabIndex?: number | undefined;
|
|
26
|
+
translate?: "yes" | "no" | undefined;
|
|
30
27
|
radioGroup?: string | undefined;
|
|
31
28
|
role?: import("react").AriaRole | undefined;
|
|
32
29
|
about?: string | undefined;
|
|
33
30
|
content?: string | undefined;
|
|
34
31
|
datatype?: string | undefined;
|
|
35
32
|
inlist?: any;
|
|
33
|
+
prefix?: string | undefined;
|
|
36
34
|
property?: string | undefined;
|
|
37
35
|
rel?: string | undefined;
|
|
38
36
|
resource?: string | undefined;
|
|
@@ -51,6 +49,7 @@ export declare const HelpText: import("react").ComponentType<Partial<{
|
|
|
51
49
|
results?: number | undefined;
|
|
52
50
|
security?: string | undefined;
|
|
53
51
|
unselectable?: "on" | "off" | undefined;
|
|
52
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
54
53
|
is?: string | undefined;
|
|
55
54
|
'aria-activedescendant'?: string | undefined;
|
|
56
55
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const HelpText: 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;
|
|
@@ -281,16 +281,8 @@ export declare const HelpText: import("react").ComponentType<Partial<{
|
|
|
281
281
|
(options?: ScrollToOptions | undefined): void;
|
|
282
282
|
(x: number, y: number): void;
|
|
283
283
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
hasUpdated: boolean;
|
|
287
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
288
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
289
|
-
connectedCallback: () => void;
|
|
290
|
-
disconnectedCallback: () => void;
|
|
291
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
292
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
293
|
-
readonly updateComplete: Promise<boolean>;
|
|
284
|
+
icon: boolean;
|
|
285
|
+
variant: "neutral" | "negative";
|
|
294
286
|
readonly accessKeyLabel: string;
|
|
295
287
|
autocapitalize: string;
|
|
296
288
|
inert: boolean;
|
|
@@ -586,9 +578,17 @@ export declare const HelpText: import("react").ComponentType<Partial<{
|
|
|
586
578
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
587
579
|
autofocus: boolean;
|
|
588
580
|
readonly dataset: DOMStringMap;
|
|
589
|
-
icon: boolean;
|
|
590
|
-
variant: "neutral" | "negative";
|
|
591
581
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
582
|
+
connectedCallback: () => void;
|
|
583
|
+
disconnectedCallback: () => void;
|
|
584
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
585
|
+
isUpdatePending: boolean;
|
|
586
|
+
hasUpdated: boolean;
|
|
587
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
588
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
589
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
590
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
591
|
+
readonly updateComplete: Promise<boolean>;
|
|
592
592
|
isLTR: boolean;
|
|
593
593
|
hasVisibleFocusInTree: () => boolean;
|
|
594
594
|
} & {}> & import("react").RefAttributes<import("help-text/src").HelpText>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/help-text",
|
|
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/help-text": "^0.
|
|
33
|
+
"@spectrum-web-components/help-text": "^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
|
}
|