@swc-react/slider 0.35.0 → 0.35.1-rc.25

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 +45 -45
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -12,24 +12,24 @@ export declare const Slider: import("react").ComponentType<Partial<{
12
12
  className?: string | undefined;
13
13
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
14
14
  accessKey?: string | undefined;
15
+ draggable?: (boolean | "true" | "false") | undefined;
16
+ hidden?: boolean | undefined;
17
+ lang?: string | undefined;
18
+ translate?: "yes" | "no" | undefined;
19
+ prefix?: string | undefined;
20
+ children?: import("react").ReactNode;
21
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
22
+ inputMode?: "text" | "search" | "none" | "url" | "tel" | "email" | "decimal" | "numeric" | undefined;
23
+ nonce?: string | undefined;
15
24
  'aria-labelledby'?: string | undefined;
16
25
  'aria-label'?: string | undefined;
17
26
  color?: string | undefined;
18
- lang?: string | undefined;
19
27
  role?: import("react").AriaRole | undefined;
20
28
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
21
29
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
22
30
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
23
- hidden?: boolean | undefined;
24
31
  'aria-describedby'?: string | undefined;
25
32
  placeholder?: string | undefined;
26
- draggable?: (boolean | "true" | "false") | undefined;
27
- translate?: "yes" | "no" | undefined;
28
- prefix?: string | undefined;
29
- children?: import("react").ReactNode;
30
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
31
- inputMode?: "text" | "search" | "none" | "url" | "tel" | "email" | "decimal" | "numeric" | undefined;
32
- nonce?: string | undefined;
33
33
  defaultChecked?: boolean | undefined;
34
34
  defaultValue?: string | number | readonly string[] | undefined;
35
35
  suppressContentEditableWarning?: boolean | undefined;
@@ -291,27 +291,13 @@ export declare const Slider: import("react").ComponentType<Partial<{
291
291
  normalize: () => void;
292
292
  ariaHidden: string | null;
293
293
  name: string;
294
- readonly focusElement: HTMLElement;
295
- shadowRoot: ShadowRoot;
296
- update: (changedProperties: Map<string, boolean>) => void;
297
- readonly isConnected: boolean;
298
- variant: string;
299
- quiet: boolean;
300
- value: number;
301
- formatOptions?: import("@internationalized/number").NumberFormatOptions | undefined;
302
- hideStepper: boolean;
303
- indeterminate: boolean;
304
- max: number;
305
- min: number;
306
- step: number;
307
- _forcedUnit: string;
308
- connectedCallback: () => void;
309
- disconnectedCallback: () => void;
310
294
  readonly renderRoot: HTMLElement | ShadowRoot;
311
295
  isUpdatePending: boolean;
312
296
  hasUpdated: boolean;
313
297
  addController: (controller: import("lit").ReactiveController) => void;
314
298
  removeController: (controller: import("lit").ReactiveController) => void;
299
+ connectedCallback: () => void;
300
+ disconnectedCallback: () => void;
315
301
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
316
302
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
317
303
  readonly updateComplete: Promise<boolean>;
@@ -350,6 +336,7 @@ export declare const Slider: import("react").ComponentType<Partial<{
350
336
  scrollLeft: number;
351
337
  scrollTop: number;
352
338
  readonly scrollWidth: number;
339
+ shadowRoot: ShadowRoot;
353
340
  readonly tagName: string;
354
341
  attachShadow: (init: ShadowRootInit) => ShadowRoot;
355
342
  closest: {
@@ -407,6 +394,7 @@ export declare const Slider: import("react").ComponentType<Partial<{
407
394
  webkitMatchesSelector: (selectors: string) => boolean;
408
395
  readonly baseURI: string;
409
396
  readonly firstChild: ChildNode | null;
397
+ readonly isConnected: boolean;
410
398
  readonly lastChild: ChildNode | null;
411
399
  readonly nextSibling: ChildNode | null;
412
400
  readonly nodeName: string;
@@ -604,6 +592,18 @@ export declare const Slider: import("react").ComponentType<Partial<{
604
592
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
605
593
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
606
594
  readonly dataset: DOMStringMap;
595
+ readonly focusElement: HTMLElement;
596
+ update: (changedProperties: Map<string, boolean>) => void;
597
+ variant: string;
598
+ quiet: boolean;
599
+ value: number;
600
+ formatOptions?: import("@internationalized/number").NumberFormatOptions | undefined;
601
+ hideStepper: boolean;
602
+ indeterminate: boolean;
603
+ max: number;
604
+ min: number;
605
+ step: number;
606
+ _forcedUnit: string;
607
607
  isLTR: boolean;
608
608
  hasVisibleFocusInTree: () => boolean;
609
609
  dragging: boolean;
@@ -640,24 +640,24 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
640
640
  className?: string | undefined;
641
641
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
642
642
  accessKey?: string | undefined;
643
+ draggable?: (boolean | "true" | "false") | undefined;
644
+ hidden?: boolean | undefined;
645
+ lang?: string | undefined;
646
+ translate?: "yes" | "no" | undefined;
647
+ prefix?: string | undefined;
648
+ children?: import("react").ReactNode;
649
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
650
+ inputMode?: "text" | "search" | "none" | "url" | "tel" | "email" | "decimal" | "numeric" | undefined;
651
+ nonce?: string | undefined;
643
652
  'aria-labelledby'?: string | undefined;
644
653
  'aria-label'?: string | undefined;
645
654
  color?: string | undefined;
646
- lang?: string | undefined;
647
655
  role?: import("react").AriaRole | undefined;
648
656
  'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
649
657
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
650
658
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
651
- hidden?: boolean | undefined;
652
659
  'aria-describedby'?: string | undefined;
653
660
  placeholder?: string | undefined;
654
- draggable?: (boolean | "true" | "false") | undefined;
655
- translate?: "yes" | "no" | undefined;
656
- prefix?: string | undefined;
657
- children?: import("react").ReactNode;
658
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
659
- inputMode?: "text" | "search" | "none" | "url" | "tel" | "email" | "decimal" | "numeric" | undefined;
660
- nonce?: string | undefined;
661
661
  defaultChecked?: boolean | undefined;
662
662
  defaultValue?: string | number | readonly string[] | undefined;
663
663
  suppressContentEditableWarning?: boolean | undefined;
@@ -916,22 +916,13 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
916
916
  normalize: () => void;
917
917
  ariaHidden: string | null;
918
918
  name: string;
919
- readonly focusElement: HTMLElement;
920
- shadowRoot: ShadowRoot;
921
- readonly isConnected: boolean;
922
- value: number;
923
- formatOptions?: import("@internationalized/number").NumberFormatOptions | undefined;
924
- max?: number | "next" | undefined;
925
- min?: number | "previous" | undefined;
926
- step?: number | undefined;
927
- _forcedUnit: string;
928
- connectedCallback: () => void;
929
- disconnectedCallback: () => void;
930
919
  readonly renderRoot: HTMLElement | ShadowRoot;
931
920
  isUpdatePending: boolean;
932
921
  hasUpdated: boolean;
933
922
  addController: (controller: import("lit").ReactiveController) => void;
934
923
  removeController: (controller: import("lit").ReactiveController) => void;
924
+ connectedCallback: () => void;
925
+ disconnectedCallback: () => void;
935
926
  attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
936
927
  requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
937
928
  readonly updateComplete: Promise<boolean>;
@@ -970,6 +961,7 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
970
961
  scrollLeft: number;
971
962
  scrollTop: number;
972
963
  readonly scrollWidth: number;
964
+ shadowRoot: ShadowRoot;
973
965
  readonly tagName: string;
974
966
  attachShadow: (init: ShadowRootInit) => ShadowRoot;
975
967
  closest: {
@@ -1027,6 +1019,7 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
1027
1019
  webkitMatchesSelector: (selectors: string) => boolean;
1028
1020
  readonly baseURI: string;
1029
1021
  readonly firstChild: ChildNode | null;
1022
+ readonly isConnected: boolean;
1030
1023
  readonly lastChild: ChildNode | null;
1031
1024
  readonly nextSibling: ChildNode | null;
1032
1025
  readonly nodeName: string;
@@ -1224,6 +1217,13 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
1224
1217
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1225
1218
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1226
1219
  readonly dataset: DOMStringMap;
1220
+ readonly focusElement: HTMLElement;
1221
+ value: number;
1222
+ formatOptions?: import("@internationalized/number").NumberFormatOptions | undefined;
1223
+ max?: number | "next" | undefined;
1224
+ min?: number | "previous" | undefined;
1225
+ step?: number | undefined;
1226
+ _forcedUnit: string;
1227
1227
  isLTR: boolean;
1228
1228
  hasVisibleFocusInTree: () => boolean;
1229
1229
  dragging: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/slider",
3
- "version": "0.35.0",
3
+ "version": "0.35.1-rc.25+b3feb0eb9",
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/slider": "^0.35.0"
33
+ "@spectrum-web-components/slider": "^0.35.1-rc.25+b3feb0eb9"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "next": "~13.4"
@@ -40,5 +40,5 @@
40
40
  "optional": true
41
41
  }
42
42
  },
43
- "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
43
+ "gitHead": "b3feb0eb979ff059457a00125919c13ea1afe9bc"
44
44
  }