@swc-react/color-slider 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 +26 -26
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -9,31 +9,29 @@ export declare const ColorSlider: import("react").ComponentType<Partial<{
9
9
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
10
10
  color?: string | undefined;
11
11
  lang?: string | undefined;
12
- accessKey?: string | undefined;
13
- draggable?: (boolean | "true" | "false") | undefined;
14
- hidden?: boolean | undefined;
15
- translate?: "yes" | "no" | undefined;
16
- className?: string | undefined;
17
- id?: 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
- nonce?: string | undefined;
23
12
  defaultChecked?: boolean | undefined;
24
13
  defaultValue?: string | number | readonly string[] | undefined;
25
14
  suppressContentEditableWarning?: boolean | undefined;
26
15
  suppressHydrationWarning?: boolean | undefined;
16
+ accessKey?: string | undefined;
27
17
  autoFocus?: boolean | undefined;
18
+ className?: string | undefined;
19
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
28
20
  contextMenu?: string | undefined;
21
+ draggable?: (boolean | "true" | "false") | undefined;
22
+ hidden?: boolean | undefined;
23
+ id?: string | undefined;
24
+ nonce?: string | undefined;
29
25
  placeholder?: string | undefined;
30
26
  spellCheck?: (boolean | "true" | "false") | undefined;
27
+ translate?: "yes" | "no" | undefined;
31
28
  radioGroup?: string | undefined;
32
29
  role?: import("react").AriaRole | undefined;
33
30
  about?: string | undefined;
34
31
  content?: string | undefined;
35
32
  datatype?: string | undefined;
36
33
  inlist?: any;
34
+ prefix?: string | undefined;
37
35
  property?: string | undefined;
38
36
  rel?: string | undefined;
39
37
  resource?: string | undefined;
@@ -51,10 +49,11 @@ export declare const ColorSlider: import("react").ComponentType<Partial<{
51
49
  results?: number | undefined;
52
50
  security?: string | undefined;
53
51
  unselectable?: "off" | "on" | undefined;
52
+ inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
54
53
  is?: string | undefined;
55
54
  'aria-activedescendant'?: string | undefined;
56
55
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
57
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
56
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
58
57
  'aria-braillelabel'?: string | undefined;
59
58
  'aria-brailleroledescription'?: string | undefined;
60
59
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -104,6 +103,7 @@ export declare const ColorSlider: 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;
@@ -287,16 +287,10 @@ export declare const ColorSlider: import("react").ComponentType<Partial<{
287
287
  normalize: () => void;
288
288
  focused: boolean;
289
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>;
290
+ vertical: boolean;
291
+ value: number;
292
+ sliderHandlePosition: number;
293
+ step: number;
300
294
  readonly accessKeyLabel: string;
301
295
  autocapitalize: string;
302
296
  inert: boolean;
@@ -588,12 +582,18 @@ export declare const ColorSlider: import("react").ComponentType<Partial<{
588
582
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
589
583
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
590
584
  readonly dataset: DOMStringMap;
591
- vertical: boolean;
592
- value: number;
593
- sliderHandlePosition: number;
594
- step: number;
595
585
  readonly focusElement: HTMLInputElement;
586
+ connectedCallback: () => void;
596
587
  readonly renderOptions: import("lit-html").RenderOptions;
588
+ disconnectedCallback: () => void;
589
+ readonly renderRoot: HTMLElement | ShadowRoot;
590
+ isUpdatePending: boolean;
591
+ hasUpdated: boolean;
592
+ addController: (controller: import("lit").ReactiveController) => void;
593
+ removeController: (controller: import("lit").ReactiveController) => void;
594
+ attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
595
+ requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
596
+ readonly updateComplete: Promise<boolean>;
597
597
  isLTR: boolean;
598
598
  hasVisibleFocusInTree: () => boolean;
599
599
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/color-slider",
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-slider": "^0.35.1-rc.26+05bd08374"
33
+ "@spectrum-web-components/color-slider": "^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
  }