@payrails/web-sdk 5.29.0 → 5.29.1-rc
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/index.js +4 -5
- package/package.json +1 -1
- package/payrails-styles.css +63 -12
- package/payrails.d.ts +759 -635
- package/payrails.js +4 -5
package/package.json
CHANGED
package/payrails-styles.css
CHANGED
|
@@ -683,44 +683,44 @@
|
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
.payrails-
|
|
686
|
+
.payrails-dynamic-element-form {
|
|
687
687
|
display: flex;
|
|
688
688
|
flex-direction: column;
|
|
689
689
|
gap: 16px;
|
|
690
690
|
width: 100%;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
.payrails-
|
|
693
|
+
.payrails-dynamic-element-form-field {
|
|
694
694
|
display: flex;
|
|
695
695
|
flex-direction: column;
|
|
696
696
|
gap: 4px;
|
|
697
697
|
width: 100%;
|
|
698
698
|
}
|
|
699
699
|
|
|
700
|
-
.payrails-
|
|
700
|
+
.payrails-dynamic-element-form-field-label {
|
|
701
701
|
font-size: 14px;
|
|
702
702
|
font-weight: 500;
|
|
703
703
|
color: #000000;
|
|
704
704
|
margin-bottom: 4px;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
.payrails-
|
|
707
|
+
.payrails-dynamic-element-form-field-component {
|
|
708
708
|
width: 100%;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
.payrails-
|
|
711
|
+
.payrails-dynamic-element-form-field-error {
|
|
712
712
|
font-size: 12px;
|
|
713
713
|
color: #ff0000;
|
|
714
714
|
margin-top: 4px;
|
|
715
715
|
display: none;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
|
-
.payrails-
|
|
719
|
-
.payrails-
|
|
718
|
+
.payrails-dynamic-element-form-field.error
|
|
719
|
+
.payrails-dynamic-element-form-field-error {
|
|
720
720
|
display: block;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
.payrails-
|
|
723
|
+
.payrails-dynamic-element-input {
|
|
724
724
|
width: 100%;
|
|
725
725
|
padding: 10px 16px;
|
|
726
726
|
border: 1px solid #eae8ee;
|
|
@@ -731,27 +731,78 @@
|
|
|
731
731
|
transition: border-color 0.2s ease;
|
|
732
732
|
}
|
|
733
733
|
|
|
734
|
-
.payrails-
|
|
734
|
+
.payrails-dynamic-element-input:focus {
|
|
735
735
|
outline: none;
|
|
736
736
|
border-color: #007bff;
|
|
737
737
|
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
.payrails-
|
|
740
|
+
.payrails-dynamic-element-input:invalid {
|
|
741
741
|
border-color: #f25226;
|
|
742
742
|
background-color: #f9e1e1;
|
|
743
743
|
}
|
|
744
744
|
|
|
745
|
-
.payrails-
|
|
745
|
+
.payrails-dynamic-element-form-field.error .payrails-dynamic-element-input {
|
|
746
746
|
border-color: #f25226;
|
|
747
747
|
background-color: #f9e1e1;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
.payrails-
|
|
750
|
+
.payrails-dynamic-element-input::placeholder {
|
|
751
751
|
color: grey;
|
|
752
752
|
opacity: 1;
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
+
.payrails-dynamic-element-select {
|
|
756
|
+
appearance: none;
|
|
757
|
+
-webkit-appearance: none;
|
|
758
|
+
-moz-appearance: none;
|
|
759
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
|
|
760
|
+
background-repeat: no-repeat;
|
|
761
|
+
background-position: right 8px center;
|
|
762
|
+
width: 100%;
|
|
763
|
+
font-size: 14px;
|
|
764
|
+
color: #1d1d1d;
|
|
765
|
+
background-color: #fff;
|
|
766
|
+
box-sizing: border-box;
|
|
767
|
+
transition: border-color 0.2s ease;
|
|
768
|
+
padding: 10px 16px;
|
|
769
|
+
margin: 0;
|
|
770
|
+
border: 1px solid #eae8ee;
|
|
771
|
+
box-shadow: none;
|
|
772
|
+
cursor: pointer;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.payrails-dynamic-element-tabs {
|
|
776
|
+
display: flex;
|
|
777
|
+
flex-direction: row;
|
|
778
|
+
border: 1px solid #eae8ee;
|
|
779
|
+
padding: 4px;
|
|
780
|
+
background: transparent;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.payrails-dynamic-element-tabs button.payrails-dynamic-element-tab {
|
|
784
|
+
border-radius: 0;
|
|
785
|
+
flex: 1;
|
|
786
|
+
background: white;
|
|
787
|
+
border: none;
|
|
788
|
+
outline: none;
|
|
789
|
+
font-size: 16px;
|
|
790
|
+
font-weight: 500;
|
|
791
|
+
color: #000000;
|
|
792
|
+
padding: 4px;
|
|
793
|
+
text-transform: unset;
|
|
794
|
+
cursor: pointer;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.payrails-dynamic-element-tabs button.payrails-dynamic-element-tab.active {
|
|
798
|
+
background-color: #e0e5ed;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.payrails-dynamic-element-tabs button.payrails-dynamic-element-tab:hover {
|
|
802
|
+
background-color: unset;
|
|
803
|
+
color: unset;
|
|
804
|
+
}
|
|
805
|
+
|
|
755
806
|
button.payrails-generic-button {
|
|
756
807
|
border: none;
|
|
757
808
|
outline: none;
|