@swc-react/swatch 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 +24 -5
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Swatch: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
@@ -6,6 +7,7 @@ export declare const Swatch: import("react").ComponentType<Partial<{
6
7
  title?: string | undefined;
7
8
  tabIndex?: number | undefined;
8
9
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
10
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
9
11
  color?: string | undefined;
10
12
  role?: import("react").AriaRole | undefined;
11
13
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
@@ -27,15 +29,19 @@ export declare const Swatch: import("react").ComponentType<Partial<{
27
29
  defaultValue?: string | number | readonly string[] | undefined;
28
30
  suppressContentEditableWarning?: boolean | undefined;
29
31
  suppressHydrationWarning?: boolean | undefined;
32
+ autoFocus?: boolean | undefined;
30
33
  contextMenu?: string | undefined;
31
34
  placeholder?: string | undefined;
32
35
  spellCheck?: (boolean | "true" | "false") | undefined;
33
36
  radioGroup?: string | undefined;
34
37
  about?: string | undefined;
38
+ content?: string | undefined;
35
39
  datatype?: string | undefined;
36
40
  inlist?: any;
37
41
  property?: string | undefined;
42
+ rel?: string | undefined;
38
43
  resource?: string | undefined;
44
+ rev?: string | undefined;
39
45
  typeof?: string | undefined;
40
46
  vocab?: string | undefined;
41
47
  autoCapitalize?: string | undefined;
@@ -53,13 +59,17 @@ export declare const Swatch: import("react").ComponentType<Partial<{
53
59
  'aria-activedescendant'?: string | undefined;
54
60
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
55
61
  'aria-autocomplete'?: "none" | "both" | "list" | "inline" | undefined;
62
+ 'aria-braillelabel'?: string | undefined;
63
+ 'aria-brailleroledescription'?: string | undefined;
56
64
  'aria-busy'?: (boolean | "true" | "false") | undefined;
57
65
  'aria-colcount'?: number | undefined;
58
66
  'aria-colindex'?: number | undefined;
67
+ 'aria-colindextext'?: string | undefined;
59
68
  'aria-colspan'?: number | undefined;
60
69
  'aria-controls'?: string | undefined;
61
70
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
62
71
  'aria-describedby'?: string | undefined;
72
+ 'aria-description'?: string | undefined;
63
73
  'aria-details'?: string | undefined;
64
74
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
65
75
  'aria-errormessage'?: string | undefined;
@@ -67,7 +77,6 @@ export declare const Swatch: import("react").ComponentType<Partial<{
67
77
  'aria-flowto'?: string | undefined;
68
78
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
69
79
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
70
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
71
80
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
72
81
  'aria-keyshortcuts'?: string | undefined;
73
82
  'aria-labelledby'?: string | undefined;
@@ -86,6 +95,7 @@ export declare const Swatch: 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 Swatch: 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("swatch/src").Swatch> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("swatch/src").Swatch> | undefined;
@@ -600,6 +610,7 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
600
610
  title?: string | undefined;
601
611
  tabIndex?: number | undefined;
602
612
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
613
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
603
614
  color?: string | undefined;
604
615
  role?: import("react").AriaRole | undefined;
605
616
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
@@ -621,15 +632,19 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
621
632
  defaultValue?: string | number | readonly string[] | undefined;
622
633
  suppressContentEditableWarning?: boolean | undefined;
623
634
  suppressHydrationWarning?: boolean | undefined;
635
+ autoFocus?: boolean | undefined;
624
636
  contextMenu?: string | undefined;
625
637
  placeholder?: string | undefined;
626
638
  spellCheck?: (boolean | "true" | "false") | undefined;
627
639
  radioGroup?: string | undefined;
628
640
  about?: string | undefined;
641
+ content?: string | undefined;
629
642
  datatype?: string | undefined;
630
643
  inlist?: any;
631
644
  property?: string | undefined;
645
+ rel?: string | undefined;
632
646
  resource?: string | undefined;
647
+ rev?: string | undefined;
633
648
  typeof?: string | undefined;
634
649
  vocab?: string | undefined;
635
650
  autoCapitalize?: string | undefined;
@@ -647,13 +662,17 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
647
662
  'aria-activedescendant'?: string | undefined;
648
663
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
649
664
  'aria-autocomplete'?: "none" | "both" | "list" | "inline" | undefined;
665
+ 'aria-braillelabel'?: string | undefined;
666
+ 'aria-brailleroledescription'?: string | undefined;
650
667
  'aria-busy'?: (boolean | "true" | "false") | undefined;
651
668
  'aria-colcount'?: number | undefined;
652
669
  'aria-colindex'?: number | undefined;
670
+ 'aria-colindextext'?: string | undefined;
653
671
  'aria-colspan'?: number | undefined;
654
672
  'aria-controls'?: string | undefined;
655
673
  'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
656
674
  'aria-describedby'?: string | undefined;
675
+ 'aria-description'?: string | undefined;
657
676
  'aria-details'?: string | undefined;
658
677
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
659
678
  'aria-errormessage'?: string | undefined;
@@ -661,7 +680,6 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
661
680
  'aria-flowto'?: string | undefined;
662
681
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
663
682
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
664
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
665
683
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
666
684
  'aria-keyshortcuts'?: string | undefined;
667
685
  'aria-labelledby'?: string | undefined;
@@ -680,6 +698,7 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
680
698
  'aria-roledescription'?: string | undefined;
681
699
  'aria-rowcount'?: number | undefined;
682
700
  'aria-rowindex'?: number | undefined;
701
+ 'aria-rowindextext'?: string | undefined;
683
702
  'aria-rowspan'?: number | undefined;
684
703
  'aria-selected'?: (boolean | "true" | "false") | undefined;
685
704
  'aria-setsize'?: number | undefined;
@@ -689,7 +708,7 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
689
708
  'aria-valuenow'?: number | undefined;
690
709
  'aria-valuetext'?: string | undefined;
691
710
  dangerouslySetInnerHTML?: {
692
- __html: string;
711
+ __html: string | TrustedHTML;
693
712
  } | undefined;
694
713
  onCopy?: import("react").ClipboardEventHandler<import("swatch/src").SwatchGroup> | undefined;
695
714
  onCopyCapture?: import("react").ClipboardEventHandler<import("swatch/src").SwatchGroup> | undefined;
@@ -871,7 +890,7 @@ export declare const SwatchGroup: import("react").ComponentType<Partial<{
871
890
  rounding: import("swatch/src").SwatchRounding;
872
891
  selected: string[];
873
892
  shape: import("swatch/src").SwatchShape;
874
- selects: "single" | "multiple" | undefined;
893
+ selects: import("swatch/src").SwatchSelects;
875
894
  density: "compact" | "spacious" | undefined;
876
895
  rovingTabindexController: import("@spectrum-web-components/reactive-controllers/src/RovingTabindex").RovingTabindexController<import("swatch/src").Swatch>;
877
896
  readonly renderOptions: import("lit-html").RenderOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/swatch",
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/swatch": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/swatch": "^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
  }