@swc-react/slider 0.35.1-rc.34 → 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.
- package/next.d.ts +45 -45
- 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;
|
|
24
15
|
'aria-labelledby'?: string | undefined;
|
|
25
16
|
'aria-label'?: string | undefined;
|
|
26
17
|
color?: string | undefined;
|
|
18
|
+
lang?: string | undefined;
|
|
27
19
|
role?: import("react").AriaRole | undefined;
|
|
28
20
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
29
21
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
30
22
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
23
|
+
hidden?: boolean | undefined;
|
|
31
24
|
'aria-describedby'?: string | undefined;
|
|
32
25
|
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,13 +291,27 @@ 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;
|
|
294
310
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
295
311
|
isUpdatePending: boolean;
|
|
296
312
|
hasUpdated: boolean;
|
|
297
313
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
298
314
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
299
|
-
connectedCallback: () => void;
|
|
300
|
-
disconnectedCallback: () => void;
|
|
301
315
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
302
316
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
303
317
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -336,7 +350,6 @@ export declare const Slider: import("react").ComponentType<Partial<{
|
|
|
336
350
|
scrollLeft: number;
|
|
337
351
|
scrollTop: number;
|
|
338
352
|
readonly scrollWidth: number;
|
|
339
|
-
shadowRoot: ShadowRoot;
|
|
340
353
|
readonly tagName: string;
|
|
341
354
|
attachShadow: (init: ShadowRootInit) => ShadowRoot;
|
|
342
355
|
closest: {
|
|
@@ -394,7 +407,6 @@ export declare const Slider: import("react").ComponentType<Partial<{
|
|
|
394
407
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
395
408
|
readonly baseURI: string;
|
|
396
409
|
readonly firstChild: ChildNode | null;
|
|
397
|
-
readonly isConnected: boolean;
|
|
398
410
|
readonly lastChild: ChildNode | null;
|
|
399
411
|
readonly nextSibling: ChildNode | null;
|
|
400
412
|
readonly nodeName: string;
|
|
@@ -592,18 +604,6 @@ export declare const Slider: import("react").ComponentType<Partial<{
|
|
|
592
604
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
593
605
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
594
606
|
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;
|
|
652
643
|
'aria-labelledby'?: string | undefined;
|
|
653
644
|
'aria-label'?: string | undefined;
|
|
654
645
|
color?: string | undefined;
|
|
646
|
+
lang?: string | undefined;
|
|
655
647
|
role?: import("react").AriaRole | undefined;
|
|
656
648
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
657
649
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
658
650
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
651
|
+
hidden?: boolean | undefined;
|
|
659
652
|
'aria-describedby'?: string | undefined;
|
|
660
653
|
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,13 +916,22 @@ 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;
|
|
919
930
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
920
931
|
isUpdatePending: boolean;
|
|
921
932
|
hasUpdated: boolean;
|
|
922
933
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
923
934
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
924
|
-
connectedCallback: () => void;
|
|
925
|
-
disconnectedCallback: () => void;
|
|
926
935
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
927
936
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
928
937
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -961,7 +970,6 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
|
|
|
961
970
|
scrollLeft: number;
|
|
962
971
|
scrollTop: number;
|
|
963
972
|
readonly scrollWidth: number;
|
|
964
|
-
shadowRoot: ShadowRoot;
|
|
965
973
|
readonly tagName: string;
|
|
966
974
|
attachShadow: (init: ShadowRootInit) => ShadowRoot;
|
|
967
975
|
closest: {
|
|
@@ -1019,7 +1027,6 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
|
|
|
1019
1027
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
1020
1028
|
readonly baseURI: string;
|
|
1021
1029
|
readonly firstChild: ChildNode | null;
|
|
1022
|
-
readonly isConnected: boolean;
|
|
1023
1030
|
readonly lastChild: ChildNode | null;
|
|
1024
1031
|
readonly nextSibling: ChildNode | null;
|
|
1025
1032
|
readonly nodeName: string;
|
|
@@ -1217,13 +1224,6 @@ export declare const SliderHandle: import("react").ComponentType<Partial<{
|
|
|
1217
1224
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1218
1225
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1219
1226
|
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.
|
|
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/slider": "^0.
|
|
33
|
+
"@spectrum-web-components/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": "
|
|
43
|
+
"gitHead": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|