@swc-react/tags 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 +65 -46
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,36 +1,44 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Tag: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
5
6
  style?: import("react").CSSProperties | undefined;
6
7
  title?: string | undefined;
7
8
  tabIndex?: number | undefined;
9
+ rel?: string | undefined;
8
10
  id?: string | undefined;
9
11
  className?: string | undefined;
10
12
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
13
+ accessKey?: string | undefined;
14
+ draggable?: (boolean | "true" | "false") | undefined;
15
+ hidden?: boolean | undefined;
16
+ lang?: string | undefined;
17
+ translate?: "yes" | "no" | undefined;
18
+ prefix?: string | undefined;
19
+ children?: import("react").ReactNode;
20
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
21
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
22
+ nonce?: string | undefined;
11
23
  role?: import("react").AriaRole | undefined;
12
24
  'aria-label'?: string | undefined;
25
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
13
26
  defaultChecked?: boolean | undefined;
14
27
  defaultValue?: string | number | readonly string[] | undefined;
15
28
  suppressContentEditableWarning?: boolean | undefined;
16
29
  suppressHydrationWarning?: boolean | undefined;
17
- accessKey?: string | undefined;
18
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
30
+ autoFocus?: boolean | undefined;
19
31
  contextMenu?: string | undefined;
20
- draggable?: (boolean | "true" | "false") | undefined;
21
- hidden?: boolean | undefined;
22
- lang?: string | undefined;
23
- nonce?: string | undefined;
24
32
  placeholder?: string | undefined;
25
33
  spellCheck?: (boolean | "true" | "false") | undefined;
26
- translate?: "yes" | "no" | undefined;
27
34
  radioGroup?: string | undefined;
28
35
  about?: string | undefined;
36
+ content?: string | undefined;
29
37
  datatype?: string | undefined;
30
38
  inlist?: any;
31
- prefix?: string | undefined;
32
39
  property?: string | undefined;
33
40
  resource?: string | undefined;
41
+ rev?: string | undefined;
34
42
  typeof?: string | undefined;
35
43
  vocab?: string | undefined;
36
44
  autoCapitalize?: string | undefined;
