@xaypay/tui 0.3.0 → 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.3.0",
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
@@ -142,6 +142,7 @@ export default {
142
142
  marginTop: '10px',
143
143
  iconMargin: '10px',
144
144
  lineHeight: '19px',
145
+ inContent: false,
145
146
 
146
147
  box: {
147
148
  shadow: '0 0 0 1px #F20918'
@@ -363,6 +364,7 @@ export default {
363
364
  colors: {
364
365
  hover: '#373538',
365
366
  background: presetColors.extraLight,
367
+ placeholderDisable: presetColors.dark,
366
368
  backgroundDisable: presetColors.secondary,
367
369
  },
368
370
 
@@ -406,6 +408,7 @@ export default {
406
408
  color: 'rgb(238, 0, 0)',
407
409
  marginTop: '10px',
408
410
  zIndex: 10,
411
+ inContent: false,
409
412
 
410
413
  box: {
411
414
  shadow: `0 0 0 2px ${presetColors.danger}`
@@ -437,7 +440,7 @@ export default {
437
440
  box: {
438
441
  sizing: boxSizing,
439
442
  shadow: `0 0 0 2px ${presetColors.secondary}`, // like border
440
-
443
+ width: '2px', // like border width
441
444
  colors: {
442
445
  hover: `0 0 0 2px ${presetColors.dark}`, // like border color
443
446
  focus: `0 0 0 2px ${presetColors.primarySecond}`, // like border color
@@ -594,6 +597,7 @@ export default {
594
597
  error: {
595
598
  color: presetColors.danger,
596
599
  marginTop: '10px',
600
+ inContent: false,
597
601
 
598
602
  font: {...fontObject},
599
603
 
@@ -633,10 +637,9 @@ export default {
633
637
  height: 'auto',
634
638
  },
635
639
 
636
- or: 'կամ',
637
640
  upload: 'Բեռնել',
638
641
  uploadColor: presetColors.success,
639
- putFileHere: 'Տեղադրել ֆայլը այստեղ',
642
+ putFileHere: 'Տեղադրել ֆայլը այստեղ կամ',
640
643
 
641
644
  sizeText: 'Առավելագույնը',
642
645
  timeForRemoveError: 4000,
@@ -683,11 +686,12 @@ export default {
683
686
 
684
687
  error: {
685
688
  color: presetColors.danger,
686
-
689
+ marginTop: '6px',
687
690
  font: {...fontObject},
688
691
 
689
692
  format: 'ֆայլի սխալ ֆորմատ',
690
693
  maxSize: 'Առավելագույն ծավալ',
694
+ formatValidate: 'Վնասված ֆայլ',
691
695
  noChoosenFile: 'Ֆայլը ընտրված չէ',
692
696
  },
693
697
 
@@ -758,21 +762,21 @@ export default {
758
762
  height: '',
759
763
  maxWidth: '95%',
760
764
  minWidth: '320px',
761
- maxHeight: '95vh',
765
+ maxHeight: '95dvh',
762
766
  minHeight: '200px',
763
- radius: '14px',
764
- noScroll: false,
767
+ underScroll: false,
765
768
  padding: '20px 20px 20px',
766
769
  className: '',
767
770
  alignItems: 'center',
768
771
  outsideClose: true,
769
772
  justifyContent: 'center',
770
773
  grayDecorHeight: '80px',
771
-
774
+
772
775
  border: {
773
776
  width: '20px',
774
777
  style: 'solid',
775
778
  color: transparent,
779
+ radius: '14px',
776
780
  },
777
781
 
778
782
  colors: {
@@ -819,8 +823,8 @@ export default {
819
823
  // default properties for <SwipeModal /> component
820
824
  SWIPEMODAL: {
821
825
  width: '300px',
822
- height: '100vh',
823
- noScroll: false,
826
+ height: '100dvh',
827
+ underScroll: false,
824
828
  titleStyle: {
825
829
  color: '#1C212D',
826
830
  textAlign: 'left',
@@ -830,7 +834,7 @@ export default {
830
834
  },
831
835
  parent: {
832
836
  width: '100%',
833
- height: '100vh',
837
+ height: '100dvh',
834
838
  colors: {
835
839
  background: 'rgba(60, 61, 70, 0.2)'
836
840
  }