@swc-react/field-group 0.34.1-rc.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.
Files changed (2) hide show
  1. package/next.d.ts +24 -14
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,38 +1,44 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const FieldGroup: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
- hidden?: boolean | undefined;
5
- title?: string | undefined;
6
- 'aria-describedby'?: string | undefined;
7
- id?: string | undefined;
5
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
8
6
  accessKey?: string | undefined;
9
7
  draggable?: (boolean | "true" | "false") | undefined;
8
+ hidden?: boolean | undefined;
10
9
  lang?: string | undefined;
10
+ title?: string | undefined;
11
11
  translate?: "yes" | "no" | undefined;
12
12
  className?: string | undefined;
13
+ id?: string | undefined;
13
14
  prefix?: string | undefined;
14
15
  slot?: string | undefined;
15
16
  children?: import("react").ReactNode;
16
17
  style?: import("react").CSSProperties | undefined;
17
18
  contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
18
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
19
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
19
20
  nonce?: string | undefined;
20
21
  tabIndex?: number | undefined;
22
+ 'aria-describedby'?: string | undefined;
21
23
  'aria-label'?: string | undefined;
22
24
  defaultChecked?: boolean | undefined;
23
25
  defaultValue?: string | number | readonly string[] | undefined;
24
26
  suppressContentEditableWarning?: boolean | undefined;
25
27
  suppressHydrationWarning?: boolean | undefined;
28
+ autoFocus?: boolean | undefined;
26
29
  contextMenu?: string | undefined;
27
30
  placeholder?: string | undefined;
28
31
  spellCheck?: (boolean | "true" | "false") | undefined;
29
32
  radioGroup?: string | undefined;
30
33
  role?: import("react").AriaRole | undefined;
31
34
  about?: string | undefined;
35
+ content?: string | undefined;
32
36
  datatype?: string | undefined;
33
37
  inlist?: any;
34
38
  property?: string | undefined;
39
+ rel?: string | undefined;
35
40
  resource?: string | undefined;
41
+ rev?: string | undefined;
36
42
  typeof?: string | undefined;
37
43
  vocab?: string | undefined;
38
44
  autoCapitalize?: string | undefined;
@@ -51,22 +57,25 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
51
57
  'aria-activedescendant'?: string | undefined;
52
58
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
53
59
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
60
+ 'aria-braillelabel'?: string | undefined;
61
+ 'aria-brailleroledescription'?: string | undefined;
54
62
  'aria-busy'?: (boolean | "true" | "false") | undefined;
55
63
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
56
64
  'aria-colcount'?: number | undefined;
57
65
  'aria-colindex'?: number | undefined;
66
+ 'aria-colindextext'?: string | undefined;
58
67
  'aria-colspan'?: number | undefined;
59
68
  'aria-controls'?: string | undefined;
60
69
  'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
70
+ 'aria-description'?: string | undefined;
61
71
  'aria-details'?: string | undefined;
62
72
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
63
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
64
74
  'aria-errormessage'?: string | undefined;
65
75
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
66
76
  'aria-flowto'?: string | undefined;
67
77
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
68
78
  'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
69
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
70
79
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
71
80
  'aria-keyshortcuts'?: string | undefined;
72
81
  'aria-labelledby'?: string | undefined;
@@ -86,6 +95,7 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
86
95
  'aria-roledescription'?: string | undefined;
87
96
  'aria-rowcount'?: number | undefined;
88
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
89
99
  'aria-rowspan'?: number | undefined;
90
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
91
101
  'aria-setsize'?: number | undefined;
@@ -95,7 +105,7 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
95
105
  'aria-valuenow'?: number | undefined;
96
106
  'aria-valuetext'?: string | undefined;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("field-group/src").FieldGroup> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("field-group/src").FieldGroup> | undefined;
@@ -263,6 +273,7 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
263
273
  readonly attributes: NamedNodeMap;
264
274
  readonly localName: string;
265
275
  label: string;
276
+ normalize: () => void;
266
277
  blur: () => void;
267
278
  click: () => void;
268
279
  focus: (options?: FocusOptions | undefined) => void;
@@ -271,16 +282,13 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
271
282
  (options?: ScrollToOptions | undefined): void;
272
283
  (x: number, y: number): void;
273
284
  };
274
- horizontal: boolean;
275
- vertical: boolean;
276
- readonly renderOptions: import("lit-html").RenderOptions;
277
- connectedCallback: () => void;
278
- disconnectedCallback: () => void;
279
285
  readonly renderRoot: HTMLElement | ShadowRoot;
280
286
  isUpdatePending: boolean;
281
287
  hasUpdated: boolean;
282
288
  addController: (controller: import("lit").ReactiveController) => void;
283
289
  removeController: (controller: import("lit").ReactiveController) => void;
290
+ connectedCallback: () => void;
291
+ disconnectedCallback: () => void;
284
292
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
285
293
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
286
294
  readonly updateComplete: Promise<boolean>;
@@ -400,7 +408,6 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
400
408
  isSameNode: (otherNode: Node | null) => boolean;
401
409
  lookupNamespaceURI: (prefix: string | null) => string | null;
402
410
  lookupPrefix: (namespace: string | null) => string | null;
403
- normalize: () => void;
404
411
  removeChild: <T_2 extends Node>(child: T_2) => T_2;
405
412
  replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
406
413
  readonly ATTRIBUTE_NODE: number;
@@ -580,6 +587,9 @@ export declare const FieldGroup: import("react").ComponentType<Partial<{
580
587
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
581
588
  autofocus: boolean;
582
589
  readonly dataset: DOMStringMap;
590
+ horizontal: boolean;
591
+ vertical: boolean;
592
+ readonly renderOptions: import("lit-html").RenderOptions;
583
593
  isLTR: boolean;
584
594
  hasVisibleFocusInTree: () => boolean;
585
595
  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/field-group",
3
- "version": "0.34.1-rc.0+1647bfed5",
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/field-group": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/field-group": "^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": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
43
+ "gitHead": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
44
44
  }