@swc-react/help-text 0.35.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 +26 -26
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -3,34 +3,36 @@
|
|
|
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;
|
|
6
8
|
hidden?: boolean | undefined;
|
|
9
|
+
lang?: string | undefined;
|
|
7
10
|
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;
|
|
8
22
|
defaultChecked?: boolean | undefined;
|
|
9
23
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
10
24
|
suppressContentEditableWarning?: boolean | undefined;
|
|
11
25
|
suppressHydrationWarning?: boolean | undefined;
|
|
12
|
-
accessKey?: string | undefined;
|
|
13
26
|
autoFocus?: boolean | undefined;
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
16
27
|
contextMenu?: string | undefined;
|
|
17
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
18
|
-
id?: string | undefined;
|
|
19
|
-
lang?: string | undefined;
|
|
20
|
-
nonce?: string | undefined;
|
|
21
28
|
placeholder?: string | undefined;
|
|
22
|
-
slot?: string | undefined;
|
|
23
29
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
24
|
-
style?: import("react").CSSProperties | undefined;
|
|
25
|
-
tabIndex?: number | undefined;
|
|
26
|
-
translate?: "yes" | "no" | undefined;
|
|
27
30
|
radioGroup?: string | undefined;
|
|
28
31
|
role?: import("react").AriaRole | undefined;
|
|
29
32
|
about?: string | undefined;
|
|
30
33
|
content?: string | undefined;
|
|
31
34
|
datatype?: string | undefined;
|
|
32
35
|
inlist?: any;
|
|
33
|
-
prefix?: string | undefined;
|
|
34
36
|
property?: string | undefined;
|
|
35
37
|
rel?: string | undefined;
|
|
36
38
|
resource?: string | undefined;
|
|
@@ -49,7 +51,6 @@ export declare const HelpText: import("react").ComponentType<Partial<{
|
|
|
49
51
|
results?: number | undefined;
|
|
50
52
|
security?: string | undefined;
|
|
51
53
|
unselectable?: "on" | "off" | undefined;
|
|
52
|
-
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
53
54
|
is?: string | undefined;
|
|
54
55
|
'aria-activedescendant'?: string | undefined;
|
|
55
56
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -103,7 +104,6 @@ export declare const HelpText: 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;
|
|
@@ -281,8 +281,16 @@ 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
|
-
|
|
284
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
285
|
+
isUpdatePending: boolean;
|
|
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>;
|
|
286
294
|
readonly accessKeyLabel: string;
|
|
287
295
|
autocapitalize: string;
|
|
288
296
|
inert: boolean;
|
|
@@ -578,17 +586,9 @@ export declare const HelpText: import("react").ComponentType<Partial<{
|
|
|
578
586
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
579
587
|
autofocus: boolean;
|
|
580
588
|
readonly dataset: DOMStringMap;
|
|
589
|
+
icon: boolean;
|
|
590
|
+
variant: "neutral" | "negative";
|
|
581
591
|
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.35.
|
|
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/help-text": "^0.35.
|
|
33
|
+
"@spectrum-web-components/help-text": "^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
|
}
|