@xaypay/tui 0.2.34 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaypay/tui",
3
- "version": "0.2.34",
3
+ "version": "0.3.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
package/tui.config.js CHANGED
@@ -40,7 +40,6 @@ export default {
40
40
  BUTTON: {
41
41
  opacity: 1,
42
42
  width: '100%',
43
- radius: '6px',
44
43
  className: '',
45
44
  type: 'button',
46
45
  height: '46px',
@@ -49,18 +48,17 @@ export default {
49
48
  disabled: false,
50
49
  cursor: 'pointer',
51
50
  contentWidth: false,
51
+ borderRadius: '6px',
52
+ outlineWidth: '2px',
52
53
  padding: '12px 20px',
54
+ disabledBorderWidth: '2px',
53
55
  transition: 'background-color 240ms, color 240ms',
54
-
55
- box: {
56
- sizing: boxSizing,
57
- },
58
56
 
59
57
  colors: {
60
58
  background: 'rgba(0, 35, 106, 1)',
61
59
  backgroundHover: '#CB3A3A',
62
60
  disabled: 'rgba(60, 57, 62, 1)',
63
- disabledLine: 'rgba(60, 57, 62, 1)',
61
+ disabledBorderColor: 'rgba(60, 57, 62, 1)',
64
62
  disabledBackground: 'rgba(238, 238, 238, 1)',
65
63
  withoutStyling: {
66
64
  color: '#000000',
@@ -78,8 +76,7 @@ export default {
78
76
  },
79
77
 
80
78
  icon: {
81
- marginLeft: '10px',
82
- marginRight: '10px'
79
+ gap: '10px',
83
80
  },
84
81
 
85
82
  withoutStyling: false
@@ -145,6 +142,7 @@ export default {
145
142
  marginTop: '10px',
146
143
  iconMargin: '10px',
147
144
  lineHeight: '19px',
145
+ inContent: false,
148
146
 
149
147
  box: {
150
148
  shadow: '0 0 0 1px #F20918'
@@ -366,6 +364,7 @@ export default {
366
364
  colors: {
367
365
  hover: '#373538',
368
366
  background: presetColors.extraLight,
367
+ placeholderDisable: presetColors.dark,
369
368
  backgroundDisable: presetColors.secondary,
370
369
  },
371
370
 
@@ -409,6 +408,7 @@ export default {
409
408
  color: 'rgb(238, 0, 0)',
410
409
  marginTop: '10px',
411
410
  zIndex: 10,
411
+ inContent: false,
412
412
 
413
413
  box: {
414
414
  shadow: `0 0 0 2px ${presetColors.danger}`
@@ -440,7 +440,7 @@ export default {
440
440
  box: {
441
441
  sizing: boxSizing,
442
442
  shadow: `0 0 0 2px ${presetColors.secondary}`, // like border
443
-
443
+ width: '2px', // like border width
444
444
  colors: {
445
445
  hover: `0 0 0 2px ${presetColors.dark}`, // like border color
446
446
  focus: `0 0 0 2px ${presetColors.primarySecond}`, // like border color
@@ -597,6 +597,7 @@ export default {
597
597
  error: {
598
598
  color: presetColors.danger,
599
599
  marginTop: '10px',
600
+ inContent: false,
600
601
 
601
602
  font: {...fontObject},
602
603
 
@@ -636,10 +637,9 @@ export default {
636
637
  height: 'auto',
637
638
  },
638
639
 
639
- or: 'կամ',
640
640
  upload: 'Բեռնել',
641
641
  uploadColor: presetColors.success,
642
- putFileHere: 'Տեղադրել ֆայլը այստեղ',
642
+ putFileHere: 'Տեղադրել ֆայլը այստեղ կամ',
643
643
 
644
644
  sizeText: 'Առավելագույնը',
645
645
  timeForRemoveError: 4000,
@@ -668,6 +668,7 @@ export default {
668
668
  showLessText: 'Փակել',
669
669
  showMoreText: 'Ավելին',
670
670
  showMoreTextColor: '#2C46C1',
671
+ marginBottom: '6px',
671
672
  color: '#4A4A4D',
672
673
 
673
674
  font: {...fontObject},
@@ -685,11 +686,12 @@ export default {
685
686
 
686
687
  error: {
687
688
  color: presetColors.danger,
688
-
689
+ marginTop: '6px',
689
690
  font: {...fontObject},
690
691
 
691
692
  format: 'ֆայլի սխալ ֆորմատ',
692
693
  maxSize: 'Առավելագույն ծավալ',
694
+ formatValidate: 'Վնասված ֆայլ',
693
695
  noChoosenFile: 'Ֆայլը ընտրված չէ',
694
696
  },
695
697
 
@@ -760,21 +762,21 @@ export default {
760
762
  height: '',
761
763
  maxWidth: '95%',
762
764
  minWidth: '320px',
763
- maxHeight: '95vh',
765
+ maxHeight: '95dvh',
764
766
  minHeight: '200px',
765
- radius: '14px',
766
- noScroll: false,
767
+ underScroll: false,
767
768
  padding: '20px 20px 20px',
768
769
  className: '',
769
770
  alignItems: 'center',
770
771
  outsideClose: true,
771
772
  justifyContent: 'center',
772
773
  grayDecorHeight: '80px',
773
-
774
+
774
775
  border: {
775
776
  width: '20px',
776
777
  style: 'solid',
777
778
  color: transparent,
779
+ radius: '14px',
778
780
  },
779
781
 
780
782
  colors: {
@@ -821,8 +823,8 @@ export default {
821
823
  // default properties for <SwipeModal /> component
822
824
  SWIPEMODAL: {
823
825
  width: '300px',
824
- height: '100vh',
825
- noScroll: false,
826
+ height: '100dvh',
827
+ underScroll: false,
826
828
  titleStyle: {
827
829
  color: '#1C212D',
828
830
  textAlign: 'left',
@@ -832,7 +834,7 @@ export default {
832
834
  },
833
835
  parent: {
834
836
  width: '100%',
835
- height: '100vh',
837
+ height: '100dvh',
836
838
  colors: {
837
839
  background: 'rgba(60, 61, 70, 0.2)'
838
840
  }