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