@swc-react/color-area 0.35.1-rc.26 → 0.36.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 +29 -29
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -7,32 +7,30 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
7
7
  slot?: string | undefined;
8
8
  style?: import("react").CSSProperties | undefined;
9
9
  title?: string | undefined;
10
- accessKey?: string | undefined;
11
- draggable?: (boolean | "true" | "false") | undefined;
12
- hidden?: boolean | undefined;
13
- translate?: "yes" | "no" | undefined;
14
- className?: string | undefined;
15
- id?: string | undefined;
16
- prefix?: string | undefined;
17
- children?: import("react").ReactNode;
18
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
19
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
20
- nonce?: string | undefined;
21
- tabIndex?: number | undefined;
22
10
  defaultChecked?: boolean | undefined;
23
11
  defaultValue?: string | number | readonly string[] | undefined;
24
12
  suppressContentEditableWarning?: boolean | undefined;
25
13
  suppressHydrationWarning?: boolean | undefined;
14
+ accessKey?: string | undefined;
26
15
  autoFocus?: boolean | undefined;
16
+ className?: string | undefined;
17
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
27
18
  contextMenu?: string | undefined;
19
+ draggable?: (boolean | "true" | "false") | undefined;
20
+ hidden?: boolean | undefined;
21
+ id?: string | undefined;
22
+ nonce?: string | undefined;
28
23
  placeholder?: string | undefined;
29
24
  spellCheck?: (boolean | "true" | "false") | undefined;
25
+ tabIndex?: number | undefined;
26
+ translate?: "yes" | "no" | undefined;
30
27
  radioGroup?: string | undefined;
31
28
  role?: import("react").AriaRole | undefined;
32
29
  about?: string | undefined;
33
30
  content?: string | undefined;
34
31
  datatype?: string | undefined;
35
32
  inlist?: any;
33
+ prefix?: string | undefined;
36
34
  property?: string | undefined;
37
35
  rel?: string | undefined;
38
36
  resource?: string | undefined;
@@ -50,10 +48,11 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
50
48
  results?: number | undefined;
51
49
  security?: string | undefined;
52
50
  unselectable?: "off" | "on" | undefined;
51
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
53
52
  is?: string | undefined;
54
53
  'aria-activedescendant'?: string | undefined;
55
54
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
56
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
55
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
57
56
  'aria-braillelabel'?: string | undefined;
58
57
  'aria-brailleroledescription'?: string | undefined;
59
58
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -104,6 +103,7 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
104
103
  'aria-valuemin'?: number | undefined;
105
104
  'aria-valuenow'?: number | undefined;
106
105
  'aria-valuetext'?: string | undefined;
106
+ children?: import("react").ReactNode;
107
107
  dangerouslySetInnerHTML?: {
108
108
  __html: string | TrustedHTML;
109
109
  } | undefined;
@@ -288,16 +288,12 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
288
288
  label: string | undefined;
289
289
  labelX: string;
290
290
  labelY: string;
291
- readonly renderRoot: HTMLElement | ShadowRoot;
292
- isUpdatePending: boolean;
293
- hasUpdated: boolean;
294
- addController: (controller: import("lit").ReactiveController) => void;
295
- removeController: (controller: import("lit").ReactiveController) => void;
296
- connectedCallback: () => void;
297
- disconnectedCallback: () => void;
298
- attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
299
- requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
300
- readonly updateComplete: Promise<boolean>;
291
+ readonly value: import("@spectrum-web-components/reactive-controllers/src/Color").ColorValue;
292
+ x: number;
293
+ y: number;
294
+ step: number;
295
+ inputX: HTMLInputElement;
296
+ inputY: HTMLInputElement;
301
297
  readonly accessKeyLabel: string;
302
298
  autocapitalize: string;
303
299
  inert: boolean;
@@ -591,13 +587,17 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
591
587
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
592
588
  autofocus: boolean;
593
589
  readonly dataset: DOMStringMap;
594
- readonly value: import("@spectrum-web-components/reactive-controllers/src/Color").ColorValue;
595
- x: number;
596
- y: number;
597
- step: number;
598
- inputX: HTMLInputElement;
599
- inputY: HTMLInputElement;
590
+ connectedCallback: () => void;
591
+ disconnectedCallback: () => void;
600
592
  readonly renderOptions: import("lit-html").RenderOptions;
593
+ readonly renderRoot: HTMLElement | ShadowRoot;
594
+ isUpdatePending: boolean;
595
+ hasUpdated: boolean;
596
+ addController: (controller: import("lit").ReactiveController) => void;
597
+ removeController: (controller: import("lit").ReactiveController) => void;
598
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
599
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
600
+ readonly updateComplete: Promise<boolean>;
601
601
  isLTR: boolean;
602
602
  hasVisibleFocusInTree: () => boolean;
603
603
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/color-area",
3
- "version": "0.35.1-rc.26+05bd08374",
3
+ "version": "0.36.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/color-area": "^0.35.1-rc.26+05bd08374"
33
+ "@spectrum-web-components/color-area": "^0.36.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": "05bd0837417e287acdf2685d1ca05ab4d138fc95"
43
+ "gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
44
44
  }