@react-spectrum/slider 3.6.4-nightly.4228 → 3.6.4-nightly.4242
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/dist/import.mjs +35 -33
- package/dist/main.js +35 -33
- package/dist/main.js.map +1 -1
- package/dist/module.js +35 -33
- package/dist/module.js.map +1 -1
- package/package.json +13 -13
package/dist/import.mjs
CHANGED
|
@@ -10,9 +10,11 @@ import {FocusRing as $9lJNF$FocusRing} from "@react-aria/focus";
|
|
|
10
10
|
import {useHover as $9lJNF$useHover} from "@react-aria/interactions";
|
|
11
11
|
import {VisuallyHidden as $9lJNF$VisuallyHidden} from "@react-aria/visually-hidden";
|
|
12
12
|
|
|
13
|
+
|
|
13
14
|
function $parcel$interopDefault(a) {
|
|
14
15
|
return a && a.__esModule ? a.default : a;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
function $parcel$export(e, n, v, s) {
|
|
17
19
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
18
20
|
}
|
|
@@ -272,7 +274,7 @@ function $39572711324a3b8e$var$SliderBase(props, ref) {
|
|
|
272
274
|
// This should really use the NumberFormat#formatRange proposal...
|
|
273
275
|
// https://github.com/tc39/ecma402/issues/393
|
|
274
276
|
// https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393
|
|
275
|
-
displayValue = `${state.getThumbValueLabel(0)}
|
|
277
|
+
displayValue = `${state.getThumbValueLabel(0)} \u{2013} ${state.getThumbValueLabel(1)}`;
|
|
276
278
|
maxLabelLength = 3 + 2 * Math.max(maxLabelLength, [
|
|
277
279
|
...formatter.format(minValue)
|
|
278
280
|
].length, [
|
|
@@ -481,15 +483,15 @@ function $a1251704aa53e1a5$var$Slider(props, ref) {
|
|
|
481
483
|
var $c45b24830a4cc91c$exports = {};
|
|
482
484
|
var $e8390eb96e247aac$exports = {};
|
|
483
485
|
$e8390eb96e247aac$exports = {
|
|
484
|
-
"maximum":
|
|
485
|
-
"minimum":
|
|
486
|
+
"maximum": `\u{623}\u{642}\u{635}\u{649}`,
|
|
487
|
+
"minimum": `\u{623}\u{62F}\u{646}\u{649}`
|
|
486
488
|
};
|
|
487
489
|
|
|
488
490
|
|
|
489
491
|
var $50d639be1d52f61f$exports = {};
|
|
490
492
|
$50d639be1d52f61f$exports = {
|
|
491
|
-
"maximum":
|
|
492
|
-
"minimum":
|
|
493
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
494
|
+
"minimum": `\u{41C}\u{438}\u{43D}\u{438}\u{43C}\u{443}\u{43C}`
|
|
493
495
|
};
|
|
494
496
|
|
|
495
497
|
|
|
@@ -516,8 +518,8 @@ $8c2d8eab91e8fc21$exports = {
|
|
|
516
518
|
|
|
517
519
|
var $c99d1f332dc5c52f$exports = {};
|
|
518
520
|
$c99d1f332dc5c52f$exports = {
|
|
519
|
-
"maximum":
|
|
520
|
-
"minimum":
|
|
521
|
+
"maximum": `\u{39C}\u{3AD}\u{3B3}\u{3B9}\u{3C3}\u{3C4}\u{3BF}`,
|
|
522
|
+
"minimum": `\u{395}\u{3BB}\u{3AC}\u{3C7}\u{3B9}\u{3C3}\u{3C4}\u{3BF}`
|
|
521
523
|
};
|
|
522
524
|
|
|
523
525
|
|
|
@@ -530,8 +532,8 @@ $6ff942e88faf5460$exports = {
|
|
|
530
532
|
|
|
531
533
|
var $9bbe7d2a4b627f76$exports = {};
|
|
532
534
|
$9bbe7d2a4b627f76$exports = {
|
|
533
|
-
"maximum": `
|
|
534
|
-
"minimum": `
|
|
535
|
+
"maximum": `M\xe1ximo`,
|
|
536
|
+
"minimum": `M\xednimo`
|
|
535
537
|
};
|
|
536
538
|
|
|
537
539
|
|
|
@@ -558,14 +560,14 @@ $eb1655a686c703e5$exports = {
|
|
|
558
560
|
|
|
559
561
|
var $4d5c142cc5703c47$exports = {};
|
|
560
562
|
$4d5c142cc5703c47$exports = {
|
|
561
|
-
"maximum":
|
|
562
|
-
"minimum":
|
|
563
|
+
"maximum": `\u{5DE}\u{5E7}\u{5E1}\u{5D9}\u{5DE}\u{5D5}\u{5DD}`,
|
|
564
|
+
"minimum": `\u{5DE}\u{5D9}\u{5E0}\u{5D9}\u{5DE}\u{5D5}\u{5DD}`
|
|
563
565
|
};
|
|
564
566
|
|
|
565
567
|
|
|
566
568
|
var $04a7af02228fd881$exports = {};
|
|
567
569
|
$04a7af02228fd881$exports = {
|
|
568
|
-
"maximum": `
|
|
570
|
+
"maximum": `Najvi\u{161}e`,
|
|
569
571
|
"minimum": `Najmanje`
|
|
570
572
|
};
|
|
571
573
|
|
|
@@ -586,29 +588,29 @@ $50e77a8887ec2ed1$exports = {
|
|
|
586
588
|
|
|
587
589
|
var $b6c57fa0cd7a21d2$exports = {};
|
|
588
590
|
$b6c57fa0cd7a21d2$exports = {
|
|
589
|
-
"maximum":
|
|
590
|
-
"minimum":
|
|
591
|
+
"maximum": `\u{6700}\u{5927}`,
|
|
592
|
+
"minimum": `\u{6700}\u{5C0F}`
|
|
591
593
|
};
|
|
592
594
|
|
|
593
595
|
|
|
594
596
|
var $da3e708015f0739a$exports = {};
|
|
595
597
|
$da3e708015f0739a$exports = {
|
|
596
|
-
"maximum":
|
|
597
|
-
"minimum":
|
|
598
|
+
"maximum": `\u{CD5C}\u{B300}`,
|
|
599
|
+
"minimum": `\u{CD5C}\u{C18C}`
|
|
598
600
|
};
|
|
599
601
|
|
|
600
602
|
|
|
601
603
|
var $38ae0524671e48fd$exports = {};
|
|
602
604
|
$38ae0524671e48fd$exports = {
|
|
603
605
|
"maximum": `Daugiausia`,
|
|
604
|
-
"minimum": `
|
|
606
|
+
"minimum": `Ma\u{17E}iausia`
|
|
605
607
|
};
|
|
606
608
|
|
|
607
609
|
|
|
608
610
|
var $38b2122ea1a115cf$exports = {};
|
|
609
611
|
$38b2122ea1a115cf$exports = {
|
|
610
|
-
"maximum": `
|
|
611
|
-
"minimum": `
|
|
612
|
+
"maximum": `Maksim\u{101}l\u{101} v\u{113}rt\u{12B}ba`,
|
|
613
|
+
"minimum": `Minim\u{101}l\u{101} v\u{113}rt\u{12B}ba`
|
|
612
614
|
};
|
|
613
615
|
|
|
614
616
|
|
|
@@ -635,15 +637,15 @@ $f8eb710b9573f592$exports = {
|
|
|
635
637
|
|
|
636
638
|
var $f80715c2c0b326b4$exports = {};
|
|
637
639
|
$f80715c2c0b326b4$exports = {
|
|
638
|
-
"maximum": `
|
|
639
|
-
"minimum": `
|
|
640
|
+
"maximum": `M\xe1ximo`,
|
|
641
|
+
"minimum": `M\xednimo`
|
|
640
642
|
};
|
|
641
643
|
|
|
642
644
|
|
|
643
645
|
var $54be727db6762488$exports = {};
|
|
644
646
|
$54be727db6762488$exports = {
|
|
645
|
-
"maximum": `
|
|
646
|
-
"minimum": `
|
|
647
|
+
"maximum": `M\xe1ximo`,
|
|
648
|
+
"minimum": `M\xednimo`
|
|
647
649
|
};
|
|
648
650
|
|
|
649
651
|
|
|
@@ -656,8 +658,8 @@ $0e518af4f08c31a6$exports = {
|
|
|
656
658
|
|
|
657
659
|
var $df57f3dfdac40a9a$exports = {};
|
|
658
660
|
$df57f3dfdac40a9a$exports = {
|
|
659
|
-
"maximum":
|
|
660
|
-
"minimum":
|
|
661
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
662
|
+
"minimum": `\u{41C}\u{438}\u{43D}\u{438}\u{43C}\u{443}\u{43C}`
|
|
661
663
|
};
|
|
662
664
|
|
|
663
665
|
|
|
@@ -670,14 +672,14 @@ $0b73a22f92f43e6f$exports = {
|
|
|
670
672
|
|
|
671
673
|
var $5d3aeb5a18a0b757$exports = {};
|
|
672
674
|
$5d3aeb5a18a0b757$exports = {
|
|
673
|
-
"maximum": `
|
|
675
|
+
"maximum": `Najve\u{10D}ji`,
|
|
674
676
|
"minimum": `Najmanj`
|
|
675
677
|
};
|
|
676
678
|
|
|
677
679
|
|
|
678
680
|
var $530d6fbe3f80ba06$exports = {};
|
|
679
681
|
$530d6fbe3f80ba06$exports = {
|
|
680
|
-
"maximum": `
|
|
682
|
+
"maximum": `Najvi\u{161}e`,
|
|
681
683
|
"minimum": `Najmanje`
|
|
682
684
|
};
|
|
683
685
|
|
|
@@ -698,22 +700,22 @@ $3d93d7022ddd1ceb$exports = {
|
|
|
698
700
|
|
|
699
701
|
var $3108f34a285e911e$exports = {};
|
|
700
702
|
$3108f34a285e911e$exports = {
|
|
701
|
-
"maximum":
|
|
702
|
-
"minimum":
|
|
703
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
704
|
+
"minimum": `\u{41C}\u{456}\u{43D}\u{456}\u{43C}\u{443}\u{43C}`
|
|
703
705
|
};
|
|
704
706
|
|
|
705
707
|
|
|
706
708
|
var $404def46e9659a20$exports = {};
|
|
707
709
|
$404def46e9659a20$exports = {
|
|
708
|
-
"maximum":
|
|
709
|
-
"minimum":
|
|
710
|
+
"maximum": `\u{6700}\u{5927}`,
|
|
711
|
+
"minimum": `\u{6700}\u{5C0F}`
|
|
710
712
|
};
|
|
711
713
|
|
|
712
714
|
|
|
713
715
|
var $e54d1a8757bfdcd2$exports = {};
|
|
714
716
|
$e54d1a8757bfdcd2$exports = {
|
|
715
|
-
"maximum":
|
|
716
|
-
"minimum":
|
|
717
|
+
"maximum": `\u{6700}\u{5927}\u{503C}`,
|
|
718
|
+
"minimum": `\u{6700}\u{5C0F}\u{503C}`
|
|
717
719
|
};
|
|
718
720
|
|
|
719
721
|
|
package/dist/main.js
CHANGED
|
@@ -10,9 +10,11 @@ var $km6zh$reactariafocus = require("@react-aria/focus");
|
|
|
10
10
|
var $km6zh$reactariainteractions = require("@react-aria/interactions");
|
|
11
11
|
var $km6zh$reactariavisuallyhidden = require("@react-aria/visually-hidden");
|
|
12
12
|
|
|
13
|
+
|
|
13
14
|
function $parcel$export(e, n, v, s) {
|
|
14
15
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
function $parcel$interopDefault(a) {
|
|
17
19
|
return a && a.__esModule ? a.default : a;
|
|
18
20
|
}
|
|
@@ -275,7 +277,7 @@ function $ec6ca573d82152ff$var$SliderBase(props, ref) {
|
|
|
275
277
|
// This should really use the NumberFormat#formatRange proposal...
|
|
276
278
|
// https://github.com/tc39/ecma402/issues/393
|
|
277
279
|
// https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393
|
|
278
|
-
displayValue = `${state.getThumbValueLabel(0)}
|
|
280
|
+
displayValue = `${state.getThumbValueLabel(0)} \u{2013} ${state.getThumbValueLabel(1)}`;
|
|
279
281
|
maxLabelLength = 3 + 2 * Math.max(maxLabelLength, [
|
|
280
282
|
...formatter.format(minValue)
|
|
281
283
|
].length, [
|
|
@@ -484,15 +486,15 @@ function $3a761bdd22d32681$var$Slider(props, ref) {
|
|
|
484
486
|
var $a8b5f113a6a8e4d8$exports = {};
|
|
485
487
|
var $a2445e74ce1bf08e$exports = {};
|
|
486
488
|
$a2445e74ce1bf08e$exports = {
|
|
487
|
-
"maximum":
|
|
488
|
-
"minimum":
|
|
489
|
+
"maximum": `\u{623}\u{642}\u{635}\u{649}`,
|
|
490
|
+
"minimum": `\u{623}\u{62F}\u{646}\u{649}`
|
|
489
491
|
};
|
|
490
492
|
|
|
491
493
|
|
|
492
494
|
var $7529d1c4650d61a0$exports = {};
|
|
493
495
|
$7529d1c4650d61a0$exports = {
|
|
494
|
-
"maximum":
|
|
495
|
-
"minimum":
|
|
496
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
497
|
+
"minimum": `\u{41C}\u{438}\u{43D}\u{438}\u{43C}\u{443}\u{43C}`
|
|
496
498
|
};
|
|
497
499
|
|
|
498
500
|
|
|
@@ -519,8 +521,8 @@ $dda90fce5a19ad19$exports = {
|
|
|
519
521
|
|
|
520
522
|
var $ebefaefb60993a30$exports = {};
|
|
521
523
|
$ebefaefb60993a30$exports = {
|
|
522
|
-
"maximum":
|
|
523
|
-
"minimum":
|
|
524
|
+
"maximum": `\u{39C}\u{3AD}\u{3B3}\u{3B9}\u{3C3}\u{3C4}\u{3BF}`,
|
|
525
|
+
"minimum": `\u{395}\u{3BB}\u{3AC}\u{3C7}\u{3B9}\u{3C3}\u{3C4}\u{3BF}`
|
|
524
526
|
};
|
|
525
527
|
|
|
526
528
|
|
|
@@ -533,8 +535,8 @@ $b325b3ab75a907a3$exports = {
|
|
|
533
535
|
|
|
534
536
|
var $574d919a54e97d8f$exports = {};
|
|
535
537
|
$574d919a54e97d8f$exports = {
|
|
536
|
-
"maximum": `
|
|
537
|
-
"minimum": `
|
|
538
|
+
"maximum": `M\xe1ximo`,
|
|
539
|
+
"minimum": `M\xednimo`
|
|
538
540
|
};
|
|
539
541
|
|
|
540
542
|
|
|
@@ -561,14 +563,14 @@ $36bd43961b8b921c$exports = {
|
|
|
561
563
|
|
|
562
564
|
var $e084b86a8ffaff00$exports = {};
|
|
563
565
|
$e084b86a8ffaff00$exports = {
|
|
564
|
-
"maximum":
|
|
565
|
-
"minimum":
|
|
566
|
+
"maximum": `\u{5DE}\u{5E7}\u{5E1}\u{5D9}\u{5DE}\u{5D5}\u{5DD}`,
|
|
567
|
+
"minimum": `\u{5DE}\u{5D9}\u{5E0}\u{5D9}\u{5DE}\u{5D5}\u{5DD}`
|
|
566
568
|
};
|
|
567
569
|
|
|
568
570
|
|
|
569
571
|
var $0bd0209c7b29fe5e$exports = {};
|
|
570
572
|
$0bd0209c7b29fe5e$exports = {
|
|
571
|
-
"maximum": `
|
|
573
|
+
"maximum": `Najvi\u{161}e`,
|
|
572
574
|
"minimum": `Najmanje`
|
|
573
575
|
};
|
|
574
576
|
|
|
@@ -589,29 +591,29 @@ $dcf2e3956abc2a1c$exports = {
|
|
|
589
591
|
|
|
590
592
|
var $c18b3d59e84bb56c$exports = {};
|
|
591
593
|
$c18b3d59e84bb56c$exports = {
|
|
592
|
-
"maximum":
|
|
593
|
-
"minimum":
|
|
594
|
+
"maximum": `\u{6700}\u{5927}`,
|
|
595
|
+
"minimum": `\u{6700}\u{5C0F}`
|
|
594
596
|
};
|
|
595
597
|
|
|
596
598
|
|
|
597
599
|
var $3e8bc4aa20d59ba3$exports = {};
|
|
598
600
|
$3e8bc4aa20d59ba3$exports = {
|
|
599
|
-
"maximum":
|
|
600
|
-
"minimum":
|
|
601
|
+
"maximum": `\u{CD5C}\u{B300}`,
|
|
602
|
+
"minimum": `\u{CD5C}\u{C18C}`
|
|
601
603
|
};
|
|
602
604
|
|
|
603
605
|
|
|
604
606
|
var $42ba332c0a3a3511$exports = {};
|
|
605
607
|
$42ba332c0a3a3511$exports = {
|
|
606
608
|
"maximum": `Daugiausia`,
|
|
607
|
-
"minimum": `
|
|
609
|
+
"minimum": `Ma\u{17E}iausia`
|
|
608
610
|
};
|
|
609
611
|
|
|
610
612
|
|
|
611
613
|
var $9b999d057f45d745$exports = {};
|
|
612
614
|
$9b999d057f45d745$exports = {
|
|
613
|
-
"maximum": `
|
|
614
|
-
"minimum": `
|
|
615
|
+
"maximum": `Maksim\u{101}l\u{101} v\u{113}rt\u{12B}ba`,
|
|
616
|
+
"minimum": `Minim\u{101}l\u{101} v\u{113}rt\u{12B}ba`
|
|
615
617
|
};
|
|
616
618
|
|
|
617
619
|
|
|
@@ -638,15 +640,15 @@ $ff01e4173212df57$exports = {
|
|
|
638
640
|
|
|
639
641
|
var $834f55baddab886e$exports = {};
|
|
640
642
|
$834f55baddab886e$exports = {
|
|
641
|
-
"maximum": `
|
|
642
|
-
"minimum": `
|
|
643
|
+
"maximum": `M\xe1ximo`,
|
|
644
|
+
"minimum": `M\xednimo`
|
|
643
645
|
};
|
|
644
646
|
|
|
645
647
|
|
|
646
648
|
var $632ef0739d349135$exports = {};
|
|
647
649
|
$632ef0739d349135$exports = {
|
|
648
|
-
"maximum": `
|
|
649
|
-
"minimum": `
|
|
650
|
+
"maximum": `M\xe1ximo`,
|
|
651
|
+
"minimum": `M\xednimo`
|
|
650
652
|
};
|
|
651
653
|
|
|
652
654
|
|
|
@@ -659,8 +661,8 @@ $978ce1fa765e0e5d$exports = {
|
|
|
659
661
|
|
|
660
662
|
var $eb4754473bf590c4$exports = {};
|
|
661
663
|
$eb4754473bf590c4$exports = {
|
|
662
|
-
"maximum":
|
|
663
|
-
"minimum":
|
|
664
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
665
|
+
"minimum": `\u{41C}\u{438}\u{43D}\u{438}\u{43C}\u{443}\u{43C}`
|
|
664
666
|
};
|
|
665
667
|
|
|
666
668
|
|
|
@@ -673,14 +675,14 @@ $1513d8732734033f$exports = {
|
|
|
673
675
|
|
|
674
676
|
var $9d66b76468ad0360$exports = {};
|
|
675
677
|
$9d66b76468ad0360$exports = {
|
|
676
|
-
"maximum": `
|
|
678
|
+
"maximum": `Najve\u{10D}ji`,
|
|
677
679
|
"minimum": `Najmanj`
|
|
678
680
|
};
|
|
679
681
|
|
|
680
682
|
|
|
681
683
|
var $ed57e62e39c366c3$exports = {};
|
|
682
684
|
$ed57e62e39c366c3$exports = {
|
|
683
|
-
"maximum": `
|
|
685
|
+
"maximum": `Najvi\u{161}e`,
|
|
684
686
|
"minimum": `Najmanje`
|
|
685
687
|
};
|
|
686
688
|
|
|
@@ -701,22 +703,22 @@ $59dd8e51fc51c2ca$exports = {
|
|
|
701
703
|
|
|
702
704
|
var $6fff324f013d6ab3$exports = {};
|
|
703
705
|
$6fff324f013d6ab3$exports = {
|
|
704
|
-
"maximum":
|
|
705
|
-
"minimum":
|
|
706
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
707
|
+
"minimum": `\u{41C}\u{456}\u{43D}\u{456}\u{43C}\u{443}\u{43C}`
|
|
706
708
|
};
|
|
707
709
|
|
|
708
710
|
|
|
709
711
|
var $f796a700d95b5fc7$exports = {};
|
|
710
712
|
$f796a700d95b5fc7$exports = {
|
|
711
|
-
"maximum":
|
|
712
|
-
"minimum":
|
|
713
|
+
"maximum": `\u{6700}\u{5927}`,
|
|
714
|
+
"minimum": `\u{6700}\u{5C0F}`
|
|
713
715
|
};
|
|
714
716
|
|
|
715
717
|
|
|
716
718
|
var $04f898e4cac34434$exports = {};
|
|
717
719
|
$04f898e4cac34434$exports = {
|
|
718
|
-
"maximum":
|
|
719
|
-
"minimum":
|
|
720
|
+
"maximum": `\u{6700}\u{5927}\u{503C}`,
|
|
721
|
+
"minimum": `\u{6700}\u{5C0F}\u{503C}`
|
|
720
722
|
};
|
|
721
723
|
|
|
722
724
|
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;ACVD;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA7CA,0CAAmC,CAAC,qBAAq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AC,CAAA,GAAA,yCAAS;QAAG,GAAG,SAAS;QAAE,SAAS;QAA0B,KAAK;OAChE,CAAC,YAAC,QAAQ,YAAE,QAAQ,SAAE,KAAK,EAA2B;QACrD,IAAI,eAAe,cAAc,QAAQ,UAAU;QACnD,qBACE,oIACE,0DAAC;YACC,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBAAC,OAAO,CAAC,EAAE,MAAM,gBAAgB,KAAK,IAAI,CAAC,CAAC;YAAA;0BACrD,0DAAC,CAAA,GAAA,yCAAU;YACT,OAAO;YACP,cAAY,gBAAgB,OAAO;YACnC,YAAY,MAAM;YAClB,UAAU;YACV,UAAU;YACV,OAAO;YACP,MAAM,MAAM;0BACd,0DAAC;YACC,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBACL,CAAC,aAAa,EAAE,CAAC,EAAE,MAAM,gBAAgB,KAAK,IAAI,CAAC,CAAC;gBACpD,OAAO,CAAC,EAAE,KAAK,IAAI,MAAM,gBAAgB,KAAK,MAAM,gBAAgB,MAAM,IAAI,CAAC,CAAC;YAClF;0BACF,0DAAC,CAAA,GAAA,yCAAU;YACT,OAAO;YACP,cAAY,gBAAgB,OAAO;YACnC,YAAY,MAAM;YAClB,UAAU;YACV,OAAO;YACP,MAAM,MAAM;0BACd,0DAAC;YACC,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBACL,OAAO,CAAC,EAAE,AAAC,CAAA,IAAI,MAAM,gBAAgB,EAAC,IAAK,IAAI,CAAC,CAAC;YACnD;;IAGR;AAGN;AAEA;;CAEC,GACD,MAAM,0DAAe,CAAA,GAAA,sCAAI,EAAE,WAAW;;","sources":["packages/@react-spectrum/slider/src/index.ts","packages/@react-spectrum/slider/src/Slider.tsx","packages/@react-spectrum/slider/src/SliderBase.tsx","packages/@adobe/spectrum-css-temp/components/slider/vars.css","packages/@react-spectrum/slider/src/SliderThumb.tsx","packages/@react-spectrum/slider/src/RangeSlider.tsx","packages/@react-spectrum/slider/src/*.js","packages/@react-spectrum/slider/intl/ar-AE.json","packages/@react-spectrum/slider/intl/bg-BG.json","packages/@react-spectrum/slider/intl/cs-CZ.json","packages/@react-spectrum/slider/intl/da-DK.json","packages/@react-spectrum/slider/intl/de-DE.json","packages/@react-spectrum/slider/intl/el-GR.json","packages/@react-spectrum/slider/intl/en-US.json","packages/@react-spectrum/slider/intl/es-ES.json","packages/@react-spectrum/slider/intl/et-EE.json","packages/@react-spectrum/slider/intl/fi-FI.json","packages/@react-spectrum/slider/intl/fr-FR.json","packages/@react-spectrum/slider/intl/he-IL.json","packages/@react-spectrum/slider/intl/hr-HR.json","packages/@react-spectrum/slider/intl/hu-HU.json","packages/@react-spectrum/slider/intl/it-IT.json","packages/@react-spectrum/slider/intl/ja-JP.json","packages/@react-spectrum/slider/intl/ko-KR.json","packages/@react-spectrum/slider/intl/lt-LT.json","packages/@react-spectrum/slider/intl/lv-LV.json","packages/@react-spectrum/slider/intl/nb-NO.json","packages/@react-spectrum/slider/intl/nl-NL.json","packages/@react-spectrum/slider/intl/pl-PL.json","packages/@react-spectrum/slider/intl/pt-BR.json","packages/@react-spectrum/slider/intl/pt-PT.json","packages/@react-spectrum/slider/intl/ro-RO.json","packages/@react-spectrum/slider/intl/ru-RU.json","packages/@react-spectrum/slider/intl/sk-SK.json","packages/@react-spectrum/slider/intl/sl-SI.json","packages/@react-spectrum/slider/intl/sr-SP.json","packages/@react-spectrum/slider/intl/sv-SE.json","packages/@react-spectrum/slider/intl/tr-TR.json","packages/@react-spectrum/slider/intl/uk-UA.json","packages/@react-spectrum/slider/intl/zh-CN.json","packages/@react-spectrum/slider/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Slider} from './Slider';\nexport {RangeSlider} from './RangeSlider';\nexport type {SpectrumRangeSliderProps, SpectrumSliderProps} from '@react-types/slider';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {clamp} from '@react-aria/utils';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale} from '@react-aria/i18n';\n\nfunction Slider(props: SpectrumSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, isFilled, fillOffset, trackGradient, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps, 'children'> = {\n ...otherProps,\n // Normalize `value: number[]` to `value: number`\n value: value != null ? [value] : undefined,\n defaultValue: defaultValue != null ? [defaultValue] : undefined,\n onChange: (v: number[]): void => {\n onChange?.(v[0]);\n },\n onChangeEnd: (v: number[]): void => {\n onChangeEnd?.(v[0]);\n },\n getValueLabel: getValueLabel ? ([v]) => getValueLabel(v) : undefined\n };\n\n let {direction} = useLocale();\n\n return (\n <SliderBase\n {...baseProps}\n ref={ref}\n classes={{\n 'spectrum-Slider--filled': isFilled && fillOffset == null\n }}\n style={\n // @ts-ignore\n {'--spectrum-slider-track-gradient': trackGradient && `linear-gradient(to ${direction === 'ltr' ? 'right' : 'left'}, ${trackGradient.join(', ')})`}\n }>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n fillOffset = fillOffset != null ? clamp(fillOffset, state.getThumbMinValue(0), state.getThumbMaxValue(0)) : fillOffset;\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n\n let lowerTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${state.getThumbPercent(0) * 100}%`,\n // TODO not sure if it has advantages, but this could also be implemented as CSS calc():\n // .track::before {\n // background-size: calc((1/ (var(--width)/100)) * 100%);\n // width: calc(var(--width) * 1%)M\n // }\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / state.getThumbPercent(0)) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '0' : '100%'\n }} />\n );\n let upperTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(0)) * 100}%`,\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / (1 - state.getThumbPercent(0))) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '100%' : '0'\n }} />\n );\n\n let filledTrack = null;\n if (isFilled && fillOffset != null) {\n let width = state.getThumbPercent(0) - state.getValuePercent(fillOffset);\n let isRightOfOffset = width > 0;\n let offset = isRightOfOffset ? state.getValuePercent(fillOffset) : state.getThumbPercent(0);\n filledTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-fill', {'spectrum-Slider-fill--right': isRightOfOffset})}\n style={{\n [cssDirection]: `${offset * 100}%`,\n width: `${Math.abs(width) * 100}%`\n }} />\n );\n }\n\n return (\n <>\n {lowerTrack}\n <SliderThumb\n index={0}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.name} />\n {filledTrack}\n {upperTrack}\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _Slider = React.forwardRef(Slider);\nexport {_Slider as Slider};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, SlotProvider, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {CSSProperties, ReactNode, RefObject, useRef} from 'react';\nimport {SliderState, useSliderState} from '@react-stately/slider';\nimport {SpectrumBarSliderBase} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useNumberFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useSlider} from '@react-aria/slider';\n\nexport interface SliderBaseChildArguments {\n inputRef: RefObject<HTMLInputElement>,\n trackRef: RefObject<HTMLElement>,\n state: SliderState\n}\n\nexport interface SliderBaseProps<T = number[]> extends SpectrumBarSliderBase<T> {\n children: (opts: SliderBaseChildArguments) => ReactNode,\n classes?: string[] | Object,\n style?: CSSProperties\n}\n\nfunction SliderBase(props: SliderBaseProps, ref: FocusableRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n isDisabled,\n children,\n classes,\n style,\n labelPosition = 'top',\n getValueLabel,\n showValueLabel = !!props.label,\n formatOptions,\n minValue = 0,\n maxValue = 100,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n\n // `Math.abs(Math.sign(a) - Math.sign(b)) === 2` is true if the values have a different sign.\n let alwaysDisplaySign = Math.abs(Math.sign(minValue) - Math.sign(maxValue)) === 2;\n if (alwaysDisplaySign) {\n if (formatOptions != null) {\n if (!('signDisplay' in formatOptions)) {\n formatOptions = {\n ...formatOptions,\n // @ts-ignore\n signDisplay: 'exceptZero'\n };\n }\n } else {\n // @ts-ignore\n formatOptions = {signDisplay: 'exceptZero'};\n }\n }\n\n const formatter = useNumberFormatter(formatOptions);\n const state = useSliderState({\n ...props,\n numberFormatter: formatter,\n minValue,\n maxValue\n });\n let trackRef = useRef();\n let {\n groupProps,\n trackProps,\n labelProps,\n outputProps\n } = useSlider(props, state, trackRef);\n\n let inputRef = useRef();\n let domRef = useFocusableRef(ref, inputRef);\n\n let displayValue = '';\n let maxLabelLength = undefined;\n\n if (typeof getValueLabel === 'function') {\n displayValue = getValueLabel(state.values);\n switch (state.values.length) {\n case 1:\n maxLabelLength = Math.max(\n getValueLabel([minValue]).length,\n getValueLabel([maxValue]).length\n );\n break;\n case 2:\n // Try all possible combinations of min and max values.\n maxLabelLength = Math.max(\n getValueLabel([minValue, minValue]).length,\n getValueLabel([minValue, maxValue]).length,\n getValueLabel([maxValue, minValue]).length,\n getValueLabel([maxValue, maxValue]).length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n } else {\n maxLabelLength = Math.max([...formatter.format(minValue)].length, [...formatter.format(maxValue)].length);\n switch (state.values.length) {\n case 1:\n displayValue = state.getThumbValueLabel(0);\n break;\n case 2:\n // This should really use the NumberFormat#formatRange proposal...\n // https://github.com/tc39/ecma402/issues/393\n // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393\n displayValue = `${state.getThumbValueLabel(0)} – ${state.getThumbValueLabel(1)}`;\n maxLabelLength = 3 + 2 * Math.max(\n maxLabelLength,\n [...formatter.format(minValue)].length, [...formatter.format(maxValue)].length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n }\n\n let labelNode = (\n <label\n className={classNames(styles, 'spectrum-Slider-label')}\n {...labelProps}>\n {props.label}\n </label>\n );\n\n let valueNode = (\n <output\n {...outputProps}\n className={classNames(styles, 'spectrum-Slider-value')}\n style={maxLabelLength && {width: `${maxLabelLength}ch`, minWidth: `${maxLabelLength}ch`}}>\n {displayValue}\n </output>\n );\n\n return (\n <div\n ref={domRef}\n className={classNames(styles,\n 'spectrum-Slider',\n {\n 'spectrum-Slider--positionTop': labelPosition === 'top',\n 'spectrum-Slider--positionSide': labelPosition === 'side',\n 'is-disabled': isDisabled\n },\n classes,\n styleProps.className)}\n style={{\n ...style,\n ...styleProps.style\n }}\n {...groupProps}>\n {(props.label) &&\n <div className={classNames(styles, 'spectrum-Slider-labelContainer')} role=\"presentation\">\n {props.label && labelNode}\n {props.contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(styles, 'spectrum-Slider-contextualHelp')\n }\n }}>\n {props.contextualHelp}\n </SlotProvider>\n }\n {labelPosition === 'top' && showValueLabel && valueNode}\n </div>\n }\n <div className={classNames(styles, 'spectrum-Slider-controls')} ref={trackRef} {...trackProps} role=\"presentation\">\n {children({\n trackRef,\n inputRef,\n state\n })}\n </div>\n {labelPosition === 'side' &&\n <div className={classNames(styles, 'spectrum-Slider-valueLabelContainer')} role=\"presentation\">\n {showValueLabel && valueNode}\n </div>\n }\n </div>\n );\n}\n\nconst _SliderBase = React.forwardRef(SliderBase);\nexport {_SliderBase as SliderBase};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaSliderThumbProps} from '@react-types/slider';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject, useRef} from 'react';\nimport {SliderState} from '@react-stately/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useSliderThumb} from '@react-aria/slider';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface SliderThumbProps extends AriaSliderThumbProps {\n trackRef: RefObject<HTMLElement>,\n inputRef?: RefObject<HTMLInputElement>,\n state: SliderState\n}\n\nexport function SliderThumb(props: SliderThumbProps) {\n let {\n inputRef,\n state\n } = props;\n let backupRef = useRef<HTMLInputElement>();\n inputRef = inputRef || backupRef;\n\n let {thumbProps, inputProps, isDragging, isFocused} = useSliderThumb({\n ...props,\n inputRef\n }, state);\n\n let {hoverProps, isHovered} = useHover({});\n\n return (\n <FocusRing within focusRingClass={classNames(styles, 'is-focused')}>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Slider-handle',\n {\n 'is-hovered': isHovered,\n 'is-dragged': isDragging,\n 'is-tophandle': isFocused\n }\n )\n }\n {...mergeProps(thumbProps, hoverProps)}\n role=\"presentation\">\n <VisuallyHidden>\n <input className={classNames(styles, 'spectrum-Slider-input')} ref={inputRef} {...inputProps} />\n </VisuallyHidden>\n </div>\n </FocusRing>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumRangeSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale, useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction RangeSlider(props: SpectrumRangeSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps<number[]>, 'children'> = {\n ...otherProps,\n value: value != null ? [value.start, value.end] : undefined,\n defaultValue: defaultValue != null\n ? [defaultValue.start, defaultValue.end]\n // make sure that useSliderState knows we have two handles\n : [props.minValue ?? 0, props.maxValue ?? 100],\n onChange(v) {\n onChange?.({start: v[0], end: v[1]});\n },\n onChangeEnd(v) {\n onChangeEnd?.({start: v[0], end: v[1]});\n },\n getValueLabel: getValueLabel ? ([start, end]) => getValueLabel({start, end}) : undefined\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {direction} = useLocale();\n\n return (\n <SliderBase {...baseProps} classes={'spectrum-Slider--range'} ref={ref}>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n return (\n <>\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{width: `${state.getThumbPercent(0) * 100}%`}} />\n <SliderThumb\n index={0}\n aria-label={stringFormatter.format('minimum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.startName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n [cssDirection]: `${state.getThumbPercent(0) * 100}%`,\n width: `${Math.abs(state.getThumbPercent(0) - state.getThumbPercent(1)) * 100}%`\n }} />\n <SliderThumb\n index={1}\n aria-label={stringFormatter.format('maximum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n state={state}\n name={props.endName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(1)) * 100}%`\n }} />\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * RangeSliders allow users to quickly select a subset range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _RangeSlider = React.forwardRef(RangeSlider);\nexport {_RangeSlider as RangeSlider};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"maximum\": \"أقصى\",\n \"minimum\": \"أدنى\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Μέγιστο\",\n \"minimum\": \"Ελάχιστο\"\n}\n","{\n \"minimum\": \"Minimum\",\n \"maximum\": \"Maximum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maksimaalne\",\n \"minimum\": \"Minimaalne\"\n}\n","{\n \"maximum\": \"Maksimi\",\n \"minimum\": \"Minimi\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"מקסימום\",\n \"minimum\": \"מינימום\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Massimo\",\n \"minimum\": \"Minimo\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"최대\",\n \"minimum\": \"최소\"\n}\n","{\n \"maximum\": \"Daugiausia\",\n \"minimum\": \"Mažiausia\"\n}\n","{\n \"maximum\": \"Maksimālā vērtība\",\n \"minimum\": \"Minimālā vērtība\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Največji\",\n \"minimum\": \"Najmanj\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Мінімум\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"最大值\",\n \"minimum\": \"最小值\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;ACVD;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA7CA,0CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,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,eAAe,CAAC,EAAC,IAAK,IAAI,CAAC,CAAC;YACnD;;IAGR;AAGN;AAEA;;CAEC,GACD,MAAM,0DAAe,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;;","sources":["packages/@react-spectrum/slider/src/index.ts","packages/@react-spectrum/slider/src/Slider.tsx","packages/@react-spectrum/slider/src/SliderBase.tsx","packages/@adobe/spectrum-css-temp/components/slider/vars.css","packages/@react-spectrum/slider/src/SliderThumb.tsx","packages/@react-spectrum/slider/src/RangeSlider.tsx","packages/@react-spectrum/slider/src/*.js","packages/@react-spectrum/slider/intl/ar-AE.json","packages/@react-spectrum/slider/intl/bg-BG.json","packages/@react-spectrum/slider/intl/cs-CZ.json","packages/@react-spectrum/slider/intl/da-DK.json","packages/@react-spectrum/slider/intl/de-DE.json","packages/@react-spectrum/slider/intl/el-GR.json","packages/@react-spectrum/slider/intl/en-US.json","packages/@react-spectrum/slider/intl/es-ES.json","packages/@react-spectrum/slider/intl/et-EE.json","packages/@react-spectrum/slider/intl/fi-FI.json","packages/@react-spectrum/slider/intl/fr-FR.json","packages/@react-spectrum/slider/intl/he-IL.json","packages/@react-spectrum/slider/intl/hr-HR.json","packages/@react-spectrum/slider/intl/hu-HU.json","packages/@react-spectrum/slider/intl/it-IT.json","packages/@react-spectrum/slider/intl/ja-JP.json","packages/@react-spectrum/slider/intl/ko-KR.json","packages/@react-spectrum/slider/intl/lt-LT.json","packages/@react-spectrum/slider/intl/lv-LV.json","packages/@react-spectrum/slider/intl/nb-NO.json","packages/@react-spectrum/slider/intl/nl-NL.json","packages/@react-spectrum/slider/intl/pl-PL.json","packages/@react-spectrum/slider/intl/pt-BR.json","packages/@react-spectrum/slider/intl/pt-PT.json","packages/@react-spectrum/slider/intl/ro-RO.json","packages/@react-spectrum/slider/intl/ru-RU.json","packages/@react-spectrum/slider/intl/sk-SK.json","packages/@react-spectrum/slider/intl/sl-SI.json","packages/@react-spectrum/slider/intl/sr-SP.json","packages/@react-spectrum/slider/intl/sv-SE.json","packages/@react-spectrum/slider/intl/tr-TR.json","packages/@react-spectrum/slider/intl/uk-UA.json","packages/@react-spectrum/slider/intl/zh-CN.json","packages/@react-spectrum/slider/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Slider} from './Slider';\nexport {RangeSlider} from './RangeSlider';\nexport type {SpectrumRangeSliderProps, SpectrumSliderProps} from '@react-types/slider';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {clamp} from '@react-aria/utils';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale} from '@react-aria/i18n';\n\nfunction Slider(props: SpectrumSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, isFilled, fillOffset, trackGradient, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps, 'children'> = {\n ...otherProps,\n // Normalize `value: number[]` to `value: number`\n value: value != null ? [value] : undefined,\n defaultValue: defaultValue != null ? [defaultValue] : undefined,\n onChange: (v: number[]): void => {\n onChange?.(v[0]);\n },\n onChangeEnd: (v: number[]): void => {\n onChangeEnd?.(v[0]);\n },\n getValueLabel: getValueLabel ? ([v]) => getValueLabel(v) : undefined\n };\n\n let {direction} = useLocale();\n\n return (\n <SliderBase\n {...baseProps}\n ref={ref}\n classes={{\n 'spectrum-Slider--filled': isFilled && fillOffset == null\n }}\n style={\n // @ts-ignore\n {'--spectrum-slider-track-gradient': trackGradient && `linear-gradient(to ${direction === 'ltr' ? 'right' : 'left'}, ${trackGradient.join(', ')})`}\n }>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n fillOffset = fillOffset != null ? clamp(fillOffset, state.getThumbMinValue(0), state.getThumbMaxValue(0)) : fillOffset;\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n\n let lowerTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${state.getThumbPercent(0) * 100}%`,\n // TODO not sure if it has advantages, but this could also be implemented as CSS calc():\n // .track::before {\n // background-size: calc((1/ (var(--width)/100)) * 100%);\n // width: calc(var(--width) * 1%)M\n // }\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / state.getThumbPercent(0)) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '0' : '100%'\n }} />\n );\n let upperTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(0)) * 100}%`,\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / (1 - state.getThumbPercent(0))) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '100%' : '0'\n }} />\n );\n\n let filledTrack = null;\n if (isFilled && fillOffset != null) {\n let width = state.getThumbPercent(0) - state.getValuePercent(fillOffset);\n let isRightOfOffset = width > 0;\n let offset = isRightOfOffset ? state.getValuePercent(fillOffset) : state.getThumbPercent(0);\n filledTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-fill', {'spectrum-Slider-fill--right': isRightOfOffset})}\n style={{\n [cssDirection]: `${offset * 100}%`,\n width: `${Math.abs(width) * 100}%`\n }} />\n );\n }\n\n return (\n <>\n {lowerTrack}\n <SliderThumb\n index={0}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.name} />\n {filledTrack}\n {upperTrack}\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _Slider = React.forwardRef(Slider);\nexport {_Slider as Slider};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, SlotProvider, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {CSSProperties, ReactNode, RefObject, useRef} from 'react';\nimport {SliderState, useSliderState} from '@react-stately/slider';\nimport {SpectrumBarSliderBase} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useNumberFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useSlider} from '@react-aria/slider';\n\nexport interface SliderBaseChildArguments {\n inputRef: RefObject<HTMLInputElement>,\n trackRef: RefObject<HTMLElement>,\n state: SliderState\n}\n\nexport interface SliderBaseProps<T = number[]> extends SpectrumBarSliderBase<T> {\n children: (opts: SliderBaseChildArguments) => ReactNode,\n classes?: string[] | Object,\n style?: CSSProperties\n}\n\nfunction SliderBase(props: SliderBaseProps, ref: FocusableRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n isDisabled,\n children,\n classes,\n style,\n labelPosition = 'top',\n getValueLabel,\n showValueLabel = !!props.label,\n formatOptions,\n minValue = 0,\n maxValue = 100,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n\n // `Math.abs(Math.sign(a) - Math.sign(b)) === 2` is true if the values have a different sign.\n let alwaysDisplaySign = Math.abs(Math.sign(minValue) - Math.sign(maxValue)) === 2;\n if (alwaysDisplaySign) {\n if (formatOptions != null) {\n if (!('signDisplay' in formatOptions)) {\n formatOptions = {\n ...formatOptions,\n // @ts-ignore\n signDisplay: 'exceptZero'\n };\n }\n } else {\n // @ts-ignore\n formatOptions = {signDisplay: 'exceptZero'};\n }\n }\n\n const formatter = useNumberFormatter(formatOptions);\n const state = useSliderState({\n ...props,\n numberFormatter: formatter,\n minValue,\n maxValue\n });\n let trackRef = useRef();\n let {\n groupProps,\n trackProps,\n labelProps,\n outputProps\n } = useSlider(props, state, trackRef);\n\n let inputRef = useRef();\n let domRef = useFocusableRef(ref, inputRef);\n\n let displayValue = '';\n let maxLabelLength = undefined;\n\n if (typeof getValueLabel === 'function') {\n displayValue = getValueLabel(state.values);\n switch (state.values.length) {\n case 1:\n maxLabelLength = Math.max(\n getValueLabel([minValue]).length,\n getValueLabel([maxValue]).length\n );\n break;\n case 2:\n // Try all possible combinations of min and max values.\n maxLabelLength = Math.max(\n getValueLabel([minValue, minValue]).length,\n getValueLabel([minValue, maxValue]).length,\n getValueLabel([maxValue, minValue]).length,\n getValueLabel([maxValue, maxValue]).length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n } else {\n maxLabelLength = Math.max([...formatter.format(minValue)].length, [...formatter.format(maxValue)].length);\n switch (state.values.length) {\n case 1:\n displayValue = state.getThumbValueLabel(0);\n break;\n case 2:\n // This should really use the NumberFormat#formatRange proposal...\n // https://github.com/tc39/ecma402/issues/393\n // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393\n displayValue = `${state.getThumbValueLabel(0)} – ${state.getThumbValueLabel(1)}`;\n maxLabelLength = 3 + 2 * Math.max(\n maxLabelLength,\n [...formatter.format(minValue)].length, [...formatter.format(maxValue)].length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n }\n\n let labelNode = (\n <label\n className={classNames(styles, 'spectrum-Slider-label')}\n {...labelProps}>\n {props.label}\n </label>\n );\n\n let valueNode = (\n <output\n {...outputProps}\n className={classNames(styles, 'spectrum-Slider-value')}\n style={maxLabelLength && {width: `${maxLabelLength}ch`, minWidth: `${maxLabelLength}ch`}}>\n {displayValue}\n </output>\n );\n\n return (\n <div\n ref={domRef}\n className={classNames(styles,\n 'spectrum-Slider',\n {\n 'spectrum-Slider--positionTop': labelPosition === 'top',\n 'spectrum-Slider--positionSide': labelPosition === 'side',\n 'is-disabled': isDisabled\n },\n classes,\n styleProps.className)}\n style={{\n ...style,\n ...styleProps.style\n }}\n {...groupProps}>\n {(props.label) &&\n <div className={classNames(styles, 'spectrum-Slider-labelContainer')} role=\"presentation\">\n {props.label && labelNode}\n {props.contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(styles, 'spectrum-Slider-contextualHelp')\n }\n }}>\n {props.contextualHelp}\n </SlotProvider>\n }\n {labelPosition === 'top' && showValueLabel && valueNode}\n </div>\n }\n <div className={classNames(styles, 'spectrum-Slider-controls')} ref={trackRef} {...trackProps} role=\"presentation\">\n {children({\n trackRef,\n inputRef,\n state\n })}\n </div>\n {labelPosition === 'side' &&\n <div className={classNames(styles, 'spectrum-Slider-valueLabelContainer')} role=\"presentation\">\n {showValueLabel && valueNode}\n </div>\n }\n </div>\n );\n}\n\nconst _SliderBase = React.forwardRef(SliderBase);\nexport {_SliderBase as SliderBase};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaSliderThumbProps} from '@react-types/slider';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject, useRef} from 'react';\nimport {SliderState} from '@react-stately/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useSliderThumb} from '@react-aria/slider';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface SliderThumbProps extends AriaSliderThumbProps {\n trackRef: RefObject<HTMLElement>,\n inputRef?: RefObject<HTMLInputElement>,\n state: SliderState\n}\n\nexport function SliderThumb(props: SliderThumbProps) {\n let {\n inputRef,\n state\n } = props;\n let backupRef = useRef<HTMLInputElement>();\n inputRef = inputRef || backupRef;\n\n let {thumbProps, inputProps, isDragging, isFocused} = useSliderThumb({\n ...props,\n inputRef\n }, state);\n\n let {hoverProps, isHovered} = useHover({});\n\n return (\n <FocusRing within focusRingClass={classNames(styles, 'is-focused')}>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Slider-handle',\n {\n 'is-hovered': isHovered,\n 'is-dragged': isDragging,\n 'is-tophandle': isFocused\n }\n )\n }\n {...mergeProps(thumbProps, hoverProps)}\n role=\"presentation\">\n <VisuallyHidden>\n <input className={classNames(styles, 'spectrum-Slider-input')} ref={inputRef} {...inputProps} />\n </VisuallyHidden>\n </div>\n </FocusRing>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumRangeSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale, useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction RangeSlider(props: SpectrumRangeSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps<number[]>, 'children'> = {\n ...otherProps,\n value: value != null ? [value.start, value.end] : undefined,\n defaultValue: defaultValue != null\n ? [defaultValue.start, defaultValue.end]\n // make sure that useSliderState knows we have two handles\n : [props.minValue ?? 0, props.maxValue ?? 100],\n onChange(v) {\n onChange?.({start: v[0], end: v[1]});\n },\n onChangeEnd(v) {\n onChangeEnd?.({start: v[0], end: v[1]});\n },\n getValueLabel: getValueLabel ? ([start, end]) => getValueLabel({start, end}) : undefined\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {direction} = useLocale();\n\n return (\n <SliderBase {...baseProps} classes={'spectrum-Slider--range'} ref={ref}>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n return (\n <>\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{width: `${state.getThumbPercent(0) * 100}%`}} />\n <SliderThumb\n index={0}\n aria-label={stringFormatter.format('minimum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.startName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n [cssDirection]: `${state.getThumbPercent(0) * 100}%`,\n width: `${Math.abs(state.getThumbPercent(0) - state.getThumbPercent(1)) * 100}%`\n }} />\n <SliderThumb\n index={1}\n aria-label={stringFormatter.format('maximum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n state={state}\n name={props.endName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(1)) * 100}%`\n }} />\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * RangeSliders allow users to quickly select a subset range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _RangeSlider = React.forwardRef(RangeSlider);\nexport {_RangeSlider as RangeSlider};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"maximum\": \"أقصى\",\n \"minimum\": \"أدنى\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Μέγιστο\",\n \"minimum\": \"Ελάχιστο\"\n}\n","{\n \"minimum\": \"Minimum\",\n \"maximum\": \"Maximum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maksimaalne\",\n \"minimum\": \"Minimaalne\"\n}\n","{\n \"maximum\": \"Maksimi\",\n \"minimum\": \"Minimi\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"מקסימום\",\n \"minimum\": \"מינימום\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Massimo\",\n \"minimum\": \"Minimo\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"최대\",\n \"minimum\": \"최소\"\n}\n","{\n \"maximum\": \"Daugiausia\",\n \"minimum\": \"Mažiausia\"\n}\n","{\n \"maximum\": \"Maksimālā vērtība\",\n \"minimum\": \"Minimālā vērtība\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Največji\",\n \"minimum\": \"Najmanj\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Мінімум\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"最大值\",\n \"minimum\": \"最小值\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -10,9 +10,11 @@ import {FocusRing as $9lJNF$FocusRing} from "@react-aria/focus";
|
|
|
10
10
|
import {useHover as $9lJNF$useHover} from "@react-aria/interactions";
|
|
11
11
|
import {VisuallyHidden as $9lJNF$VisuallyHidden} from "@react-aria/visually-hidden";
|
|
12
12
|
|
|
13
|
+
|
|
13
14
|
function $parcel$interopDefault(a) {
|
|
14
15
|
return a && a.__esModule ? a.default : a;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
function $parcel$export(e, n, v, s) {
|
|
17
19
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
18
20
|
}
|
|
@@ -272,7 +274,7 @@ function $39572711324a3b8e$var$SliderBase(props, ref) {
|
|
|
272
274
|
// This should really use the NumberFormat#formatRange proposal...
|
|
273
275
|
// https://github.com/tc39/ecma402/issues/393
|
|
274
276
|
// https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393
|
|
275
|
-
displayValue = `${state.getThumbValueLabel(0)}
|
|
277
|
+
displayValue = `${state.getThumbValueLabel(0)} \u{2013} ${state.getThumbValueLabel(1)}`;
|
|
276
278
|
maxLabelLength = 3 + 2 * Math.max(maxLabelLength, [
|
|
277
279
|
...formatter.format(minValue)
|
|
278
280
|
].length, [
|
|
@@ -481,15 +483,15 @@ function $a1251704aa53e1a5$var$Slider(props, ref) {
|
|
|
481
483
|
var $c45b24830a4cc91c$exports = {};
|
|
482
484
|
var $e8390eb96e247aac$exports = {};
|
|
483
485
|
$e8390eb96e247aac$exports = {
|
|
484
|
-
"maximum":
|
|
485
|
-
"minimum":
|
|
486
|
+
"maximum": `\u{623}\u{642}\u{635}\u{649}`,
|
|
487
|
+
"minimum": `\u{623}\u{62F}\u{646}\u{649}`
|
|
486
488
|
};
|
|
487
489
|
|
|
488
490
|
|
|
489
491
|
var $50d639be1d52f61f$exports = {};
|
|
490
492
|
$50d639be1d52f61f$exports = {
|
|
491
|
-
"maximum":
|
|
492
|
-
"minimum":
|
|
493
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
494
|
+
"minimum": `\u{41C}\u{438}\u{43D}\u{438}\u{43C}\u{443}\u{43C}`
|
|
493
495
|
};
|
|
494
496
|
|
|
495
497
|
|
|
@@ -516,8 +518,8 @@ $8c2d8eab91e8fc21$exports = {
|
|
|
516
518
|
|
|
517
519
|
var $c99d1f332dc5c52f$exports = {};
|
|
518
520
|
$c99d1f332dc5c52f$exports = {
|
|
519
|
-
"maximum":
|
|
520
|
-
"minimum":
|
|
521
|
+
"maximum": `\u{39C}\u{3AD}\u{3B3}\u{3B9}\u{3C3}\u{3C4}\u{3BF}`,
|
|
522
|
+
"minimum": `\u{395}\u{3BB}\u{3AC}\u{3C7}\u{3B9}\u{3C3}\u{3C4}\u{3BF}`
|
|
521
523
|
};
|
|
522
524
|
|
|
523
525
|
|
|
@@ -530,8 +532,8 @@ $6ff942e88faf5460$exports = {
|
|
|
530
532
|
|
|
531
533
|
var $9bbe7d2a4b627f76$exports = {};
|
|
532
534
|
$9bbe7d2a4b627f76$exports = {
|
|
533
|
-
"maximum": `
|
|
534
|
-
"minimum": `
|
|
535
|
+
"maximum": `M\xe1ximo`,
|
|
536
|
+
"minimum": `M\xednimo`
|
|
535
537
|
};
|
|
536
538
|
|
|
537
539
|
|
|
@@ -558,14 +560,14 @@ $eb1655a686c703e5$exports = {
|
|
|
558
560
|
|
|
559
561
|
var $4d5c142cc5703c47$exports = {};
|
|
560
562
|
$4d5c142cc5703c47$exports = {
|
|
561
|
-
"maximum":
|
|
562
|
-
"minimum":
|
|
563
|
+
"maximum": `\u{5DE}\u{5E7}\u{5E1}\u{5D9}\u{5DE}\u{5D5}\u{5DD}`,
|
|
564
|
+
"minimum": `\u{5DE}\u{5D9}\u{5E0}\u{5D9}\u{5DE}\u{5D5}\u{5DD}`
|
|
563
565
|
};
|
|
564
566
|
|
|
565
567
|
|
|
566
568
|
var $04a7af02228fd881$exports = {};
|
|
567
569
|
$04a7af02228fd881$exports = {
|
|
568
|
-
"maximum": `
|
|
570
|
+
"maximum": `Najvi\u{161}e`,
|
|
569
571
|
"minimum": `Najmanje`
|
|
570
572
|
};
|
|
571
573
|
|
|
@@ -586,29 +588,29 @@ $50e77a8887ec2ed1$exports = {
|
|
|
586
588
|
|
|
587
589
|
var $b6c57fa0cd7a21d2$exports = {};
|
|
588
590
|
$b6c57fa0cd7a21d2$exports = {
|
|
589
|
-
"maximum":
|
|
590
|
-
"minimum":
|
|
591
|
+
"maximum": `\u{6700}\u{5927}`,
|
|
592
|
+
"minimum": `\u{6700}\u{5C0F}`
|
|
591
593
|
};
|
|
592
594
|
|
|
593
595
|
|
|
594
596
|
var $da3e708015f0739a$exports = {};
|
|
595
597
|
$da3e708015f0739a$exports = {
|
|
596
|
-
"maximum":
|
|
597
|
-
"minimum":
|
|
598
|
+
"maximum": `\u{CD5C}\u{B300}`,
|
|
599
|
+
"minimum": `\u{CD5C}\u{C18C}`
|
|
598
600
|
};
|
|
599
601
|
|
|
600
602
|
|
|
601
603
|
var $38ae0524671e48fd$exports = {};
|
|
602
604
|
$38ae0524671e48fd$exports = {
|
|
603
605
|
"maximum": `Daugiausia`,
|
|
604
|
-
"minimum": `
|
|
606
|
+
"minimum": `Ma\u{17E}iausia`
|
|
605
607
|
};
|
|
606
608
|
|
|
607
609
|
|
|
608
610
|
var $38b2122ea1a115cf$exports = {};
|
|
609
611
|
$38b2122ea1a115cf$exports = {
|
|
610
|
-
"maximum": `
|
|
611
|
-
"minimum": `
|
|
612
|
+
"maximum": `Maksim\u{101}l\u{101} v\u{113}rt\u{12B}ba`,
|
|
613
|
+
"minimum": `Minim\u{101}l\u{101} v\u{113}rt\u{12B}ba`
|
|
612
614
|
};
|
|
613
615
|
|
|
614
616
|
|
|
@@ -635,15 +637,15 @@ $f8eb710b9573f592$exports = {
|
|
|
635
637
|
|
|
636
638
|
var $f80715c2c0b326b4$exports = {};
|
|
637
639
|
$f80715c2c0b326b4$exports = {
|
|
638
|
-
"maximum": `
|
|
639
|
-
"minimum": `
|
|
640
|
+
"maximum": `M\xe1ximo`,
|
|
641
|
+
"minimum": `M\xednimo`
|
|
640
642
|
};
|
|
641
643
|
|
|
642
644
|
|
|
643
645
|
var $54be727db6762488$exports = {};
|
|
644
646
|
$54be727db6762488$exports = {
|
|
645
|
-
"maximum": `
|
|
646
|
-
"minimum": `
|
|
647
|
+
"maximum": `M\xe1ximo`,
|
|
648
|
+
"minimum": `M\xednimo`
|
|
647
649
|
};
|
|
648
650
|
|
|
649
651
|
|
|
@@ -656,8 +658,8 @@ $0e518af4f08c31a6$exports = {
|
|
|
656
658
|
|
|
657
659
|
var $df57f3dfdac40a9a$exports = {};
|
|
658
660
|
$df57f3dfdac40a9a$exports = {
|
|
659
|
-
"maximum":
|
|
660
|
-
"minimum":
|
|
661
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
662
|
+
"minimum": `\u{41C}\u{438}\u{43D}\u{438}\u{43C}\u{443}\u{43C}`
|
|
661
663
|
};
|
|
662
664
|
|
|
663
665
|
|
|
@@ -670,14 +672,14 @@ $0b73a22f92f43e6f$exports = {
|
|
|
670
672
|
|
|
671
673
|
var $5d3aeb5a18a0b757$exports = {};
|
|
672
674
|
$5d3aeb5a18a0b757$exports = {
|
|
673
|
-
"maximum": `
|
|
675
|
+
"maximum": `Najve\u{10D}ji`,
|
|
674
676
|
"minimum": `Najmanj`
|
|
675
677
|
};
|
|
676
678
|
|
|
677
679
|
|
|
678
680
|
var $530d6fbe3f80ba06$exports = {};
|
|
679
681
|
$530d6fbe3f80ba06$exports = {
|
|
680
|
-
"maximum": `
|
|
682
|
+
"maximum": `Najvi\u{161}e`,
|
|
681
683
|
"minimum": `Najmanje`
|
|
682
684
|
};
|
|
683
685
|
|
|
@@ -698,22 +700,22 @@ $3d93d7022ddd1ceb$exports = {
|
|
|
698
700
|
|
|
699
701
|
var $3108f34a285e911e$exports = {};
|
|
700
702
|
$3108f34a285e911e$exports = {
|
|
701
|
-
"maximum":
|
|
702
|
-
"minimum":
|
|
703
|
+
"maximum": `\u{41C}\u{430}\u{43A}\u{441}\u{438}\u{43C}\u{443}\u{43C}`,
|
|
704
|
+
"minimum": `\u{41C}\u{456}\u{43D}\u{456}\u{43C}\u{443}\u{43C}`
|
|
703
705
|
};
|
|
704
706
|
|
|
705
707
|
|
|
706
708
|
var $404def46e9659a20$exports = {};
|
|
707
709
|
$404def46e9659a20$exports = {
|
|
708
|
-
"maximum":
|
|
709
|
-
"minimum":
|
|
710
|
+
"maximum": `\u{6700}\u{5927}`,
|
|
711
|
+
"minimum": `\u{6700}\u{5C0F}`
|
|
710
712
|
};
|
|
711
713
|
|
|
712
714
|
|
|
713
715
|
var $e54d1a8757bfdcd2$exports = {};
|
|
714
716
|
$e54d1a8757bfdcd2$exports = {
|
|
715
|
-
"maximum":
|
|
716
|
-
"minimum":
|
|
717
|
+
"maximum": `\u{6700}\u{5927}\u{503C}`,
|
|
718
|
+
"minimum": `\u{6700}\u{5C0F}\u{503C}`
|
|
717
719
|
};
|
|
718
720
|
|
|
719
721
|
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;ACVD;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA7CA,0CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAA0B,CAAC,YAAY,CAAC;AACxC,4CAAoC,CAAC,sBAAsB,CAAC;AAC5D,4CAAkC,CA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A,GAAA,yCAAU;YACT,OAAO;YACP,cAAY,gBAAgB,OAAO;YACnC,YAAY,MAAM;YAClB,UAAU;YACV,UAAU;YACV,OAAO;YACP,MAAM,MAAM;0BACd,gCAAC;YACC,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBACL,CAAC,aAAa,EAAE,CAAC,EAAE,MAAM,gBAAgB,KAAK,IAAI,CAAC,CAAC;gBACpD,OAAO,CAAC,EAAE,KAAK,IAAI,MAAM,gBAAgB,KAAK,MAAM,gBAAgB,MAAM,IAAI,CAAC,CAAC;YAClF;0BACF,gCAAC,CAAA,GAAA,yCAAU;YACT,OAAO;YACP,cAAY,gBAAgB,OAAO;YACnC,YAAY,MAAM;YAClB,UAAU;YACV,OAAO;YACP,MAAM,MAAM;0BACd,gCAAC;YACC,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBACL,OAAO,CAAC,EAAE,AAAC,CAAA,IAAI,MAAM,gBAAgB,EAAC,IAAK,IAAI,CAAC,CAAC;YACnD;;IAGR;AAGN;AAEA;;CAEC,GACD,MAAM,0DAAe,CAAA,GAAA,YAAI,EAAE,WAAW;;","sources":["packages/@react-spectrum/slider/src/index.ts","packages/@react-spectrum/slider/src/Slider.tsx","packages/@react-spectrum/slider/src/SliderBase.tsx","packages/@adobe/spectrum-css-temp/components/slider/vars.css","packages/@react-spectrum/slider/src/SliderThumb.tsx","packages/@react-spectrum/slider/src/RangeSlider.tsx","packages/@react-spectrum/slider/src/*.js","packages/@react-spectrum/slider/intl/ar-AE.json","packages/@react-spectrum/slider/intl/bg-BG.json","packages/@react-spectrum/slider/intl/cs-CZ.json","packages/@react-spectrum/slider/intl/da-DK.json","packages/@react-spectrum/slider/intl/de-DE.json","packages/@react-spectrum/slider/intl/el-GR.json","packages/@react-spectrum/slider/intl/en-US.json","packages/@react-spectrum/slider/intl/es-ES.json","packages/@react-spectrum/slider/intl/et-EE.json","packages/@react-spectrum/slider/intl/fi-FI.json","packages/@react-spectrum/slider/intl/fr-FR.json","packages/@react-spectrum/slider/intl/he-IL.json","packages/@react-spectrum/slider/intl/hr-HR.json","packages/@react-spectrum/slider/intl/hu-HU.json","packages/@react-spectrum/slider/intl/it-IT.json","packages/@react-spectrum/slider/intl/ja-JP.json","packages/@react-spectrum/slider/intl/ko-KR.json","packages/@react-spectrum/slider/intl/lt-LT.json","packages/@react-spectrum/slider/intl/lv-LV.json","packages/@react-spectrum/slider/intl/nb-NO.json","packages/@react-spectrum/slider/intl/nl-NL.json","packages/@react-spectrum/slider/intl/pl-PL.json","packages/@react-spectrum/slider/intl/pt-BR.json","packages/@react-spectrum/slider/intl/pt-PT.json","packages/@react-spectrum/slider/intl/ro-RO.json","packages/@react-spectrum/slider/intl/ru-RU.json","packages/@react-spectrum/slider/intl/sk-SK.json","packages/@react-spectrum/slider/intl/sl-SI.json","packages/@react-spectrum/slider/intl/sr-SP.json","packages/@react-spectrum/slider/intl/sv-SE.json","packages/@react-spectrum/slider/intl/tr-TR.json","packages/@react-spectrum/slider/intl/uk-UA.json","packages/@react-spectrum/slider/intl/zh-CN.json","packages/@react-spectrum/slider/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Slider} from './Slider';\nexport {RangeSlider} from './RangeSlider';\nexport type {SpectrumRangeSliderProps, SpectrumSliderProps} from '@react-types/slider';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {clamp} from '@react-aria/utils';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale} from '@react-aria/i18n';\n\nfunction Slider(props: SpectrumSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, isFilled, fillOffset, trackGradient, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps, 'children'> = {\n ...otherProps,\n // Normalize `value: number[]` to `value: number`\n value: value != null ? [value] : undefined,\n defaultValue: defaultValue != null ? [defaultValue] : undefined,\n onChange: (v: number[]): void => {\n onChange?.(v[0]);\n },\n onChangeEnd: (v: number[]): void => {\n onChangeEnd?.(v[0]);\n },\n getValueLabel: getValueLabel ? ([v]) => getValueLabel(v) : undefined\n };\n\n let {direction} = useLocale();\n\n return (\n <SliderBase\n {...baseProps}\n ref={ref}\n classes={{\n 'spectrum-Slider--filled': isFilled && fillOffset == null\n }}\n style={\n // @ts-ignore\n {'--spectrum-slider-track-gradient': trackGradient && `linear-gradient(to ${direction === 'ltr' ? 'right' : 'left'}, ${trackGradient.join(', ')})`}\n }>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n fillOffset = fillOffset != null ? clamp(fillOffset, state.getThumbMinValue(0), state.getThumbMaxValue(0)) : fillOffset;\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n\n let lowerTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${state.getThumbPercent(0) * 100}%`,\n // TODO not sure if it has advantages, but this could also be implemented as CSS calc():\n // .track::before {\n // background-size: calc((1/ (var(--width)/100)) * 100%);\n // width: calc(var(--width) * 1%)M\n // }\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / state.getThumbPercent(0)) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '0' : '100%'\n }} />\n );\n let upperTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(0)) * 100}%`,\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / (1 - state.getThumbPercent(0))) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '100%' : '0'\n }} />\n );\n\n let filledTrack = null;\n if (isFilled && fillOffset != null) {\n let width = state.getThumbPercent(0) - state.getValuePercent(fillOffset);\n let isRightOfOffset = width > 0;\n let offset = isRightOfOffset ? state.getValuePercent(fillOffset) : state.getThumbPercent(0);\n filledTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-fill', {'spectrum-Slider-fill--right': isRightOfOffset})}\n style={{\n [cssDirection]: `${offset * 100}%`,\n width: `${Math.abs(width) * 100}%`\n }} />\n );\n }\n\n return (\n <>\n {lowerTrack}\n <SliderThumb\n index={0}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.name} />\n {filledTrack}\n {upperTrack}\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _Slider = React.forwardRef(Slider);\nexport {_Slider as Slider};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, SlotProvider, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {CSSProperties, ReactNode, RefObject, useRef} from 'react';\nimport {SliderState, useSliderState} from '@react-stately/slider';\nimport {SpectrumBarSliderBase} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useNumberFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useSlider} from '@react-aria/slider';\n\nexport interface SliderBaseChildArguments {\n inputRef: RefObject<HTMLInputElement>,\n trackRef: RefObject<HTMLElement>,\n state: SliderState\n}\n\nexport interface SliderBaseProps<T = number[]> extends SpectrumBarSliderBase<T> {\n children: (opts: SliderBaseChildArguments) => ReactNode,\n classes?: string[] | Object,\n style?: CSSProperties\n}\n\nfunction SliderBase(props: SliderBaseProps, ref: FocusableRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n isDisabled,\n children,\n classes,\n style,\n labelPosition = 'top',\n getValueLabel,\n showValueLabel = !!props.label,\n formatOptions,\n minValue = 0,\n maxValue = 100,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n\n // `Math.abs(Math.sign(a) - Math.sign(b)) === 2` is true if the values have a different sign.\n let alwaysDisplaySign = Math.abs(Math.sign(minValue) - Math.sign(maxValue)) === 2;\n if (alwaysDisplaySign) {\n if (formatOptions != null) {\n if (!('signDisplay' in formatOptions)) {\n formatOptions = {\n ...formatOptions,\n // @ts-ignore\n signDisplay: 'exceptZero'\n };\n }\n } else {\n // @ts-ignore\n formatOptions = {signDisplay: 'exceptZero'};\n }\n }\n\n const formatter = useNumberFormatter(formatOptions);\n const state = useSliderState({\n ...props,\n numberFormatter: formatter,\n minValue,\n maxValue\n });\n let trackRef = useRef();\n let {\n groupProps,\n trackProps,\n labelProps,\n outputProps\n } = useSlider(props, state, trackRef);\n\n let inputRef = useRef();\n let domRef = useFocusableRef(ref, inputRef);\n\n let displayValue = '';\n let maxLabelLength = undefined;\n\n if (typeof getValueLabel === 'function') {\n displayValue = getValueLabel(state.values);\n switch (state.values.length) {\n case 1:\n maxLabelLength = Math.max(\n getValueLabel([minValue]).length,\n getValueLabel([maxValue]).length\n );\n break;\n case 2:\n // Try all possible combinations of min and max values.\n maxLabelLength = Math.max(\n getValueLabel([minValue, minValue]).length,\n getValueLabel([minValue, maxValue]).length,\n getValueLabel([maxValue, minValue]).length,\n getValueLabel([maxValue, maxValue]).length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n } else {\n maxLabelLength = Math.max([...formatter.format(minValue)].length, [...formatter.format(maxValue)].length);\n switch (state.values.length) {\n case 1:\n displayValue = state.getThumbValueLabel(0);\n break;\n case 2:\n // This should really use the NumberFormat#formatRange proposal...\n // https://github.com/tc39/ecma402/issues/393\n // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393\n displayValue = `${state.getThumbValueLabel(0)} – ${state.getThumbValueLabel(1)}`;\n maxLabelLength = 3 + 2 * Math.max(\n maxLabelLength,\n [...formatter.format(minValue)].length, [...formatter.format(maxValue)].length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n }\n\n let labelNode = (\n <label\n className={classNames(styles, 'spectrum-Slider-label')}\n {...labelProps}>\n {props.label}\n </label>\n );\n\n let valueNode = (\n <output\n {...outputProps}\n className={classNames(styles, 'spectrum-Slider-value')}\n style={maxLabelLength && {width: `${maxLabelLength}ch`, minWidth: `${maxLabelLength}ch`}}>\n {displayValue}\n </output>\n );\n\n return (\n <div\n ref={domRef}\n className={classNames(styles,\n 'spectrum-Slider',\n {\n 'spectrum-Slider--positionTop': labelPosition === 'top',\n 'spectrum-Slider--positionSide': labelPosition === 'side',\n 'is-disabled': isDisabled\n },\n classes,\n styleProps.className)}\n style={{\n ...style,\n ...styleProps.style\n }}\n {...groupProps}>\n {(props.label) &&\n <div className={classNames(styles, 'spectrum-Slider-labelContainer')} role=\"presentation\">\n {props.label && labelNode}\n {props.contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(styles, 'spectrum-Slider-contextualHelp')\n }\n }}>\n {props.contextualHelp}\n </SlotProvider>\n }\n {labelPosition === 'top' && showValueLabel && valueNode}\n </div>\n }\n <div className={classNames(styles, 'spectrum-Slider-controls')} ref={trackRef} {...trackProps} role=\"presentation\">\n {children({\n trackRef,\n inputRef,\n state\n })}\n </div>\n {labelPosition === 'side' &&\n <div className={classNames(styles, 'spectrum-Slider-valueLabelContainer')} role=\"presentation\">\n {showValueLabel && valueNode}\n </div>\n }\n </div>\n );\n}\n\nconst _SliderBase = React.forwardRef(SliderBase);\nexport {_SliderBase as SliderBase};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaSliderThumbProps} from '@react-types/slider';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject, useRef} from 'react';\nimport {SliderState} from '@react-stately/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useSliderThumb} from '@react-aria/slider';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface SliderThumbProps extends AriaSliderThumbProps {\n trackRef: RefObject<HTMLElement>,\n inputRef?: RefObject<HTMLInputElement>,\n state: SliderState\n}\n\nexport function SliderThumb(props: SliderThumbProps) {\n let {\n inputRef,\n state\n } = props;\n let backupRef = useRef<HTMLInputElement>();\n inputRef = inputRef || backupRef;\n\n let {thumbProps, inputProps, isDragging, isFocused} = useSliderThumb({\n ...props,\n inputRef\n }, state);\n\n let {hoverProps, isHovered} = useHover({});\n\n return (\n <FocusRing within focusRingClass={classNames(styles, 'is-focused')}>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Slider-handle',\n {\n 'is-hovered': isHovered,\n 'is-dragged': isDragging,\n 'is-tophandle': isFocused\n }\n )\n }\n {...mergeProps(thumbProps, hoverProps)}\n role=\"presentation\">\n <VisuallyHidden>\n <input className={classNames(styles, 'spectrum-Slider-input')} ref={inputRef} {...inputProps} />\n </VisuallyHidden>\n </div>\n </FocusRing>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumRangeSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale, useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction RangeSlider(props: SpectrumRangeSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps<number[]>, 'children'> = {\n ...otherProps,\n value: value != null ? [value.start, value.end] : undefined,\n defaultValue: defaultValue != null\n ? [defaultValue.start, defaultValue.end]\n // make sure that useSliderState knows we have two handles\n : [props.minValue ?? 0, props.maxValue ?? 100],\n onChange(v) {\n onChange?.({start: v[0], end: v[1]});\n },\n onChangeEnd(v) {\n onChangeEnd?.({start: v[0], end: v[1]});\n },\n getValueLabel: getValueLabel ? ([start, end]) => getValueLabel({start, end}) : undefined\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {direction} = useLocale();\n\n return (\n <SliderBase {...baseProps} classes={'spectrum-Slider--range'} ref={ref}>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n return (\n <>\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{width: `${state.getThumbPercent(0) * 100}%`}} />\n <SliderThumb\n index={0}\n aria-label={stringFormatter.format('minimum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.startName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n [cssDirection]: `${state.getThumbPercent(0) * 100}%`,\n width: `${Math.abs(state.getThumbPercent(0) - state.getThumbPercent(1)) * 100}%`\n }} />\n <SliderThumb\n index={1}\n aria-label={stringFormatter.format('maximum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n state={state}\n name={props.endName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(1)) * 100}%`\n }} />\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * RangeSliders allow users to quickly select a subset range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _RangeSlider = React.forwardRef(RangeSlider);\nexport {_RangeSlider as RangeSlider};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"maximum\": \"أقصى\",\n \"minimum\": \"أدنى\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Μέγιστο\",\n \"minimum\": \"Ελάχιστο\"\n}\n","{\n \"minimum\": \"Minimum\",\n \"maximum\": \"Maximum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maksimaalne\",\n \"minimum\": \"Minimaalne\"\n}\n","{\n \"maximum\": \"Maksimi\",\n \"minimum\": \"Minimi\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"מקסימום\",\n \"minimum\": \"מינימום\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Massimo\",\n \"minimum\": \"Minimo\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"최대\",\n \"minimum\": \"최소\"\n}\n","{\n \"maximum\": \"Daugiausia\",\n \"minimum\": \"Mažiausia\"\n}\n","{\n \"maximum\": \"Maksimālā vērtība\",\n \"minimum\": \"Minimālā vērtība\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Največji\",\n \"minimum\": \"Najmanj\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Мінімум\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"最大值\",\n \"minimum\": \"最小值\"\n}\n"],"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YACC,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBAAC,OAAO,CAAC,EAAE,MAAM,eAAe,CAAC,KAAK,IAAI,CAAC,CAAC;YAAA;0BACrD,gCAAC,CAAA,GAAA,yCAAU;YACT,OAAO;YACP,cAAY,gBAAgB,MAAM,CAAC;YACnC,YAAY,MAAM,UAAU;YAC5B,UAAU;YACV,UAAU;YACV,OAAO;YACP,MAAM,MAAM,SAAS;0BACvB,gCAAC;YACC,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBACL,CAAC,aAAa,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC,KAAK,IAAI,CAAC,CAAC;gBACpD,OAAO,CAAC,EAAE,KAAK,GAAG,CAAC,MAAM,eAAe,CAAC,KAAK,MAAM,eAAe,CAAC,MAAM,IAAI,CAAC,CAAC;YAClF;0BACF,gCAAC,CAAA,GAAA,yCAAU;YACT,OAAO;YACP,cAAY,gBAAgB,MAAM,CAAC;YACnC,YAAY,MAAM,UAAU;YAC5B,UAAU;YACV,OAAO;YACP,MAAM,MAAM,OAAO;0BACrB,gCAAC;YACC,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YAC9B,OAAO;gBACL,OAAO,CAAC,EAAE,AAAC,CAAA,IAAI,MAAM,eAAe,CAAC,EAAC,IAAK,IAAI,CAAC,CAAC;YACnD;;IAGR;AAGN;AAEA;;CAEC,GACD,MAAM,0DAAe,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;;","sources":["packages/@react-spectrum/slider/src/index.ts","packages/@react-spectrum/slider/src/Slider.tsx","packages/@react-spectrum/slider/src/SliderBase.tsx","packages/@adobe/spectrum-css-temp/components/slider/vars.css","packages/@react-spectrum/slider/src/SliderThumb.tsx","packages/@react-spectrum/slider/src/RangeSlider.tsx","packages/@react-spectrum/slider/src/*.js","packages/@react-spectrum/slider/intl/ar-AE.json","packages/@react-spectrum/slider/intl/bg-BG.json","packages/@react-spectrum/slider/intl/cs-CZ.json","packages/@react-spectrum/slider/intl/da-DK.json","packages/@react-spectrum/slider/intl/de-DE.json","packages/@react-spectrum/slider/intl/el-GR.json","packages/@react-spectrum/slider/intl/en-US.json","packages/@react-spectrum/slider/intl/es-ES.json","packages/@react-spectrum/slider/intl/et-EE.json","packages/@react-spectrum/slider/intl/fi-FI.json","packages/@react-spectrum/slider/intl/fr-FR.json","packages/@react-spectrum/slider/intl/he-IL.json","packages/@react-spectrum/slider/intl/hr-HR.json","packages/@react-spectrum/slider/intl/hu-HU.json","packages/@react-spectrum/slider/intl/it-IT.json","packages/@react-spectrum/slider/intl/ja-JP.json","packages/@react-spectrum/slider/intl/ko-KR.json","packages/@react-spectrum/slider/intl/lt-LT.json","packages/@react-spectrum/slider/intl/lv-LV.json","packages/@react-spectrum/slider/intl/nb-NO.json","packages/@react-spectrum/slider/intl/nl-NL.json","packages/@react-spectrum/slider/intl/pl-PL.json","packages/@react-spectrum/slider/intl/pt-BR.json","packages/@react-spectrum/slider/intl/pt-PT.json","packages/@react-spectrum/slider/intl/ro-RO.json","packages/@react-spectrum/slider/intl/ru-RU.json","packages/@react-spectrum/slider/intl/sk-SK.json","packages/@react-spectrum/slider/intl/sl-SI.json","packages/@react-spectrum/slider/intl/sr-SP.json","packages/@react-spectrum/slider/intl/sv-SE.json","packages/@react-spectrum/slider/intl/tr-TR.json","packages/@react-spectrum/slider/intl/uk-UA.json","packages/@react-spectrum/slider/intl/zh-CN.json","packages/@react-spectrum/slider/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Slider} from './Slider';\nexport {RangeSlider} from './RangeSlider';\nexport type {SpectrumRangeSliderProps, SpectrumSliderProps} from '@react-types/slider';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {clamp} from '@react-aria/utils';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale} from '@react-aria/i18n';\n\nfunction Slider(props: SpectrumSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, isFilled, fillOffset, trackGradient, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps, 'children'> = {\n ...otherProps,\n // Normalize `value: number[]` to `value: number`\n value: value != null ? [value] : undefined,\n defaultValue: defaultValue != null ? [defaultValue] : undefined,\n onChange: (v: number[]): void => {\n onChange?.(v[0]);\n },\n onChangeEnd: (v: number[]): void => {\n onChangeEnd?.(v[0]);\n },\n getValueLabel: getValueLabel ? ([v]) => getValueLabel(v) : undefined\n };\n\n let {direction} = useLocale();\n\n return (\n <SliderBase\n {...baseProps}\n ref={ref}\n classes={{\n 'spectrum-Slider--filled': isFilled && fillOffset == null\n }}\n style={\n // @ts-ignore\n {'--spectrum-slider-track-gradient': trackGradient && `linear-gradient(to ${direction === 'ltr' ? 'right' : 'left'}, ${trackGradient.join(', ')})`}\n }>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n fillOffset = fillOffset != null ? clamp(fillOffset, state.getThumbMinValue(0), state.getThumbMaxValue(0)) : fillOffset;\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n\n let lowerTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${state.getThumbPercent(0) * 100}%`,\n // TODO not sure if it has advantages, but this could also be implemented as CSS calc():\n // .track::before {\n // background-size: calc((1/ (var(--width)/100)) * 100%);\n // width: calc(var(--width) * 1%)M\n // }\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / state.getThumbPercent(0)) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '0' : '100%'\n }} />\n );\n let upperTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(0)) * 100}%`,\n // @ts-ignore\n '--spectrum-track-background-size': `${(1 / (1 - state.getThumbPercent(0))) * 100}%`,\n '--spectrum-track-background-position': direction === 'ltr' ? '100%' : '0'\n }} />\n );\n\n let filledTrack = null;\n if (isFilled && fillOffset != null) {\n let width = state.getThumbPercent(0) - state.getValuePercent(fillOffset);\n let isRightOfOffset = width > 0;\n let offset = isRightOfOffset ? state.getValuePercent(fillOffset) : state.getThumbPercent(0);\n filledTrack = (\n <div\n className={classNames(styles, 'spectrum-Slider-fill', {'spectrum-Slider-fill--right': isRightOfOffset})}\n style={{\n [cssDirection]: `${offset * 100}%`,\n width: `${Math.abs(width) * 100}%`\n }} />\n );\n }\n\n return (\n <>\n {lowerTrack}\n <SliderThumb\n index={0}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.name} />\n {filledTrack}\n {upperTrack}\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _Slider = React.forwardRef(Slider);\nexport {_Slider as Slider};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, SlotProvider, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {CSSProperties, ReactNode, RefObject, useRef} from 'react';\nimport {SliderState, useSliderState} from '@react-stately/slider';\nimport {SpectrumBarSliderBase} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useNumberFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useSlider} from '@react-aria/slider';\n\nexport interface SliderBaseChildArguments {\n inputRef: RefObject<HTMLInputElement>,\n trackRef: RefObject<HTMLElement>,\n state: SliderState\n}\n\nexport interface SliderBaseProps<T = number[]> extends SpectrumBarSliderBase<T> {\n children: (opts: SliderBaseChildArguments) => ReactNode,\n classes?: string[] | Object,\n style?: CSSProperties\n}\n\nfunction SliderBase(props: SliderBaseProps, ref: FocusableRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n isDisabled,\n children,\n classes,\n style,\n labelPosition = 'top',\n getValueLabel,\n showValueLabel = !!props.label,\n formatOptions,\n minValue = 0,\n maxValue = 100,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n\n // `Math.abs(Math.sign(a) - Math.sign(b)) === 2` is true if the values have a different sign.\n let alwaysDisplaySign = Math.abs(Math.sign(minValue) - Math.sign(maxValue)) === 2;\n if (alwaysDisplaySign) {\n if (formatOptions != null) {\n if (!('signDisplay' in formatOptions)) {\n formatOptions = {\n ...formatOptions,\n // @ts-ignore\n signDisplay: 'exceptZero'\n };\n }\n } else {\n // @ts-ignore\n formatOptions = {signDisplay: 'exceptZero'};\n }\n }\n\n const formatter = useNumberFormatter(formatOptions);\n const state = useSliderState({\n ...props,\n numberFormatter: formatter,\n minValue,\n maxValue\n });\n let trackRef = useRef();\n let {\n groupProps,\n trackProps,\n labelProps,\n outputProps\n } = useSlider(props, state, trackRef);\n\n let inputRef = useRef();\n let domRef = useFocusableRef(ref, inputRef);\n\n let displayValue = '';\n let maxLabelLength = undefined;\n\n if (typeof getValueLabel === 'function') {\n displayValue = getValueLabel(state.values);\n switch (state.values.length) {\n case 1:\n maxLabelLength = Math.max(\n getValueLabel([minValue]).length,\n getValueLabel([maxValue]).length\n );\n break;\n case 2:\n // Try all possible combinations of min and max values.\n maxLabelLength = Math.max(\n getValueLabel([minValue, minValue]).length,\n getValueLabel([minValue, maxValue]).length,\n getValueLabel([maxValue, minValue]).length,\n getValueLabel([maxValue, maxValue]).length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n } else {\n maxLabelLength = Math.max([...formatter.format(minValue)].length, [...formatter.format(maxValue)].length);\n switch (state.values.length) {\n case 1:\n displayValue = state.getThumbValueLabel(0);\n break;\n case 2:\n // This should really use the NumberFormat#formatRange proposal...\n // https://github.com/tc39/ecma402/issues/393\n // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393\n displayValue = `${state.getThumbValueLabel(0)} – ${state.getThumbValueLabel(1)}`;\n maxLabelLength = 3 + 2 * Math.max(\n maxLabelLength,\n [...formatter.format(minValue)].length, [...formatter.format(maxValue)].length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n }\n\n let labelNode = (\n <label\n className={classNames(styles, 'spectrum-Slider-label')}\n {...labelProps}>\n {props.label}\n </label>\n );\n\n let valueNode = (\n <output\n {...outputProps}\n className={classNames(styles, 'spectrum-Slider-value')}\n style={maxLabelLength && {width: `${maxLabelLength}ch`, minWidth: `${maxLabelLength}ch`}}>\n {displayValue}\n </output>\n );\n\n return (\n <div\n ref={domRef}\n className={classNames(styles,\n 'spectrum-Slider',\n {\n 'spectrum-Slider--positionTop': labelPosition === 'top',\n 'spectrum-Slider--positionSide': labelPosition === 'side',\n 'is-disabled': isDisabled\n },\n classes,\n styleProps.className)}\n style={{\n ...style,\n ...styleProps.style\n }}\n {...groupProps}>\n {(props.label) &&\n <div className={classNames(styles, 'spectrum-Slider-labelContainer')} role=\"presentation\">\n {props.label && labelNode}\n {props.contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(styles, 'spectrum-Slider-contextualHelp')\n }\n }}>\n {props.contextualHelp}\n </SlotProvider>\n }\n {labelPosition === 'top' && showValueLabel && valueNode}\n </div>\n }\n <div className={classNames(styles, 'spectrum-Slider-controls')} ref={trackRef} {...trackProps} role=\"presentation\">\n {children({\n trackRef,\n inputRef,\n state\n })}\n </div>\n {labelPosition === 'side' &&\n <div className={classNames(styles, 'spectrum-Slider-valueLabelContainer')} role=\"presentation\">\n {showValueLabel && valueNode}\n </div>\n }\n </div>\n );\n}\n\nconst _SliderBase = React.forwardRef(SliderBase);\nexport {_SliderBase as SliderBase};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaSliderThumbProps} from '@react-types/slider';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject, useRef} from 'react';\nimport {SliderState} from '@react-stately/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useSliderThumb} from '@react-aria/slider';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface SliderThumbProps extends AriaSliderThumbProps {\n trackRef: RefObject<HTMLElement>,\n inputRef?: RefObject<HTMLInputElement>,\n state: SliderState\n}\n\nexport function SliderThumb(props: SliderThumbProps) {\n let {\n inputRef,\n state\n } = props;\n let backupRef = useRef<HTMLInputElement>();\n inputRef = inputRef || backupRef;\n\n let {thumbProps, inputProps, isDragging, isFocused} = useSliderThumb({\n ...props,\n inputRef\n }, state);\n\n let {hoverProps, isHovered} = useHover({});\n\n return (\n <FocusRing within focusRingClass={classNames(styles, 'is-focused')}>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Slider-handle',\n {\n 'is-hovered': isHovered,\n 'is-dragged': isDragging,\n 'is-tophandle': isFocused\n }\n )\n }\n {...mergeProps(thumbProps, hoverProps)}\n role=\"presentation\">\n <VisuallyHidden>\n <input className={classNames(styles, 'spectrum-Slider-input')} ref={inputRef} {...inputProps} />\n </VisuallyHidden>\n </div>\n </FocusRing>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SliderBase, SliderBaseChildArguments, SliderBaseProps} from './SliderBase';\nimport {SliderThumb} from './SliderThumb';\nimport {SpectrumRangeSliderProps} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useLocale, useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction RangeSlider(props: SpectrumRangeSliderProps, ref: FocusableRef<HTMLDivElement>) {\n let {onChange, onChangeEnd, value, defaultValue, getValueLabel, ...otherProps} = props;\n\n let baseProps: Omit<SliderBaseProps<number[]>, 'children'> = {\n ...otherProps,\n value: value != null ? [value.start, value.end] : undefined,\n defaultValue: defaultValue != null\n ? [defaultValue.start, defaultValue.end]\n // make sure that useSliderState knows we have two handles\n : [props.minValue ?? 0, props.maxValue ?? 100],\n onChange(v) {\n onChange?.({start: v[0], end: v[1]});\n },\n onChangeEnd(v) {\n onChangeEnd?.({start: v[0], end: v[1]});\n },\n getValueLabel: getValueLabel ? ([start, end]) => getValueLabel({start, end}) : undefined\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {direction} = useLocale();\n\n return (\n <SliderBase {...baseProps} classes={'spectrum-Slider--range'} ref={ref}>\n {({trackRef, inputRef, state}: SliderBaseChildArguments) => {\n let cssDirection = direction === 'rtl' ? 'right' : 'left';\n return (\n <>\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{width: `${state.getThumbPercent(0) * 100}%`}} />\n <SliderThumb\n index={0}\n aria-label={stringFormatter.format('minimum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n inputRef={inputRef}\n state={state}\n name={props.startName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n [cssDirection]: `${state.getThumbPercent(0) * 100}%`,\n width: `${Math.abs(state.getThumbPercent(0) - state.getThumbPercent(1)) * 100}%`\n }} />\n <SliderThumb\n index={1}\n aria-label={stringFormatter.format('maximum')}\n isDisabled={props.isDisabled}\n trackRef={trackRef}\n state={state}\n name={props.endName} />\n <div\n className={classNames(styles, 'spectrum-Slider-track')}\n style={{\n width: `${(1 - state.getThumbPercent(1)) * 100}%`\n }} />\n </>\n );\n }}\n </SliderBase>\n );\n}\n\n/**\n * RangeSliders allow users to quickly select a subset range. They should be used when the upper and lower bounds to the range are invariable.\n */\nconst _RangeSlider = React.forwardRef(RangeSlider);\nexport {_RangeSlider as RangeSlider};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"maximum\": \"أقصى\",\n \"minimum\": \"أدنى\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Μέγιστο\",\n \"minimum\": \"Ελάχιστο\"\n}\n","{\n \"minimum\": \"Minimum\",\n \"maximum\": \"Maximum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maksimaalne\",\n \"minimum\": \"Minimaalne\"\n}\n","{\n \"maximum\": \"Maksimi\",\n \"minimum\": \"Minimi\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"מקסימום\",\n \"minimum\": \"מינימום\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Massimo\",\n \"minimum\": \"Minimo\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"최대\",\n \"minimum\": \"최소\"\n}\n","{\n \"maximum\": \"Daugiausia\",\n \"minimum\": \"Mažiausia\"\n}\n","{\n \"maximum\": \"Maksimālā vērtība\",\n \"minimum\": \"Minimālā vērtība\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Máximo\",\n \"minimum\": \"Mínimo\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Минимум\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Največji\",\n \"minimum\": \"Najmanj\"\n}\n","{\n \"maximum\": \"Najviše\",\n \"minimum\": \"Najmanje\"\n}\n","{\n \"maximum\": \"Maximum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Maksimum\",\n \"minimum\": \"Minimum\"\n}\n","{\n \"maximum\": \"Максимум\",\n \"minimum\": \"Мінімум\"\n}\n","{\n \"maximum\": \"最大\",\n \"minimum\": \"最小\"\n}\n","{\n \"maximum\": \"最大值\",\n \"minimum\": \"最小值\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/slider",
|
|
3
|
-
"version": "3.6.4-nightly.
|
|
3
|
+
"version": "3.6.4-nightly.4242+068ecd12e",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/focus": "3.0.0-nightly.
|
|
40
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
|
41
|
-
"@react-aria/interactions": "3.0.0-nightly.
|
|
42
|
-
"@react-aria/slider": "3.7.3-nightly.
|
|
43
|
-
"@react-aria/utils": "3.0.0-nightly.
|
|
44
|
-
"@react-aria/visually-hidden": "3.0.0-nightly.
|
|
45
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
|
46
|
-
"@react-stately/slider": "3.4.5-nightly.
|
|
47
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
48
|
-
"@react-types/slider": "3.6.3-nightly.
|
|
39
|
+
"@react-aria/focus": "3.0.0-nightly.2531+068ecd12e",
|
|
40
|
+
"@react-aria/i18n": "3.0.0-nightly.2531+068ecd12e",
|
|
41
|
+
"@react-aria/interactions": "3.0.0-nightly.2531+068ecd12e",
|
|
42
|
+
"@react-aria/slider": "3.7.3-nightly.4242+068ecd12e",
|
|
43
|
+
"@react-aria/utils": "3.0.0-nightly.2531+068ecd12e",
|
|
44
|
+
"@react-aria/visually-hidden": "3.0.0-nightly.2531+068ecd12e",
|
|
45
|
+
"@react-spectrum/utils": "3.0.0-nightly.2531+068ecd12e",
|
|
46
|
+
"@react-stately/slider": "3.4.5-nightly.4242+068ecd12e",
|
|
47
|
+
"@react-types/shared": "3.0.0-nightly.2531+068ecd12e",
|
|
48
|
+
"@react-types/slider": "3.6.3-nightly.4242+068ecd12e",
|
|
49
49
|
"@swc/helpers": "^0.5.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
52
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2531+068ecd12e"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "068ecd12e8a8c61546dfda691b04ca87cbdae687"
|
|
62
62
|
}
|