@swc-react/color-area 0.36.0 → 0.38.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,30 +7,32 @@ 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;
10
22
  defaultChecked?: boolean | undefined;
11
23
  defaultValue?: string | number | readonly string[] | undefined;
12
24
  suppressContentEditableWarning?: boolean | undefined;
13
25
  suppressHydrationWarning?: boolean | undefined;
14
- accessKey?: string | undefined;
15
26
  autoFocus?: boolean | undefined;
16
- className?: string | undefined;
17
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
18
27
  contextMenu?: string | undefined;
19
- draggable?: (boolean | "true" | "false") | undefined;
20
- hidden?: boolean | undefined;
21
- id?: string | undefined;
22
- nonce?: string | undefined;
23
28
  placeholder?: string | undefined;
24
29
  spellCheck?: (boolean | "true" | "false") | undefined;
25
- tabIndex?: number | undefined;
26
- translate?: "yes" | "no" | undefined;
27
30
  radioGroup?: string | undefined;
28
31
  role?: import("react").AriaRole | undefined;
29
32
  about?: string | undefined;
30
33
  content?: string | undefined;
31
34
  datatype?: string | undefined;
32
35
  inlist?: any;
33
- prefix?: string | undefined;
34
36
  property?: string | undefined;
35
37
  rel?: string | undefined;
36
38
  resource?: string | undefined;
@@ -48,11 +50,10 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
48
50
  results?: number | undefined;
49
51
  security?: string | undefined;
50
52
  unselectable?: "off" | "on" | undefined;
51
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
52
53
  is?: string | undefined;
53
54
  'aria-activedescendant'?: string | undefined;
54
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
55
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
56
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
56
57
  'aria-braillelabel'?: string | undefined;
57
58
  'aria-brailleroledescription'?: string | undefined;
58
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -103,7 +104,6 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
103
104
  'aria-valuemin'?: number | undefined;
104
105
  'aria-valuenow'?: number | undefined;
105
106
  'aria-valuetext'?: string | undefined;
106
- children?: import("react").ReactNode;
107
107
  dangerouslySetInnerHTML?: {
108
108
  __html: string | TrustedHTML;
109
109
  } | undefined;
@@ -288,12 +288,16 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
288
288
  label: string | undefined;
289
289
  labelX: string;
290
290
  labelY: string;
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;
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>;
297
301
  readonly accessKeyLabel: string;
298
302
  autocapitalize: string;
299
303
  inert: boolean;
@@ -587,17 +591,13 @@ export declare const ColorArea: import("react").ComponentType<Partial<{
587
591
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
588
592
  autofocus: boolean;
589
593
  readonly dataset: DOMStringMap;
590
- connectedCallback: () => void;
591
- disconnectedCallback: () => void;
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;
592
600
  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.36.0",
3
+ "version": "0.38.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.36.0"
33
+ "@spectrum-web-components/color-area": "^0.38.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": "a532ff8a410abeefb54d9638a2316ae82570566e"
43
+ "gitHead": "9a099b7543672f2fd4030833ab813b16c2cad62e"
44
44
  }