mashlib 2.1.3 → 2.1.4-test.1
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/mash.css +146 -16
- package/dist/mash.css.map +1 -1
- package/dist/mashlib.js +4356 -3285
- package/dist/mashlib.js.map +1 -1
- package/dist/mashlib.min.js +45 -45
- package/dist/mashlib.min.js.map +1 -1
- package/package.json +5 -5
package/dist/mash.css
CHANGED
|
@@ -612,6 +612,15 @@
|
|
|
612
612
|
background-color: transparent;
|
|
613
613
|
}
|
|
614
614
|
|
|
615
|
+
/* Vertically center autocomplete input in .formFieldValue */
|
|
616
|
+
.profile-form .formFieldValue > div[style*="flex-direction: row"] {
|
|
617
|
+
align-items: center;
|
|
618
|
+
display: flex;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.profile-form .formFieldValue input[data-testid="autocomplete-input"] {
|
|
622
|
+
vertical-align: middle;
|
|
623
|
+
}
|
|
615
624
|
/* Solid-UI form sizing fixes scoped to Edit CV section */
|
|
616
625
|
.profile-form .hoverControl:not(:has(> img:first-child)) {
|
|
617
626
|
border: 0.1em solid rgb(136, 136, 136) !important;
|
|
@@ -623,6 +632,8 @@
|
|
|
623
632
|
margin: 0 !important;
|
|
624
633
|
border-radius: 0 !important;
|
|
625
634
|
padding: 0.7em !important;
|
|
635
|
+
min-height: var(--min-touch-target);
|
|
636
|
+
min-width: var(--min-touch-target);
|
|
626
637
|
cursor: pointer;
|
|
627
638
|
display: inline-flex;
|
|
628
639
|
align-items: center;
|
|
@@ -666,7 +677,8 @@
|
|
|
666
677
|
}
|
|
667
678
|
|
|
668
679
|
.profile-form button {
|
|
669
|
-
|
|
680
|
+
min-height: var(--min-touch-target);
|
|
681
|
+
min-width: var(--min-touch-target);
|
|
670
682
|
}
|
|
671
683
|
|
|
672
684
|
.profile-form input:not([type="color"]),
|
|
@@ -675,8 +687,32 @@
|
|
|
675
687
|
max-width: 100%;
|
|
676
688
|
min-width: 0;
|
|
677
689
|
box-sizing: border-box ;
|
|
678
|
-
|
|
679
|
-
|
|
690
|
+
font: inherit;
|
|
691
|
+
color: var(--color-text);
|
|
692
|
+
background-color: var(--color-card-bg) !important;
|
|
693
|
+
border: 1px solid var(--color-border-pale);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.profile-form textarea {
|
|
697
|
+
border-color: var(--color-border-pale) !important;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.profile-form input[type="date"],
|
|
701
|
+
.profile-form input[type="month"],
|
|
702
|
+
.profile-form input[type="week"],
|
|
703
|
+
.profile-form input[type="time"],
|
|
704
|
+
.profile-form input[type="datetime-local"] {
|
|
705
|
+
min-height: var(--min-touch-target);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.profile-form .hoverControl:has(> img:first-child):focus-visible,
|
|
709
|
+
.profile-form button:focus-visible,
|
|
710
|
+
.profile-form input:not([type="color"]):focus-visible,
|
|
711
|
+
.profile-form textarea:focus-visible,
|
|
712
|
+
.profile-form select:focus-visible {
|
|
713
|
+
outline: var(--focus-ring-width) solid var(--color-primary) !important;
|
|
714
|
+
outline-offset: 2px;
|
|
715
|
+
box-shadow: 0 0 0 1px var(--color-background);
|
|
680
716
|
}
|
|
681
717
|
|
|
682
718
|
.profile-form input[type="url"] {
|
|
@@ -695,6 +731,11 @@
|
|
|
695
731
|
|
|
696
732
|
.profile-form .formFieldValue td {
|
|
697
733
|
padding: 0 !important;
|
|
734
|
+
vertical-align: middle;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.profile-form .formFieldValue table[data-testid="autocomplete-table"] {
|
|
738
|
+
height: 100%;
|
|
698
739
|
}
|
|
699
740
|
|
|
700
741
|
.profile-form .formFieldValue input:not([type="color"]),
|
|
@@ -712,9 +753,9 @@
|
|
|
712
753
|
margin-right: 0 !important;
|
|
713
754
|
}
|
|
714
755
|
|
|
715
|
-
.profile-form span select {
|
|
716
|
-
|
|
717
|
-
|
|
756
|
+
.profile-form .formFieldValue span select {
|
|
757
|
+
margin-left: 0 !important;
|
|
758
|
+
margin-right: 0 !important;
|
|
718
759
|
}
|
|
719
760
|
|
|
720
761
|
/* Remove border/padding from the first wrapper div (and its first child wrapper). */
|
|
@@ -737,6 +778,59 @@ section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:firs
|
|
|
737
778
|
}
|
|
738
779
|
|
|
739
780
|
/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */
|
|
781
|
+
.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {
|
|
782
|
+
display: flex;
|
|
783
|
+
margin-bottom: var(--spacing-sm);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/* for the Resume inside corporation choice */
|
|
787
|
+
/* Add space between classifierBox label and select box */
|
|
788
|
+
.profile-form .choiceBox .classifierBox-label {
|
|
789
|
+
/* Optional: ensure label doesn't have extra margin */
|
|
790
|
+
margin-right: 0;
|
|
791
|
+
padding-left: 0.3em;
|
|
792
|
+
}
|
|
793
|
+
.profile-form .choiceBox .choiceBox-selectBox select {
|
|
794
|
+
margin-left: 2.1em !important;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/* for the Resume orga details */
|
|
798
|
+
/* Add space between classifierBox label and select box */
|
|
799
|
+
.profile-form .classifierBox .classifierBox-label {
|
|
800
|
+
/* Match .formFieldName for alignment */
|
|
801
|
+
margin-right: 0;
|
|
802
|
+
padding-left: 0.3em;
|
|
803
|
+
width: 8em;
|
|
804
|
+
padding: 0.3em;
|
|
805
|
+
vertical-align: middle;
|
|
806
|
+
}
|
|
807
|
+
.profile-form .classifierBox .classifierBox-selectBox {
|
|
808
|
+
margin-left: 0 !important;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.profile-form .classifierBox .classifierBox-selectBox select {
|
|
812
|
+
margin-left: 0 !important;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.profile-form .formFieldValue > span > select {
|
|
816
|
+
margin-left: 0 !important;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/* for the social media */
|
|
820
|
+
/* Add space between classifierBox label and select box */
|
|
821
|
+
section[data-testid="edit-social-section"] .classifierBox-label {
|
|
822
|
+
/* Optional: ensure label doesn't have extra margin */
|
|
823
|
+
margin-right: 0;
|
|
824
|
+
padding-left: 0.3em;
|
|
825
|
+
}
|
|
826
|
+
section[data-testid="edit-social-section"] .classifierBox-selectBox select {
|
|
827
|
+
margin-left: 0.7em !important;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {
|
|
831
|
+
margin-bottom: 0;
|
|
832
|
+
}
|
|
833
|
+
|
|
740
834
|
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://schema.org/"]),
|
|
741
835
|
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://www.w3.org/ns/solid/terms#"]),
|
|
742
836
|
.profile-form :not(.choiceBox) > .formFieldName:has(a[href*="http://xmlns.com/foaf/0.1/"]),
|
|
@@ -755,9 +849,19 @@ section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:firs
|
|
|
755
849
|
display: inline-flex;
|
|
756
850
|
align-items: center;
|
|
757
851
|
vertical-align: middle;
|
|
852
|
+
flex: 1;
|
|
853
|
+
min-width: 0;
|
|
758
854
|
}
|
|
759
855
|
|
|
760
|
-
.profile-form textarea
|
|
856
|
+
.profile-form textarea,
|
|
857
|
+
.profile-form .formFieldValue textarea {
|
|
858
|
+
appearance: none;
|
|
859
|
+
-webkit-appearance: none;
|
|
860
|
+
border: .05em solid #88c !important;
|
|
861
|
+
border-style: solid !important;
|
|
862
|
+
border-width: .05em !important;
|
|
863
|
+
border-color: #88c !important;
|
|
864
|
+
border-radius: 0.2em !important;
|
|
761
865
|
width: 100%;
|
|
762
866
|
box-sizing: border-box;
|
|
763
867
|
margin-top: var(--spacing-xs);
|
|
@@ -776,7 +880,30 @@ section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:firs
|
|
|
776
880
|
}
|
|
777
881
|
|
|
778
882
|
.profile-form div[style*="display: flex"][style*="flex-direction: row"]:has(textarea) > div:has(> a) {
|
|
779
|
-
padding-
|
|
883
|
+
padding-left: var(--spacing-xs);
|
|
884
|
+
padding-top: var(--spacing-sm);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/* Keep autocomplete/table-based fields (e.g. Occupation) aligned to label text baseline. */
|
|
888
|
+
.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) {
|
|
889
|
+
align-items: flex-start;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid="autocomplete-input"]) > .formFieldName {
|
|
893
|
+
padding-top: 0.55em !important;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.profile-form .formFieldValue:has(input[data-testid="autocomplete-input"]) {
|
|
897
|
+
align-self: flex-start;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.profile-form .formFieldValue table[data-testid="autocomplete-table"],
|
|
901
|
+
.profile-form .formFieldValue input[data-testid="autocomplete-input"] {
|
|
902
|
+
margin: 0 !important;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.profile-form .formFieldValue table[data-testid="autocomplete-table"] {
|
|
906
|
+
vertical-align: baseline;
|
|
780
907
|
}
|
|
781
908
|
|
|
782
909
|
.profile-form input:not([type="color"]) {
|
|
@@ -785,14 +912,17 @@ section[aria-labelledby="edit-profile-contact-heading"] .profile-form > div:firs
|
|
|
785
912
|
margin-right: 0 !important;
|
|
786
913
|
}
|
|
787
914
|
|
|
788
|
-
|
|
789
|
-
.
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
.
|
|
795
|
-
|
|
915
|
+
.profile-form input:disabled,
|
|
916
|
+
.profile-form textarea:disabled,
|
|
917
|
+
.profile-form select:disabled,
|
|
918
|
+
.profile-form input[readonly],
|
|
919
|
+
.profile-form textarea[readonly],
|
|
920
|
+
.profile-form input:read-only,
|
|
921
|
+
.profile-form textarea:read-only {
|
|
922
|
+
background-color: var(--color-background) !important;
|
|
923
|
+
cursor: not-allowed;
|
|
924
|
+
opacity: 0.75;
|
|
925
|
+
border: 0.05em solid white !important;
|
|
796
926
|
}
|
|
797
927
|
|
|
798
928
|
.webidControl table td div.contactPane.namedPane {
|