@coorpacademy/components 11.38.2 → 11.38.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/input-search/index.d.ts +2 -0
- package/es/atom/input-search/index.d.ts.map +1 -1
- package/es/atom/input-search/index.js +46 -13
- package/es/atom/input-search/index.js.map +1 -1
- package/es/atom/input-search/style.css +97 -0
- package/es/molecule/cm-popin/types.d.ts +2 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/index.d.ts +2 -0
- package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/es/molecule/multi-filter-panel/prop-types.d.ts +2 -0
- package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/es/molecule/search-form/index.d.ts +5 -0
- package/es/molecule/search-form/index.d.ts.map +1 -1
- package/es/molecule/search-form/index.js +26 -16
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/search-form/style.css +21 -6
- package/es/organism/brand-table/index.d.ts +2 -0
- package/es/organism/content-skill-modal/index.d.ts +4 -0
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +4 -0
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/index.d.ts +2 -0
- package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
- package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/es/organism/list-items/index.d.ts +2 -0
- package/es/organism/mooc-header/index.d.ts +14 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +132 -13
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/mooc-header/style.css +182 -8
- package/es/template/app-player/loading/index.d.ts +2 -0
- package/es/template/app-player/player/index.d.ts +4 -0
- package/es/template/app-player/player/slides/index.d.ts +2 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +2 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +2 -0
- package/es/template/app-review/index.d.ts +2 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +2 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +2 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +12 -0
- package/es/template/common/dashboard/index.d.ts +4 -0
- package/es/template/common/search-page/index.d.ts +2 -0
- package/es/template/external-course/index.d.ts +2 -0
- package/es/util/check-is-mobile.d.ts +1 -1
- package/es/util/check-is-mobile.d.ts.map +1 -1
- package/es/util/check-is-mobile.js +4 -2
- package/es/util/check-is-mobile.js.map +1 -1
- package/lib/atom/input-search/index.d.ts +2 -0
- package/lib/atom/input-search/index.d.ts.map +1 -1
- package/lib/atom/input-search/index.js +46 -13
- package/lib/atom/input-search/index.js.map +1 -1
- package/lib/atom/input-search/style.css +97 -0
- package/lib/molecule/cm-popin/types.d.ts +2 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/index.d.ts +2 -0
- package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
- package/lib/molecule/multi-filter-panel/prop-types.d.ts +2 -0
- package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
- package/lib/molecule/search-form/index.d.ts +5 -0
- package/lib/molecule/search-form/index.d.ts.map +1 -1
- package/lib/molecule/search-form/index.js +27 -17
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/search-form/style.css +21 -6
- package/lib/organism/brand-table/index.d.ts +2 -0
- package/lib/organism/content-skill-modal/index.d.ts +4 -0
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +4 -0
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/index.d.ts +2 -0
- package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
- package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
- package/lib/organism/list-items/index.d.ts +2 -0
- package/lib/organism/mooc-header/index.d.ts +14 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +132 -13
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/mooc-header/style.css +182 -8
- package/lib/template/app-player/loading/index.d.ts +2 -0
- package/lib/template/app-player/player/index.d.ts +4 -0
- package/lib/template/app-player/player/slides/index.d.ts +2 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +2 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +2 -0
- package/lib/template/app-review/index.d.ts +2 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +2 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +2 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +12 -0
- package/lib/template/common/dashboard/index.d.ts +4 -0
- package/lib/template/common/search-page/index.d.ts +2 -0
- package/lib/template/external-course/index.d.ts +2 -0
- package/lib/util/check-is-mobile.d.ts +1 -1
- package/lib/util/check-is-mobile.d.ts.map +1 -1
- package/lib/util/check-is-mobile.js +4 -2
- package/lib/util/check-is-mobile.js.map +1 -1
- package/package.json +2 -2
|
@@ -27,18 +27,21 @@
|
|
|
27
27
|
|
|
28
28
|
.wrapper {
|
|
29
29
|
min-height: 60px;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.header {
|
|
33
35
|
position: fixed;
|
|
34
36
|
width: 100%;
|
|
35
37
|
height: 60px;
|
|
38
|
+
left: 0;
|
|
36
39
|
box-sizing: border-box;
|
|
37
40
|
border-bottom: 1px solid light;
|
|
38
41
|
display: flex;
|
|
39
42
|
flex-direction: row;
|
|
40
|
-
justify-content:
|
|
41
|
-
align-items:
|
|
43
|
+
justify-content: center;
|
|
44
|
+
align-items: center;
|
|
42
45
|
background-color: white;
|
|
43
46
|
}
|
|
44
47
|
|
|
@@ -47,8 +50,6 @@
|
|
|
47
50
|
justify-content: flex-start;
|
|
48
51
|
flex: 1 0 0%;
|
|
49
52
|
height: 100%;
|
|
50
|
-
border-right: solid 1px light;
|
|
51
|
-
border-left: solid 1px light;
|
|
52
53
|
background-color: white;
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -656,15 +657,140 @@
|
|
|
656
657
|
}
|
|
657
658
|
}
|
|
658
659
|
|
|
659
|
-
|
|
660
|
+
.rightZoneFocus {
|
|
661
|
+
position: relative;
|
|
662
|
+
display: flex;
|
|
663
|
+
align-items: center;
|
|
664
|
+
justify-content: flex-end;
|
|
665
|
+
width: 100%;
|
|
666
|
+
margin-right: 20px;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.rightZone{
|
|
670
|
+
display: flex;
|
|
671
|
+
align-items: center;
|
|
672
|
+
justify-content: space-between;
|
|
673
|
+
width: 100%;
|
|
674
|
+
margin-right: 20px;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.searchBarActive .floatingSearchBar {
|
|
678
|
+
display: flex;
|
|
679
|
+
position: absolute;
|
|
680
|
+
left: 0;
|
|
681
|
+
top: 0;
|
|
682
|
+
height: 100%;
|
|
683
|
+
z-index: 2000;
|
|
684
|
+
pointer-events: none;
|
|
685
|
+
align-items: center;
|
|
686
|
+
background-color: transparent;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.searchBarActive .floatingSearchBar > * {
|
|
690
|
+
pointer-events: auto;
|
|
691
|
+
width: 100%;
|
|
692
|
+
max-width: 936px;
|
|
693
|
+
background-color: transparent;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.floatingSearchBar {
|
|
697
|
+
width: 100%;
|
|
698
|
+
max-width: 400px;
|
|
699
|
+
transition: max-width 0.3s ease;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.floatingSearchBar--expanded {
|
|
703
|
+
max-width: 936px;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.floatingSearchBar--closing {
|
|
707
|
+
max-width: 603px;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.searchOverlay {
|
|
711
|
+
position: fixed;
|
|
712
|
+
top: 0;
|
|
713
|
+
left: 0;
|
|
714
|
+
width: 100vw;
|
|
715
|
+
height: 100vh;
|
|
716
|
+
background: rgba(29, 29, 43, 0.20);
|
|
717
|
+
backdrop-filter: blur(2px);
|
|
718
|
+
z-index: 1500;
|
|
719
|
+
pointer-events: auto;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
@media tablet, mobile {
|
|
660
723
|
.header {
|
|
661
724
|
flex-direction: row;
|
|
662
|
-
padding: 0;
|
|
663
725
|
background-color: white;
|
|
664
|
-
justify-content:
|
|
726
|
+
justify-content: center;
|
|
665
727
|
height: auto;
|
|
666
728
|
align-items: center;
|
|
667
729
|
min-height: 60px;
|
|
730
|
+
padding: 0 10px;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/* Classes simples pour mobile avec animations */
|
|
734
|
+
.mobileSearchContainer {
|
|
735
|
+
flex: 1;
|
|
736
|
+
margin: 0 10px;
|
|
737
|
+
display: flex;
|
|
738
|
+
align-items: center;
|
|
739
|
+
max-width: calc(100% - 20px);
|
|
740
|
+
transition: max-width 0.3s ease;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.mobileSearchContainerFocus {
|
|
744
|
+
position: fixed;
|
|
745
|
+
left: 0;
|
|
746
|
+
right: 0;
|
|
747
|
+
max-width: 100%;
|
|
748
|
+
width: 100%;
|
|
749
|
+
z-index: 15;
|
|
750
|
+
background-color: transparent;
|
|
751
|
+
border-radius: 12%;
|
|
752
|
+
display: flex;
|
|
753
|
+
align-items: center;
|
|
754
|
+
justify-content: center;
|
|
755
|
+
padding: 0 10px;
|
|
756
|
+
box-sizing: border-box;
|
|
757
|
+
transition: max-width 0.3s ease;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.searchBar {
|
|
761
|
+
background-color: transparent;
|
|
762
|
+
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.logoWrapperMobileHidden {
|
|
766
|
+
opacity: 0;
|
|
767
|
+
transform: translateX(-20px);
|
|
768
|
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.logoWrapperMobileHidden .navMobile {
|
|
772
|
+
opacity: 0;
|
|
773
|
+
transform: scale(0.8);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.mobileSearchOverlay {
|
|
777
|
+
position: fixed;
|
|
778
|
+
top: 0;
|
|
779
|
+
left: 0;
|
|
780
|
+
right: 0;
|
|
781
|
+
bottom: 0;
|
|
782
|
+
background: rgba(0, 0, 0, 0.3);
|
|
783
|
+
z-index: 10;
|
|
784
|
+
animation: overlayFadeIn 0.3s ease;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
@keyframes overlayFadeIn {
|
|
788
|
+
from {
|
|
789
|
+
opacity: 0;
|
|
790
|
+
}
|
|
791
|
+
to {
|
|
792
|
+
opacity: 1;
|
|
793
|
+
}
|
|
668
794
|
}
|
|
669
795
|
|
|
670
796
|
.open {
|
|
@@ -677,6 +803,9 @@
|
|
|
677
803
|
background-color: white;
|
|
678
804
|
z-index: 2;
|
|
679
805
|
margin: 0 8px 0 0;
|
|
806
|
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
807
|
+
opacity: 1;
|
|
808
|
+
transform: translateX(0);
|
|
680
809
|
}
|
|
681
810
|
|
|
682
811
|
.logo {
|
|
@@ -685,6 +814,7 @@
|
|
|
685
814
|
|
|
686
815
|
.navMobile {
|
|
687
816
|
display: flex;
|
|
817
|
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
688
818
|
align-items: center;
|
|
689
819
|
cursor: pointer;
|
|
690
820
|
flex: 0 1 auto;
|
|
@@ -874,4 +1004,48 @@
|
|
|
874
1004
|
.userAvatarWrapper {
|
|
875
1005
|
display: none;
|
|
876
1006
|
}
|
|
877
|
-
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
.searchBarActive .floatingSearchBar > * {
|
|
1011
|
+
height: auto;
|
|
1012
|
+
width: 100%;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.rightZoneFocus {
|
|
1016
|
+
height: auto;
|
|
1017
|
+
width: 100%;
|
|
1018
|
+
display: flex;
|
|
1019
|
+
justify-content: center;
|
|
1020
|
+
align-items: center;
|
|
1021
|
+
padding: 0 10px;
|
|
1022
|
+
box-sizing: border-box;
|
|
1023
|
+
z-index: 1500;
|
|
1024
|
+
position: absolute;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.rightZone{
|
|
1028
|
+
display: flex;
|
|
1029
|
+
align-items: center;
|
|
1030
|
+
justify-content: flex-end;
|
|
1031
|
+
flex: 1;
|
|
1032
|
+
margin-right: 0px;
|
|
1033
|
+
padding: 0 10px;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
.floatingSearchBar {
|
|
1037
|
+
width: 100%;
|
|
1038
|
+
transition: all 0.3s ease;
|
|
1039
|
+
z-index: 1600;
|
|
1040
|
+
position: relative;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.floatingSearchBar--expanded {
|
|
1044
|
+
width: calc(100vw - 20px);
|
|
1045
|
+
position: fixed;
|
|
1046
|
+
left: 50vw;
|
|
1047
|
+
transform: translateX(-50%);
|
|
1048
|
+
top: 0;
|
|
1049
|
+
z-index: 1600;
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
@@ -647,6 +647,8 @@ declare namespace PlayerLoading {
|
|
|
647
647
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
648
648
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
649
649
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
650
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
651
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
650
652
|
theme: PropTypes.Requireable<string>;
|
|
651
653
|
dataTestId: PropTypes.Requireable<string>;
|
|
652
654
|
}>>;
|
|
@@ -698,6 +698,8 @@ declare namespace SlidePlayer {
|
|
|
698
698
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
699
699
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
700
700
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
701
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
702
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
701
703
|
theme: PropTypes.Requireable<string>;
|
|
702
704
|
dataTestId: PropTypes.Requireable<string>;
|
|
703
705
|
}>>;
|
|
@@ -1503,6 +1505,8 @@ declare namespace SlidePlayer {
|
|
|
1503
1505
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1504
1506
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1505
1507
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1508
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1509
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1506
1510
|
theme: PropTypes.Requireable<string>;
|
|
1507
1511
|
dataTestId: PropTypes.Requireable<string>;
|
|
1508
1512
|
}>>;
|
|
@@ -704,6 +704,8 @@ declare namespace SlidesPlayer {
|
|
|
704
704
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
705
705
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
706
706
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
707
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
708
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
707
709
|
theme: PropTypes.Requireable<string>;
|
|
708
710
|
dataTestId: PropTypes.Requireable<string>;
|
|
709
711
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -734,6 +734,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
734
734
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
735
735
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
736
736
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
737
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
738
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
737
739
|
theme: PropTypes.Requireable<string>;
|
|
738
740
|
dataTestId: PropTypes.Requireable<string>;
|
|
739
741
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE
|
|
1
|
+
{"version":3,"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AkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
|
|
@@ -834,6 +834,8 @@ declare namespace PopinEnd {
|
|
|
834
834
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
835
835
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
836
836
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
837
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
838
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
837
839
|
theme: PropTypes.Requireable<string>;
|
|
838
840
|
dataTestId: PropTypes.Requireable<string>;
|
|
839
841
|
}>>;
|
|
@@ -1155,6 +1155,8 @@ declare const AppReview: {
|
|
|
1155
1155
|
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
1156
1156
|
onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
1157
1157
|
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
1158
|
+
onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
1159
|
+
inputRef: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
1158
1160
|
theme: import("prop-types").Requireable<string>;
|
|
1159
1161
|
dataTestId: import("prop-types").Requireable<string>;
|
|
1160
1162
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAkB,EAAC,cAAc,EAAC,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -1156,6 +1156,8 @@ declare const propTypes: {
|
|
|
1156
1156
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1157
1157
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1158
1158
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1159
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1160
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1159
1161
|
theme: PropTypes.Requireable<string>;
|
|
1160
1162
|
dataTestId: PropTypes.Requireable<string>;
|
|
1161
1163
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACj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;
|
|
1162
1162
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1163
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1164
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1163
1165
|
theme: PropTypes.Requireable<string>;
|
|
1164
1166
|
dataTestId: PropTypes.Requireable<string>;
|
|
1165
1167
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -282,6 +282,8 @@ declare namespace BrandUpdate {
|
|
|
282
282
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
283
283
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
284
284
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
285
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
286
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
285
287
|
theme: PropTypes.Requireable<string>;
|
|
286
288
|
dataTestId: PropTypes.Requireable<string>;
|
|
287
289
|
}>>;
|
|
@@ -905,6 +907,8 @@ declare namespace BrandUpdate {
|
|
|
905
907
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
906
908
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
907
909
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
910
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
911
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
908
912
|
theme: PropTypes.Requireable<string>;
|
|
909
913
|
dataTestId: PropTypes.Requireable<string>;
|
|
910
914
|
}>>;
|
|
@@ -2346,6 +2350,8 @@ declare namespace BrandUpdate {
|
|
|
2346
2350
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2347
2351
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2348
2352
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2353
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2354
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2349
2355
|
theme: PropTypes.Requireable<string>;
|
|
2350
2356
|
dataTestId: PropTypes.Requireable<string>;
|
|
2351
2357
|
}>>;
|
|
@@ -3001,6 +3007,8 @@ declare namespace BrandUpdate {
|
|
|
3001
3007
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3002
3008
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3003
3009
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3010
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3011
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3004
3012
|
theme: PropTypes.Requireable<string>;
|
|
3005
3013
|
dataTestId: PropTypes.Requireable<string>;
|
|
3006
3014
|
}>>;
|
|
@@ -3178,6 +3186,8 @@ declare namespace BrandUpdate {
|
|
|
3178
3186
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3179
3187
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3180
3188
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3189
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3190
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3181
3191
|
theme: PropTypes.Requireable<string>;
|
|
3182
3192
|
dataTestId: PropTypes.Requireable<string>;
|
|
3183
3193
|
}>>;
|
|
@@ -3201,6 +3211,8 @@ declare namespace BrandUpdate {
|
|
|
3201
3211
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3202
3212
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3203
3213
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3214
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3215
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
3204
3216
|
theme: PropTypes.Requireable<string>;
|
|
3205
3217
|
dataTestId: PropTypes.Requireable<string>;
|
|
3206
3218
|
}>>;
|
|
@@ -651,6 +651,8 @@ declare namespace Dashboard {
|
|
|
651
651
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
652
652
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
653
653
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
654
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
655
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
654
656
|
theme: PropTypes.Requireable<string>;
|
|
655
657
|
dataTestId: PropTypes.Requireable<string>;
|
|
656
658
|
}>>;
|
|
@@ -1459,6 +1461,8 @@ declare namespace Dashboard {
|
|
|
1459
1461
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1460
1462
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1461
1463
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1464
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1465
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1462
1466
|
theme: PropTypes.Requireable<string>;
|
|
1463
1467
|
dataTestId: PropTypes.Requireable<string>;
|
|
1464
1468
|
}>>;
|
|
@@ -832,6 +832,8 @@ declare namespace SearchPage {
|
|
|
832
832
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
833
833
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
834
834
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
835
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
836
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
835
837
|
theme: PropTypes.Requireable<string>;
|
|
836
838
|
dataTestId: PropTypes.Requireable<string>;
|
|
837
839
|
}>>;
|
|
@@ -669,6 +669,8 @@ declare namespace ExternalCourse {
|
|
|
669
669
|
onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
670
670
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
671
671
|
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
672
|
+
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
673
|
+
inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
672
674
|
theme: PropTypes.Requireable<string>;
|
|
673
675
|
dataTestId: PropTypes.Requireable<string>;
|
|
674
676
|
}>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function isMobile(userAgent: any): boolean;
|
|
1
|
+
export function isMobile(userAgent: any, includeTablet?: boolean): boolean;
|
|
2
2
|
//# sourceMappingURL=check-is-mobile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-is-mobile.d.ts","sourceRoot":"","sources":["../../src/util/check-is-mobile.js"],"names":[],"mappings":"AAAO,
|
|
1
|
+
{"version":3,"file":"check-is-mobile.d.ts","sourceRoot":"","sources":["../../src/util/check-is-mobile.js"],"names":[],"mappings":"AAAO,2EAcN"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export const isMobile = userAgent => {
|
|
1
|
+
export const isMobile = (userAgent, includeTablet = false) => {
|
|
2
2
|
const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3
|
-
const
|
|
3
|
+
const isMobileScreen = window.innerWidth <= 640;
|
|
4
|
+
const isTabletScreen = window.innerWidth <= 960 && window.innerWidth > 640;
|
|
5
|
+
const isSmallScreen = includeTablet ? isMobileScreen || isTabletScreen : isMobileScreen;
|
|
4
6
|
const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(userAgent);
|
|
5
7
|
return isSmallScreen || isTouch && isMobileUserAgent;
|
|
6
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-is-mobile.js","names":["isMobile","userAgent","isTouch","window","navigator","maxTouchPoints","msMaxTouchPoints","
|
|
1
|
+
{"version":3,"file":"check-is-mobile.js","names":["isMobile","userAgent","includeTablet","isTouch","window","navigator","maxTouchPoints","msMaxTouchPoints","isMobileScreen","innerWidth","isTabletScreen","isSmallScreen","isMobileUserAgent","test"],"sources":["../../src/util/check-is-mobile.js"],"sourcesContent":["export const isMobile = (userAgent, includeTablet = false) => {\n const isTouch =\n 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;\n\n const isMobileScreen = window.innerWidth <= 640;\n const isTabletScreen = window.innerWidth <= 960 && window.innerWidth > 640;\n\n const isSmallScreen = includeTablet ? isMobileScreen || isTabletScreen : isMobileScreen;\n\n const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(\n userAgent\n );\n\n return isSmallScreen || (isTouch && isMobileUserAgent);\n};\n"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,GAAGA,CAACC,SAAS,EAAEC,aAAa,GAAG,KAAK,KAAK;EAC5D,MAAMC,OAAO,GACX,cAAc,IAAIC,MAAM,IAAIC,SAAS,CAACC,cAAc,GAAG,CAAC,IAAID,SAAS,CAACE,gBAAgB,GAAG,CAAC;EAE5F,MAAMC,cAAc,GAAGJ,MAAM,CAACK,UAAU,IAAI,GAAG;EAC/C,MAAMC,cAAc,GAAGN,MAAM,CAACK,UAAU,IAAI,GAAG,IAAIL,MAAM,CAACK,UAAU,GAAG,GAAG;EAE1E,MAAME,aAAa,GAAGT,aAAa,GAAGM,cAAc,IAAIE,cAAc,GAAGF,cAAc;EAEvF,MAAMI,iBAAiB,GAAG,iEAAiE,CAACC,IAAI,CAC9FZ,SACF,CAAC;EAED,OAAOU,aAAa,IAAKR,OAAO,IAAIS,iBAAkB;AACxD,CAAC","ignoreList":[]}
|
|
@@ -31,6 +31,8 @@ declare namespace Search {
|
|
|
31
31
|
const onClear: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
32
|
const onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
33
|
const onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
|
+
const onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
|
+
const inputRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
36
|
const theme: PropTypes.Requireable<string>;
|
|
35
37
|
const dataTestId: PropTypes.Requireable<string>;
|
|
36
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-search/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-search/index.js"],"names":[],"mappings":";AAiBA,iDAoFC"}
|
|
@@ -13,6 +13,10 @@ var _style = _interopRequireDefault(require("./style.css"));
|
|
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
const handleMouseDown = e => {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
e.stopPropagation();
|
|
19
|
+
};
|
|
16
20
|
const Search = props => {
|
|
17
21
|
const {
|
|
18
22
|
value,
|
|
@@ -21,27 +25,53 @@ const Search = props => {
|
|
|
21
25
|
onClear = _noop2.default,
|
|
22
26
|
onFocus,
|
|
23
27
|
onBlur,
|
|
28
|
+
onKeyDown,
|
|
29
|
+
inputRef,
|
|
24
30
|
theme = 'default',
|
|
25
31
|
dataTestId
|
|
26
32
|
} = props;
|
|
27
33
|
const handleChange = (0, _react.useMemo)(() => e => onChange(e.target.value), [onChange]);
|
|
28
|
-
const
|
|
29
|
-
|
|
34
|
+
const handleKeyDown = (0, _react.useMemo)(() => e => {
|
|
35
|
+
if (onKeyDown) {
|
|
36
|
+
onKeyDown(e);
|
|
37
|
+
}
|
|
38
|
+
}, [onKeyDown]);
|
|
39
|
+
const isCoorpManager = theme === 'coorpmanager';
|
|
40
|
+
const isMooc = theme === 'mooc';
|
|
41
|
+
const isDefault = theme === 'default';
|
|
42
|
+
const wrapperClass = (0, _classnames.default)({
|
|
43
|
+
[_style.default.wrapperSearch]: isDefault,
|
|
44
|
+
[_style.default.coorpmanager]: isCoorpManager,
|
|
45
|
+
[_style.default.wrapperMooc]: isMooc
|
|
46
|
+
});
|
|
47
|
+
const wrapperParentClass = (0, _classnames.default)({
|
|
48
|
+
[_style.default.wrapperMoocParent]: isMooc
|
|
49
|
+
});
|
|
50
|
+
const searchClass = (0, _classnames.default)({
|
|
51
|
+
[_style.default.search]: true,
|
|
52
|
+
[_style.default.moocSearch]: isMooc
|
|
53
|
+
});
|
|
54
|
+
const SearchIconComponent = isCoorpManager ? _novaIcons.NovaCompositionCoorpacademySearchThin : _novaIcons.NovaCompositionCoorpacademySearch;
|
|
55
|
+
const showTitle = isCoorpManager;
|
|
56
|
+
const showClearIcon = value && isCoorpManager;
|
|
30
57
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
31
|
-
className:
|
|
58
|
+
className: wrapperParentClass
|
|
59
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
60
|
+
className: wrapperClass
|
|
32
61
|
}, /*#__PURE__*/_react.default.createElement("label", {
|
|
33
62
|
htmlFor: "search",
|
|
34
63
|
title: placeholder
|
|
35
|
-
},
|
|
36
|
-
className: _style.default.searchIcon
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}),
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(SearchIconComponent, {
|
|
65
|
+
className: _style.default.searchIcon,
|
|
66
|
+
"data-name": "search-icon",
|
|
67
|
+
onMouseDown: handleMouseDown
|
|
68
|
+
}), showTitle ? /*#__PURE__*/_react.default.createElement("span", {
|
|
40
69
|
className: (0, _classnames.default)(_style.default.title, (0, _isEmpty2.default)(value) && _style.default.noValue)
|
|
41
70
|
}, placeholder) : null), /*#__PURE__*/_react.default.createElement("input", {
|
|
71
|
+
ref: inputRef,
|
|
42
72
|
"data-name": "search-input",
|
|
43
73
|
"data-testid": dataTestId,
|
|
44
|
-
className:
|
|
74
|
+
className: searchClass,
|
|
45
75
|
"aria-label": placeholder,
|
|
46
76
|
type: "text",
|
|
47
77
|
name: "search",
|
|
@@ -52,11 +82,12 @@ const Search = props => {
|
|
|
52
82
|
onInput: handleChange,
|
|
53
83
|
onFocus: onFocus,
|
|
54
84
|
onChange: _noop2.default,
|
|
55
|
-
onBlur: onBlur
|
|
56
|
-
|
|
85
|
+
onBlur: onBlur,
|
|
86
|
+
onKeyDown: handleKeyDown
|
|
87
|
+
}), showClearIcon ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidStatusClose, {
|
|
57
88
|
onClick: onClear,
|
|
58
89
|
className: _style.default.clearIcon
|
|
59
|
-
}) : null);
|
|
90
|
+
}) : null));
|
|
60
91
|
};
|
|
61
92
|
Search.contextTypes = {
|
|
62
93
|
skin: _provider.default.childContextTypes.skin
|
|
@@ -68,7 +99,9 @@ Search.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
68
99
|
onClear: _propTypes.default.func,
|
|
69
100
|
onFocus: _propTypes.default.func,
|
|
70
101
|
onBlur: _propTypes.default.func,
|
|
71
|
-
|
|
102
|
+
onKeyDown: _propTypes.default.func,
|
|
103
|
+
inputRef: _propTypes.default.func,
|
|
104
|
+
theme: _propTypes.default.oneOf(['default', 'coorpmanager', 'mooc']),
|
|
72
105
|
dataTestId: _propTypes.default.string
|
|
73
106
|
} : {};
|
|
74
107
|
var _default = exports.default = Search;
|