@swc-react/color-wheel 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 +37 -27
  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 ColorWheel: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
4
5
  slot?: string | undefined;
@@ -7,30 +8,36 @@ export declare const ColorWheel: import("react").ComponentType<Partial<{
7
8
  tabIndex?: number | undefined;
8
9
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
9
10
  color?: string | undefined;
10
- defaultChecked?: boolean | undefined;
11
- defaultValue?: string | number | readonly string[] | undefined;
12
- suppressContentEditableWarning?: boolean | undefined;
13
- suppressHydrationWarning?: boolean | undefined;
11
+ lang?: string | undefined;
14
12
  accessKey?: string | undefined;
15
- className?: string | undefined;
16
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
17
- contextMenu?: string | undefined;
18
13
  draggable?: (boolean | "true" | "false") | undefined;
19
14
  hidden?: boolean | undefined;
15
+ translate?: "yes" | "no" | undefined;
16
+ className?: string | undefined;
20
17
  id?: string | undefined;
21
- lang?: string | 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
22
  nonce?: string | undefined;
23
+ defaultChecked?: boolean | undefined;
24
+ defaultValue?: string | number | readonly string[] | undefined;
25
+ suppressContentEditableWarning?: boolean | undefined;
26
+ suppressHydrationWarning?: boolean | undefined;
27
+ autoFocus?: boolean | undefined;
28
+ contextMenu?: string | undefined;
23
29
  placeholder?: string | undefined;
24
30
  spellCheck?: (boolean | "true" | "false") | undefined;
25
- translate?: "yes" | "no" | undefined;
26
31
  radioGroup?: string | undefined;
27
32
  role?: import("react").AriaRole | undefined;
28
33
  about?: string | undefined;
34
+ content?: string | undefined;
29
35
  datatype?: string | undefined;
30
36
  inlist?: any;
31
- prefix?: string | undefined;
32
37
  property?: string | undefined;
38
+ rel?: string | undefined;
33
39
  resource?: string | undefined;
40
+ rev?: string | undefined;
34
41
  typeof?: string | undefined;
35
42
  vocab?: string | undefined;
36
43
  autoCapitalize?: string | undefined;
@@ -44,19 +51,22 @@ export declare const ColorWheel: import("react").ComponentType<Partial<{
44
51
  results?: number | undefined;
45
52
  security?: string | undefined;
46
53
  unselectable?: "off" | "on" | undefined;
47
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
48
54
  is?: string | undefined;
49
55
  'aria-activedescendant'?: string | undefined;
50
56
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
51
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
57
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
58
+ 'aria-braillelabel'?: string | undefined;
59
+ 'aria-brailleroledescription'?: string | undefined;
52
60
  'aria-busy'?: (boolean | "true" | "false") | undefined;
53
61
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
54
62
  'aria-colcount'?: number | undefined;
55
63
  'aria-colindex'?: number | undefined;
64
+ 'aria-colindextext'?: string | undefined;
56
65
  'aria-colspan'?: number | undefined;
57
66
  'aria-controls'?: string | undefined;
58
67
  'aria-current'?: boolean | "time" | "true" | "step" | "false" | "page" | "location" | "date" | undefined;
59
68
  'aria-describedby'?: string | undefined;
69
+ 'aria-description'?: string | undefined;
60
70
  'aria-details'?: string | undefined;
61
71
  'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
62
72
  'aria-errormessage'?: string | undefined;
@@ -85,6 +95,7 @@ export declare const ColorWheel: 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 ColorWheel: 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("color-wheel/src").ColorWheel> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("color-wheel/src").ColorWheel> | undefined;
@@ -276,8 +286,17 @@ export declare const ColorWheel: import("react").ComponentType<Partial<{
276
286
  autofocus: boolean;
277
287
  normalize: () => void;
278
288
  focused: boolean;
279
- step: number;
280
- value: number;
289
+ shadowRoot: ShadowRoot;
290
+ readonly renderRoot: HTMLElement | ShadowRoot;
291
+ isUpdatePending: boolean;
292
+ hasUpdated: boolean;
293
+ addController: (controller: import("lit").ReactiveController) => void;
294
+ removeController: (controller: import("lit").ReactiveController) => void;
295
+ connectedCallback: () => void;
296
+ disconnectedCallback: () => void;
297
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
298
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
299
+ readonly updateComplete: Promise<boolean>;
281
300
  readonly accessKeyLabel: string;
282
301
  autocapitalize: string;
283
302
  inert: boolean;
@@ -313,7 +332,6 @@ export declare const ColorWheel: import("react").ComponentType<Partial<{
313
332
  scrollLeft: number;
314
333
  scrollTop: number;
315
334
  readonly scrollWidth: number;
316
- shadowRoot: ShadowRoot;
317
335
  readonly tagName: string;
318
336
  attachShadow: (init: ShadowRootInit) => ShadowRoot;
319
337
  closest: {
@@ -570,6 +588,8 @@ export declare const ColorWheel: import("react").ComponentType<Partial<{
570
588
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
571
589
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
572
590
  readonly dataset: DOMStringMap;
591
+ step: number;
592
+ value: number;
573
593
  readonly focusElement: HTMLInputElement;
574
594
  calculateStyleData: () => {
575
595
  clipPath: string;
@@ -577,17 +597,7 @@ export declare const ColorWheel: import("react").ComponentType<Partial<{
577
597
  diameter: number;
578
598
  handleLocationStyles: string;
579
599
  };
580
- connectedCallback: () => void;
581
- disconnectedCallback: () => void;
582
600
  readonly renderOptions: import("lit-html").RenderOptions;
583
- readonly renderRoot: HTMLElement | ShadowRoot;
584
- isUpdatePending: boolean;
585
- hasUpdated: boolean;
586
- addController: (controller: import("lit").ReactiveController) => void;
587
- removeController: (controller: import("lit").ReactiveController) => void;
588
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
589
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
590
- readonly updateComplete: Promise<boolean>;
591
601
  isLTR: boolean;
592
602
  hasVisibleFocusInTree: () => boolean;
593
603
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/color-wheel",
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/color-wheel": "^0.34.1-rc.0+1647bfed5"
33
+ "@spectrum-web-components/color-wheel": "^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
  }