@xaypay/tui 0.2.30 → 0.2.32
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/index.es.js +6 -4
- package/dist/index.js +6 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2593,6 +2593,7 @@ const File = /*#__PURE__*/forwardRef(({
|
|
|
2593
2593
|
style: {
|
|
2594
2594
|
margin: '0px',
|
|
2595
2595
|
padding: '0px 10px',
|
|
2596
|
+
textAlign: 'left',
|
|
2596
2597
|
width: 'calc(100% - 120px)',
|
|
2597
2598
|
maxWidth: 'calc(100% - 120px)',
|
|
2598
2599
|
color: color ?? configStyles.FILE.color,
|
|
@@ -2607,7 +2608,8 @@ const File = /*#__PURE__*/forwardRef(({
|
|
|
2607
2608
|
display: 'inline-block',
|
|
2608
2609
|
whiteSpace: 'nowrap',
|
|
2609
2610
|
overflow: 'hidden',
|
|
2610
|
-
textOverflow: 'ellipsis'
|
|
2611
|
+
textOverflow: 'ellipsis',
|
|
2612
|
+
textAlign: 'left'
|
|
2611
2613
|
}
|
|
2612
2614
|
}, singleFile[`${0}`].name) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, fileSizeText ?? configStyles.FILE.sizeText, " ", maxSize, " \u0544\u0532 ", ' ', /*#__PURE__*/React__default.createElement("span", {
|
|
2613
2615
|
style: {
|
|
@@ -8496,8 +8498,8 @@ const Swipe = ({
|
|
|
8496
8498
|
}, child));
|
|
8497
8499
|
};
|
|
8498
8500
|
|
|
8499
|
-
var css_248z$2 = "body.swipe-module_tui-no-srcoll-class__YS9cI,html.swipe-module_tui-no-srcoll-class__YS9cI{height:100%;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}#swipe-
|
|
8500
|
-
var styles$2 = {"tui-no-srcoll-class":"swipe-module_tui-no-srcoll-class__YS9cI","
|
|
8501
|
+
var css_248z$2 = "body.swipe-module_tui-no-srcoll-class__YS9cI,html.swipe-module_tui-no-srcoll-class__YS9cI{height:100%;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}#swipe-module_swipable__MWZC4{touch-action:auto}.swipe-module_to-top__lrHfG{bottom:0}.swipe-module_to-left__kgLsE{right:0}.swipe-module_to-right__Xu3Ul{left:0}.swipe-module_to-bottom__94M7H{top:0}.swipe-module_visible__---aC{visibility:visible!important}.swipe-module_swipe-block__Yv1B3{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.swipe-module_move-top__m6t2O{-webkit-animation-name:swipe-module_slideTop__-Bbap;animation-name:swipe-module_slideTop__-Bbap}.swipe-module_move-left__4TDLs{-webkit-animation-name:swipe-module_slideLeft__i24cS;animation-name:swipe-module_slideLeft__i24cS}.swipe-module_move-right__FrYo0{-webkit-animation-name:swipe-module_slideRight__swgSY;animation-name:swipe-module_slideRight__swgSY}.swipe-module_move-bottom__eYDx6{-webkit-animation-name:swipe-module_slideBottom__TBoZo;animation-name:swipe-module_slideBottom__TBoZo}.swipe-module_back-top__gJZv0{-webkit-animation-name:swipe-module_backTop__32loc;animation-name:swipe-module_backTop__32loc}.swipe-module_back-left__Wd3aY{-webkit-animation-name:swipe-module_backLeft__q89ub;animation-name:swipe-module_backLeft__q89ub}.swipe-module_back-right__Lgwz7{-webkit-animation-name:swipe-module_backRight__8t5Dm;animation-name:swipe-module_backRight__8t5Dm}.swipe-module_back-bottom__JRN-7{-webkit-animation-name:swipe-module_backBottom__lwR8B;animation-name:swipe-module_backBottom__lwR8B}@keyframes swipe-module_slideTop__-Bbap{0%{bottom:-100%}to{bottom:0}}@keyframes swipe-module_slideLeft__i24cS{0%{right:-100%}to{right:0}}@keyframes swipe-module_slideRight__swgSY{0%{left:-100%}to{left:0}}@keyframes swipe-module_slideBottom__TBoZo{0%{top:-100%}to{top:0}}@keyframes swipe-module_backTop__32loc{0%{bottom:0}to{bottom:-100%}}@keyframes swipe-module_backLeft__q89ub{0%{right:0}to{right:-100%}}@keyframes swipe-module_backRight__8t5Dm{0%{left:0}to{left:-100%}}@keyframes swipe-module_backBottom__lwR8B{0%{top:0}to{top:-100%}}";
|
|
8502
|
+
var styles$2 = {"tui-no-srcoll-class":"swipe-module_tui-no-srcoll-class__YS9cI","swipable":"swipe-module_swipable__MWZC4","to-top":"swipe-module_to-top__lrHfG","to-left":"swipe-module_to-left__kgLsE","to-right":"swipe-module_to-right__Xu3Ul","to-bottom":"swipe-module_to-bottom__94M7H","visible":"swipe-module_visible__---aC","swipe-block":"swipe-module_swipe-block__Yv1B3","move-top":"swipe-module_move-top__m6t2O","slideTop":"swipe-module_slideTop__-Bbap","move-left":"swipe-module_move-left__4TDLs","slideLeft":"swipe-module_slideLeft__i24cS","move-right":"swipe-module_move-right__FrYo0","slideRight":"swipe-module_slideRight__swgSY","move-bottom":"swipe-module_move-bottom__eYDx6","slideBottom":"swipe-module_slideBottom__TBoZo","back-top":"swipe-module_back-top__gJZv0","backTop":"swipe-module_backTop__32loc","back-left":"swipe-module_back-left__Wd3aY","backLeft":"swipe-module_backLeft__q89ub","back-right":"swipe-module_back-right__Lgwz7","backRight":"swipe-module_backRight__8t5Dm","back-bottom":"swipe-module_back-bottom__JRN-7","backBottom":"swipe-module_backBottom__lwR8B"};
|
|
8501
8503
|
styleInject(css_248z$2);
|
|
8502
8504
|
|
|
8503
8505
|
// import React, { useEffect, useRef } from 'react';
|
|
@@ -8601,7 +8603,7 @@ const handleNavigationChange = () => {
|
|
|
8601
8603
|
})(window.history);
|
|
8602
8604
|
const style = document.createElement('style');
|
|
8603
8605
|
function ResetTouchRemove(e) {
|
|
8604
|
-
if (e.target.closest('#
|
|
8606
|
+
if (e.target.closest('#swipable')) return;
|
|
8605
8607
|
e.preventDefault();
|
|
8606
8608
|
}
|
|
8607
8609
|
const swipe = {
|
package/dist/index.js
CHANGED
|
@@ -2624,6 +2624,7 @@ const File = /*#__PURE__*/React.forwardRef(({
|
|
|
2624
2624
|
style: {
|
|
2625
2625
|
margin: '0px',
|
|
2626
2626
|
padding: '0px 10px',
|
|
2627
|
+
textAlign: 'left',
|
|
2627
2628
|
width: 'calc(100% - 120px)',
|
|
2628
2629
|
maxWidth: 'calc(100% - 120px)',
|
|
2629
2630
|
color: color ?? configStyles.FILE.color,
|
|
@@ -2638,7 +2639,8 @@ const File = /*#__PURE__*/React.forwardRef(({
|
|
|
2638
2639
|
display: 'inline-block',
|
|
2639
2640
|
whiteSpace: 'nowrap',
|
|
2640
2641
|
overflow: 'hidden',
|
|
2641
|
-
textOverflow: 'ellipsis'
|
|
2642
|
+
textOverflow: 'ellipsis',
|
|
2643
|
+
textAlign: 'left'
|
|
2642
2644
|
}
|
|
2643
2645
|
}, singleFile[`${0}`].name) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fileSizeText ?? configStyles.FILE.sizeText, " ", maxSize, " \u0544\u0532 ", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2644
2646
|
style: {
|
|
@@ -8527,8 +8529,8 @@ const Swipe = ({
|
|
|
8527
8529
|
}, child));
|
|
8528
8530
|
};
|
|
8529
8531
|
|
|
8530
|
-
var css_248z$2 = "body.swipe-module_tui-no-srcoll-class__YS9cI,html.swipe-module_tui-no-srcoll-class__YS9cI{height:100%;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}#swipe-
|
|
8531
|
-
var styles$2 = {"tui-no-srcoll-class":"swipe-module_tui-no-srcoll-class__YS9cI","
|
|
8532
|
+
var css_248z$2 = "body.swipe-module_tui-no-srcoll-class__YS9cI,html.swipe-module_tui-no-srcoll-class__YS9cI{height:100%;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}#swipe-module_swipable__MWZC4{touch-action:auto}.swipe-module_to-top__lrHfG{bottom:0}.swipe-module_to-left__kgLsE{right:0}.swipe-module_to-right__Xu3Ul{left:0}.swipe-module_to-bottom__94M7H{top:0}.swipe-module_visible__---aC{visibility:visible!important}.swipe-module_swipe-block__Yv1B3{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.swipe-module_move-top__m6t2O{-webkit-animation-name:swipe-module_slideTop__-Bbap;animation-name:swipe-module_slideTop__-Bbap}.swipe-module_move-left__4TDLs{-webkit-animation-name:swipe-module_slideLeft__i24cS;animation-name:swipe-module_slideLeft__i24cS}.swipe-module_move-right__FrYo0{-webkit-animation-name:swipe-module_slideRight__swgSY;animation-name:swipe-module_slideRight__swgSY}.swipe-module_move-bottom__eYDx6{-webkit-animation-name:swipe-module_slideBottom__TBoZo;animation-name:swipe-module_slideBottom__TBoZo}.swipe-module_back-top__gJZv0{-webkit-animation-name:swipe-module_backTop__32loc;animation-name:swipe-module_backTop__32loc}.swipe-module_back-left__Wd3aY{-webkit-animation-name:swipe-module_backLeft__q89ub;animation-name:swipe-module_backLeft__q89ub}.swipe-module_back-right__Lgwz7{-webkit-animation-name:swipe-module_backRight__8t5Dm;animation-name:swipe-module_backRight__8t5Dm}.swipe-module_back-bottom__JRN-7{-webkit-animation-name:swipe-module_backBottom__lwR8B;animation-name:swipe-module_backBottom__lwR8B}@keyframes swipe-module_slideTop__-Bbap{0%{bottom:-100%}to{bottom:0}}@keyframes swipe-module_slideLeft__i24cS{0%{right:-100%}to{right:0}}@keyframes swipe-module_slideRight__swgSY{0%{left:-100%}to{left:0}}@keyframes swipe-module_slideBottom__TBoZo{0%{top:-100%}to{top:0}}@keyframes swipe-module_backTop__32loc{0%{bottom:0}to{bottom:-100%}}@keyframes swipe-module_backLeft__q89ub{0%{right:0}to{right:-100%}}@keyframes swipe-module_backRight__8t5Dm{0%{left:0}to{left:-100%}}@keyframes swipe-module_backBottom__lwR8B{0%{top:0}to{top:-100%}}";
|
|
8533
|
+
var styles$2 = {"tui-no-srcoll-class":"swipe-module_tui-no-srcoll-class__YS9cI","swipable":"swipe-module_swipable__MWZC4","to-top":"swipe-module_to-top__lrHfG","to-left":"swipe-module_to-left__kgLsE","to-right":"swipe-module_to-right__Xu3Ul","to-bottom":"swipe-module_to-bottom__94M7H","visible":"swipe-module_visible__---aC","swipe-block":"swipe-module_swipe-block__Yv1B3","move-top":"swipe-module_move-top__m6t2O","slideTop":"swipe-module_slideTop__-Bbap","move-left":"swipe-module_move-left__4TDLs","slideLeft":"swipe-module_slideLeft__i24cS","move-right":"swipe-module_move-right__FrYo0","slideRight":"swipe-module_slideRight__swgSY","move-bottom":"swipe-module_move-bottom__eYDx6","slideBottom":"swipe-module_slideBottom__TBoZo","back-top":"swipe-module_back-top__gJZv0","backTop":"swipe-module_backTop__32loc","back-left":"swipe-module_back-left__Wd3aY","backLeft":"swipe-module_backLeft__q89ub","back-right":"swipe-module_back-right__Lgwz7","backRight":"swipe-module_backRight__8t5Dm","back-bottom":"swipe-module_back-bottom__JRN-7","backBottom":"swipe-module_backBottom__lwR8B"};
|
|
8532
8534
|
styleInject(css_248z$2);
|
|
8533
8535
|
|
|
8534
8536
|
// import React, { useEffect, useRef } from 'react';
|
|
@@ -8632,7 +8634,7 @@ const handleNavigationChange = () => {
|
|
|
8632
8634
|
})(window.history);
|
|
8633
8635
|
const style = document.createElement('style');
|
|
8634
8636
|
function ResetTouchRemove(e) {
|
|
8635
|
-
if (e.target.closest('#
|
|
8637
|
+
if (e.target.closest('#swipable')) return;
|
|
8636
8638
|
e.preventDefault();
|
|
8637
8639
|
}
|
|
8638
8640
|
const swipe = {
|