@xaypay/tui 0.2.15 → 0.2.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaypay/tui",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
package/tui.config.js CHANGED
@@ -1,10 +1,12 @@
1
- import React from 'react'
1
+ // import React from 'react'
2
2
  // import info from './src/assetsTMP/info.png';
3
3
  // import error from './src/assetsTMP/error.png';
4
4
  // import close from './src/assetsTMP/close.svg';
5
5
  // import warn from './src/assetsTMP/warning.png';
6
6
  // import success from './src/assetsTMP/success.png';
7
7
  import closeCall from './src/assetsTMP/closeCall.svg';
8
+ import greenPlus from './src/assetsTMP/greenplus.svg';
9
+ import greenMinus from './src/assetsTMP/greenminus.svg';
8
10
 
9
11
  const boxSizing = 'border-box';
10
12
  const fontStyle = 'normal';
@@ -95,6 +97,7 @@ export default {
95
97
  className: '',
96
98
  maxLength: 255,
97
99
  iconWidth: '64px',
100
+ iconPadding: '10px',
98
101
  autoComplete: 'off',
99
102
 
100
103
  box: {
@@ -130,6 +133,10 @@ export default {
130
133
  iconMargin: '10px',
131
134
  lineHeight: '19px',
132
135
 
136
+ box: {
137
+ shadow: '0 0 0 1px #F20918'
138
+ },
139
+
133
140
  font: {...fontObject}
134
141
  },
135
142
 
@@ -290,6 +297,7 @@ export default {
290
297
  SELECT: {
291
298
  dots: false,
292
299
  className: '',
300
+ arrowNoRotate: false,
293
301
  showCloseIcon: true,
294
302
  // arrowIcon: React.createElement(SvgChecked, { fill: 'green' }),
295
303
  // closeIcon: React.createElement(SvgChecked, { fill: 'green' }),
@@ -693,7 +701,13 @@ export default {
693
701
  header: {
694
702
  color: presetColors.primarySecond,
695
703
  height: '30px',
696
- font: {...fontObject}
704
+ align: 'left',
705
+ font: {...fontObject},
706
+ icon: {
707
+ maxWidth: '60px',
708
+ maxHeight: '60px',
709
+ marginRight: '20px'
710
+ }
697
711
  },
698
712
 
699
713
  image: {
@@ -738,7 +752,7 @@ export default {
738
752
  border: {
739
753
  radius: '10px'
740
754
  },
741
- withParent: true,
755
+ // withParent: true,
742
756
  outSideClose: false,
743
757
  closeIcon: closeCall,
744
758
  },
@@ -828,7 +842,33 @@ export default {
828
842
  },
829
843
  // default properties for <Pagination /> component
830
844
  PAGINATION: {
845
+ width: '34px',
846
+ height: '34px',
847
+ lineHeight: '16px',
831
848
  className: '', // for pagination class
849
+ color: '#000000',
850
+
851
+ font: {
852
+ size: '13px',
853
+ style: '',
854
+ weight: '',
855
+ family: ''
856
+ },
857
+
858
+ colors: {
859
+ hover: '#000000',
860
+ active: '#ffffff',
861
+ background: '#ffffff',
862
+ activeHover: '#ffffff',
863
+ hoverBackground: '#dddddd',
864
+ activeBackground: '#00236a'
865
+ },
866
+
867
+ border: {
868
+ width: '1px',
869
+ color: 'rgba(238,238,238, 1)',
870
+ radius: '6px',
871
+ }
832
872
  },
833
873
  // default properties for <Toaster /> component
834
874
  TOASTER: {
@@ -895,11 +935,13 @@ export default {
895
935
  width: '2px',
896
936
  style: 'solid',
897
937
  color: '#E7E7E7',
938
+ hoverColor: '#E7E7E7',
898
939
  activeColor: '#3C3D46',
899
940
  },
900
941
 
901
942
  label: {
902
943
  color: '#3C3D46',
944
+ activeColor: '#3C3D46',
903
945
  lineHeight: '21px',
904
946
 
905
947
  font: {...fontObject}
@@ -908,5 +950,44 @@ export default {
908
950
  // default properties for <Form /> component
909
951
  FORM: {
910
952
  className: ''
953
+ },
954
+ // default properties for <Accordion /> component
955
+ ACCORDION: {
956
+ className: '',
957
+ padding: '15px',
958
+ color: '#121212',
959
+ marginBottom: '0px',
960
+
961
+ colors: {
962
+ hover: '#009B8B',
963
+ background: '#E5E7EA',
964
+ backgroundHover: '#CBCED5'
965
+ },
966
+
967
+ border: {
968
+ color: '#A8ADB9',
969
+ width: '1px',
970
+ style: 'solid',
971
+
972
+ radius: '0px',
973
+
974
+ top: false,
975
+ left: false,
976
+ right: false,
977
+ bottom: true
978
+ },
979
+
980
+ font: {
981
+ size: '14px',
982
+ style: 'normal',
983
+ weight: 700,
984
+ family: 'Noto Sans Armenian'
985
+ },
986
+
987
+ icon: {
988
+ open: greenPlus,
989
+ close: greenMinus,
990
+ openHover: greenPlus,
991
+ }
911
992
  }
912
993
  }