@swc-react/split-view 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 +38 -28
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,34 +1,41 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const SplitView: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
5
- defaultChecked?: boolean | undefined;
6
- defaultValue?: string | number | readonly string[] | undefined;
7
- suppressContentEditableWarning?: boolean | undefined;
8
- suppressHydrationWarning?: boolean | undefined;
9
6
  accessKey?: string | undefined;
10
- className?: string | undefined;
11
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
12
- contextMenu?: string | undefined;
13
7
  draggable?: (boolean | "true" | "false") | undefined;
14
8
  hidden?: boolean | undefined;
15
- id?: string | undefined;
16
9
  lang?: string | undefined;
10
+ title?: string | undefined;
11
+ translate?: "yes" | "no" | undefined;
12
+ className?: string | undefined;
13
+ id?: string | undefined;
14
+ prefix?: string | undefined;
15
+ children?: import("react").ReactNode;
16
+ style?: import("react").CSSProperties | undefined;
17
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
18
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
17
19
  nonce?: string | undefined;
20
+ tabIndex?: number | undefined;
21
+ defaultChecked?: boolean | undefined;
22
+ defaultValue?: string | number | readonly string[] | undefined;
23
+ suppressContentEditableWarning?: boolean | undefined;
24
+ suppressHydrationWarning?: boolean | undefined;
25
+ autoFocus?: boolean | undefined;
26
+ contextMenu?: string | undefined;
18
27
  placeholder?: string | undefined;
19
28
  spellCheck?: (boolean | "true" | "false") | undefined;
20
- style?: import("react").CSSProperties | undefined;
21
- tabIndex?: number | undefined;
22
- title?: string | undefined;
23
- translate?: "yes" | "no" | undefined;
24
29
  radioGroup?: string | undefined;
25
30
  role?: import("react").AriaRole | undefined;
26
31
  about?: string | undefined;
32
+ content?: string | undefined;
27
33
  datatype?: string | undefined;
28
34
  inlist?: any;
29
- prefix?: string | undefined;
30
35
  property?: string | undefined;
36
+ rel?: string | undefined;
31
37
  resource?: string | undefined;
38
+ rev?: string | undefined;
32
39
  typeof?: string | undefined;
33
40
  vocab?: string | undefined;
34
41
  autoCapitalize?: string | undefined;
@@ -43,19 +50,22 @@ export declare const SplitView: import("react").ComponentType<Partial<{
43
50
  results?: number | undefined;
44
51
  security?: string | undefined;
45
52
  unselectable?: "off" | "on" | undefined;
46
- inputMode?: "search" | "text" | "none" | "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
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
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 | "time" | "true" | "false" | "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
71
  'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -85,6 +95,7 @@ export declare const SplitView: import("react").ComponentType<Partial<{
85
95
  'aria-roledescription'?: string | undefined;
86
96
  'aria-rowcount'?: number | undefined;
87
97
  'aria-rowindex'?: number | undefined;
98
+ 'aria-rowindextext'?: string | undefined;
88
99
  'aria-rowspan'?: number | undefined;
89
100
  'aria-selected'?: (boolean | "true" | "false") | undefined;
90
101
  'aria-setsize'?: number | undefined;
@@ -93,9 +104,8 @@ export declare const SplitView: import("react").ComponentType<Partial<{
93
104
  'aria-valuemin'?: number | undefined;
94
105
  'aria-valuenow'?: number | undefined;
95
106
  'aria-valuetext'?: string | undefined;
96
- children?: import("react").ReactNode;
97
107
  dangerouslySetInnerHTML?: {
98
- __html: string;
108
+ __html: string | TrustedHTML;
99
109
  } | undefined;
100
110
  onCopy?: import("react").ClipboardEventHandler<import("split-view/src").SplitView> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("split-view/src").SplitView> | undefined;
@@ -273,7 +283,16 @@ export declare const SplitView: import("react").ComponentType<Partial<{
273
283
  secondaryMax: number;
274
284
  splitterPos?: number | undefined;
275
285
  label?: string | undefined;
276
- normalize: () => void;
286
+ readonly renderRoot: HTMLElement | ShadowRoot;
287
+ isUpdatePending: boolean;
288
+ hasUpdated: boolean;
289
+ addController: (controller: import("lit").ReactiveController) => void;
290
+ removeController: (controller: import("lit").ReactiveController) => void;
291
+ connectedCallback: () => void;
292
+ disconnectedCallback: () => void;
293
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
294
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
295
+ readonly updateComplete: Promise<boolean>;
277
296
  readonly accessKeyLabel: string;
278
297
  autocapitalize: string;
279
298
  inert: boolean;
@@ -394,6 +413,7 @@ export declare const SplitView: import("react").ComponentType<Partial<{
394
413
  isSameNode: (otherNode: Node | null) => boolean;
395
414
  lookupNamespaceURI: (prefix: string | null) => string | null;
396
415
  lookupPrefix: (namespace: string | null) => string | null;
416
+ normalize: () => void;
397
417
  removeChild: <T_2 extends Node>(child: T_2) => T_2;
398
418
  replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
399
419
  readonly ATTRIBUTE_NODE: number;
@@ -575,18 +595,8 @@ export declare const SplitView: import("react").ComponentType<Partial<{
575
595
  readonly dataset: DOMStringMap;
576
596
  blur: () => void;
577
597
  focus: (options?: FocusOptions | undefined) => void;
578
- connectedCallback: () => void;
579
- disconnectedCallback: () => void;
580
598
  readonly splitterSize: number;
581
599
  readonly renderOptions: import("lit-html").RenderOptions;
582
- readonly renderRoot: HTMLElement | ShadowRoot;
583
- isUpdatePending: boolean;
584
- hasUpdated: boolean;
585
- addController: (controller: import("lit").ReactiveController) => void;
586
- removeController: (controller: import("lit").ReactiveController) => void;
587
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
588
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
589
- readonly updateComplete: Promise<boolean>;
590
600
  isLTR: boolean;
591
601
  hasVisibleFocusInTree: () => boolean;
592
602
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/split-view",
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/split-view": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/split-view": "^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
  }