@swc-react/help-text 0.34.1-rc.0 → 0.35.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.
Files changed (2) hide show
  1. package/next.d.ts +15 -5
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const HelpText: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
5
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
4
6
  hidden?: boolean | undefined;
5
7
  title?: string | undefined;
6
8
  defaultChecked?: boolean | undefined;
@@ -8,6 +10,7 @@ export declare const HelpText: import("react").ComponentType<Partial<{
8
10
  suppressContentEditableWarning?: boolean | undefined;
9
11
  suppressHydrationWarning?: boolean | undefined;
10
12
  accessKey?: string | undefined;
13
+ autoFocus?: boolean | undefined;
11
14
  className?: string | undefined;
12
15
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
13
16
  contextMenu?: string | undefined;
@@ -24,11 +27,14 @@ export declare const HelpText: import("react").ComponentType<Partial<{
24
27
  radioGroup?: string | undefined;
25
28
  role?: import("react").AriaRole | undefined;
26
29
  about?: string | undefined;
30
+ content?: string | undefined;
27
31
  datatype?: string | undefined;
28
32
  inlist?: any;
29
33
  prefix?: string | undefined;
30
34
  property?: string | undefined;
35
+ rel?: string | undefined;
31
36
  resource?: string | undefined;
37
+ rev?: string | undefined;
32
38
  typeof?: string | undefined;
33
39
  vocab?: string | undefined;
34
40
  autoCapitalize?: string | undefined;
@@ -43,28 +49,31 @@ export declare const HelpText: import("react").ComponentType<Partial<{
43
49
  results?: number | undefined;
44
50
  security?: string | undefined;
45
51
  unselectable?: "on" | "off" | undefined;
46
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
52
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
47
53
  is?: string | undefined;
48
54
  'aria-activedescendant'?: string | undefined;
49
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
50
56
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
57
+ 'aria-braillelabel'?: string | undefined;
58
+ 'aria-brailleroledescription'?: string | undefined;
51
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
52
60
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
53
61
  'aria-colcount'?: number | undefined;
54
62
  'aria-colindex'?: number | undefined;
63
+ 'aria-colindextext'?: string | undefined;
55
64
  'aria-colspan'?: number | undefined;
56
65
  'aria-controls'?: string | undefined;
57
66
  'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
58
67
  'aria-describedby'?: string | undefined;
68
+ 'aria-description'?: string | undefined;
59
69
  'aria-details'?: string | undefined;
60
70
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
61
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
71
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
62
72
  'aria-errormessage'?: string | undefined;
63
73
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
64
74
  'aria-flowto'?: string | undefined;
65
75
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
66
76
  'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
67
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
68
77
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
69
78
  'aria-keyshortcuts'?: string | undefined;
70
79
  'aria-label'?: string | undefined;
@@ -85,6 +94,7 @@ export declare const HelpText: import("react").ComponentType<Partial<{
85
94
  'aria-roledescription'?: string | undefined;
86
95
  'aria-rowcount'?: number | undefined;
87
96
  'aria-rowindex'?: number | undefined;
97
+ 'aria-rowindextext'?: string | undefined;
88
98
  'aria-rowspan'?: number | undefined;
89
99
  'aria-selected'?: (boolean | "true" | "false") | undefined;
90
100
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const HelpText: import("react").ComponentType<Partial<{
95
105
  'aria-valuetext'?: string | undefined;
96
106
  children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("help-text/src").HelpText> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("help-text/src").HelpText> | undefined;
@@ -263,6 +273,7 @@ export declare const HelpText: import("react").ComponentType<Partial<{
263
273
  readonly attributes: NamedNodeMap;
264
274
  readonly localName: string;
265
275
  size: import("@spectrum-web-components/base").ElementSize;
276
+ normalize: () => void;
266
277
  blur: () => void;
267
278
  click: () => void;
268
279
  focus: (options?: FocusOptions | undefined) => void;
@@ -388,7 +399,6 @@ export declare const HelpText: import("react").ComponentType<Partial<{
388
399
  isSameNode: (otherNode: Node | null) => boolean;
389
400
  lookupNamespaceURI: (prefix: string | null) => string | null;
390
401
  lookupPrefix: (namespace: string | null) => string | null;
391
- normalize: () => void;
392
402
  removeChild: <T_2 extends Node>(child: T_2) => T_2;
393
403
  replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
394
404
  readonly ATTRIBUTE_NODE: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/help-text",
3
- "version": "0.34.1-rc.0+1647bfed5",
3
+ "version": "0.35.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.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/help-text": "^0.35.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": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
43
+ "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
44
44
  }