@@ -45,19 +53,22 @@ export declare const Tag: import("react").ComponentType<Partial<{
45
53
  results?: number | undefined;
46
54
  security?: string | undefined;
47
55
  unselectable?: "on" | "off" | undefined;
48
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
49
56
  is?: string | undefined;
50
57
  'aria-activedescendant'?: string | undefined;
51
58
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
52
59
  'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
60
+ 'aria-braillelabel'?: string | undefined;
61
+ 'aria-brailleroledescription'?: string | undefined;
53
62
  'aria-busy'?: (boolean | "true" | "false") | undefined;
54
63
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
55
64
  'aria-colcount'?: number | undefined;
56
65
  'aria-colindex'?: number | undefined;
66
+ 'aria-colindextext'?: string | undefined;
57
67
  'aria-colspan'?: number | undefined;
58
68
  'aria-controls'?: string | undefined;
59
69
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
60
70
  'aria-describedby'?: string | undefined;
71
+ 'aria-description'?: string | undefined;
61
72
  'aria-details'?: string | undefined;
62
73
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
63
74
  'aria-errormessage'?: string | undefined;
@@ -65,7 +76,6 @@ export declare const Tag: import("react").ComponentType<Partial<{
65
76
  'aria-flowto'?: string | undefined;
66
77
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
67
78
  'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
68
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
69
79
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
70
80
  'aria-keyshortcuts'?: string | undefined;
71
81
  'aria-labelledby'?: string | undefined;
@@ -85,6 +95,7 @@ export declare const Tag: 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 Tag: 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("tags/src").Tag> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("tags/src").Tag> | undefined;
@@ -276,8 +286,16 @@ export declare const Tag: import("react").ComponentType<Partial<{
276
286
  autofocus: boolean;
277
287
  normalize: () => void;
278
288
  readonly childNodes: NodeListOf<ChildNode>;
279
- deletable: boolean;
280
- readonly: boolean;
289
+ readonly renderRoot: HTMLElement | ShadowRoot;
290
+ isUpdatePending: boolean;
291
+ hasUpdated: boolean;
292
+ addController: (controller: import("lit").ReactiveController) => void;
293
+ removeController: (controller: import("lit").ReactiveController) => void;
294
+ connectedCallback: () => void;
295
+ disconnectedCallback: () => void;
296
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
297
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
298
+ readonly updateComplete: Promise<boolean>;
281
299
  readonly accessKeyLabel: string;
282
300
  autocapitalize: string;
283
301
  inert: boolean;
@@ -569,17 +587,9 @@ export declare const Tag: import("react").ComponentType<Partial<{
569
587
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
570
588
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
571
589
  readonly dataset: DOMStringMap;
590
+ deletable: boolean;
591
+ readonly: boolean;
572
592
  readonly renderOptions: import("lit-html").RenderOptions;
573
- connectedCallback: () => void;
574
- disconnectedCallback: () => void;
575
- readonly renderRoot: HTMLElement | ShadowRoot;
576
- isUpdatePending: boolean;
577
- hasUpdated: boolean;
578
- addController: (controller: import("lit").ReactiveController) => void;
579
- removeController: (controller: import("lit").ReactiveController) => void;
580
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
581
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
582
- readonly updateComplete: Promise<boolean>;
583
593
  isLTR: boolean;
584
594
  hasVisibleFocusInTree: () => boolean;
585
595
  } & {
@@ -591,32 +601,39 @@ export declare const Tags: import("react").ComponentType<Partial<{
591
601
  style?: import("react").CSSProperties | undefined;
592
602
  title?: string | undefined;
593
603
  tabIndex?: number | undefined;
604
+ rel?: string | undefined;
594
605
  id?: string | undefined;
595
606
  className?: string | undefined;
596
607
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
608
+ accessKey?: string | undefined;
609
+ draggable?: (boolean | "true" | "false") | undefined;
610
+ hidden?: boolean | undefined;
611
+ lang?: string | undefined;
612
+ translate?: "yes" | "no" | undefined;
613
+ prefix?: string | undefined;
614
+ children?: import("react").ReactNode;
615
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
616
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
617
+ nonce?: string | undefined;
597
618
  role?: import("react").AriaRole | undefined;
598
619
  'aria-label'?: string | undefined;
620
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
599
621
  defaultChecked?: boolean | undefined;
600
622
  defaultValue?: string | number | readonly string[] | undefined;
601
623
  suppressContentEditableWarning?: boolean | undefined;
602
624
  suppressHydrationWarning?: boolean | undefined;
603
- accessKey?: string | undefined;
604
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
625
+ autoFocus?: boolean | undefined;
605
626
  contextMenu?: string | undefined;
606
- draggable?: (boolean | "true" | "false") | undefined;
607
- hidden?: boolean | undefined;
608
- lang?: string | undefined;
609
- nonce?: string | undefined;
610
627
  placeholder?: string | undefined;
611
628
  spellCheck?: (boolean | "true" | "false") | undefined;
612
- translate?: "yes" | "no" | undefined;
613
629
  radioGroup?: string | undefined;
614
630
  about?: string | undefined;
631
+ content?: string | undefined;
615
632
  datatype?: string | undefined;
616
633
  inlist?: any;
617
- prefix?: string | undefined;
618
634
  property?: string | undefined;
619
635
  resource?: string | undefined;
636
+ rev?: string | undefined;
620
637
  typeof?: string | undefined;
621
638
  vocab?: string | undefined;
622
639
  autoCapitalize?: string | undefined;
@@ -631,19 +648,22 @@ export declare const Tags: import("react").ComponentType<Partial<{
631
648
  results?: number | undefined;
632
649
  security?: string | undefined;
633
650
  unselectable?: "on" | "off" | undefined;
634
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
635
651
  is?: string | undefined;
636
652
  'aria-activedescendant'?: string | undefined;
637
653
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
638
654
  'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
655
+ 'aria-braillelabel'?: string | undefined;
656
+ 'aria-brailleroledescription'?: string | undefined;
639
657
  'aria-busy'?: (boolean | "true" | "false") | undefined;
640
658
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
641
659
  'aria-colcount'?: number | undefined;
642
660
  'aria-colindex'?: number | undefined;
661
+ 'aria-colindextext'?: string | undefined;
643
662
  'aria-colspan'?: number | undefined;
644
663
  'aria-controls'?: string | undefined;
645
664
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
646
665
  'aria-describedby'?: string | undefined;
666
+ 'aria-description'?: string | undefined;
647
667
  'aria-details'?: string | undefined;
648
668
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
649
669
  'aria-errormessage'?: string | undefined;
@@ -651,7 +671,6 @@ export declare const Tags: import("react").ComponentType<Partial<{
651
671
  'aria-flowto'?: string | undefined;
652
672
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
653
673
  'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
654
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
655
674
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
656
675
  'aria-keyshortcuts'?: string | undefined;
657
676
  'aria-labelledby'?: string | undefined;
@@ -671,6 +690,7 @@ export declare const Tags: import("react").ComponentType<Partial<{
671
690
  'aria-roledescription'?: string | undefined;
672
691
  'aria-rowcount'?: number | undefined;
673
692
  'aria-rowindex'?: number | undefined;
693
+ 'aria-rowindextext'?: string | undefined;
674
694
  'aria-rowspan'?: number | undefined;
675
695
  'aria-selected'?: (boolean | "true" | "false") | undefined;
676
696
  'aria-setsize'?: number | undefined;
@@ -679,9 +699,8 @@ export declare const Tags: import("react").ComponentType<Partial<{
679
699
  'aria-valuemin'?: number | undefined;
680
700
  'aria-valuenow'?: number | undefined;
681
701
  'aria-valuetext'?: string | undefined;
682
- children?: import("react").ReactNode;
683
702
  dangerouslySetInnerHTML?: {
684
- __html: string;
703
+ __html: string | TrustedHTML;
685
704
  } | undefined;
686
705
  onCopy?: import("react").ClipboardEventHandler<import("tags/src").Tags> | undefined;
687
706
  onCopyCapture?: import("react").ClipboardEventHandler<import("tags/src").Tags> | undefined;
@@ -860,6 +879,16 @@ export declare const Tags: import("react").ComponentType<Partial<{
860
879
  autofocus: boolean;
861
880
  normalize: () => void;
862
881
  readonly childNodes: NodeListOf<ChildNode>;
882
+ readonly renderRoot: HTMLElement | ShadowRoot;
883
+ isUpdatePending: boolean;
884
+ hasUpdated: boolean;
885
+ addController: (controller: import("lit").ReactiveController) => void;
886
+ removeController: (controller: import("lit").ReactiveController) => void;
887
+ connectedCallback: () => void;
888
+ disconnectedCallback: () => void;
889
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
890
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
891
+ readonly updateComplete: Promise<boolean>;
863
892
  readonly accessKeyLabel: string;
864
893
  autocapitalize: string;
865
894
  inert: boolean;
@@ -1152,16 +1181,6 @@ export declare const Tags: import("react").ComponentType<Partial<{
1152
1181
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1153
1182
  readonly dataset: DOMStringMap;
1154
1183
  readonly renderOptions: import("lit-html").RenderOptions;
1155
- connectedCallback: () => void;
1156
- disconnectedCallback: () => void;
1157
- readonly renderRoot: HTMLElement | ShadowRoot;
1158
- isUpdatePending: boolean;
1159
- hasUpdated: boolean;
1160
- addController: (controller: import("lit").ReactiveController) => void;
1161
- removeController: (controller: import("lit").ReactiveController) => void;
1162
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
1163
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
1164
- readonly updateComplete: Promise<boolean>;
1165
1184
  isLTR: boolean;
1166
1185
  hasVisibleFocusInTree: () => boolean;
1167
1186
  defaultNodes: Node[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/tags",
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/tags": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/tags": "^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
  }