@xaypay/tui 0.0.96 → 0.0.97
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 +3 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/components/modal/index.js +3 -1
- package/tui.config.js +1 -0
package/dist/index.es.js
CHANGED
|
@@ -457,6 +457,7 @@ const Modal = ({
|
|
|
457
457
|
headerColor,
|
|
458
458
|
borderStyle,
|
|
459
459
|
borderWidth,
|
|
460
|
+
borderColor,
|
|
460
461
|
outsideClose,
|
|
461
462
|
headerWeight,
|
|
462
463
|
headerHeight,
|
|
@@ -611,7 +612,8 @@ const Modal = ({
|
|
|
611
612
|
justifyContent: 'center',
|
|
612
613
|
overflow: 'auto',
|
|
613
614
|
borderWidth: borderWidth ? borderWidth : configStyles.MODAL.borderWidth,
|
|
614
|
-
borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle
|
|
615
|
+
borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle,
|
|
616
|
+
borderColor: borderColor ? borderColor : configStyles.MODAL.borderColor
|
|
615
617
|
}
|
|
616
618
|
}, type === 'content' ? children ? children : '' : /*#__PURE__*/React__default.createElement("div", {
|
|
617
619
|
style: {
|
package/dist/index.js
CHANGED
|
@@ -487,6 +487,7 @@ const Modal = ({
|
|
|
487
487
|
headerColor,
|
|
488
488
|
borderStyle,
|
|
489
489
|
borderWidth,
|
|
490
|
+
borderColor,
|
|
490
491
|
outsideClose,
|
|
491
492
|
headerWeight,
|
|
492
493
|
headerHeight,
|
|
@@ -641,7 +642,8 @@ const Modal = ({
|
|
|
641
642
|
justifyContent: 'center',
|
|
642
643
|
overflow: 'auto',
|
|
643
644
|
borderWidth: borderWidth ? borderWidth : configStyles.MODAL.borderWidth,
|
|
644
|
-
borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle
|
|
645
|
+
borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle,
|
|
646
|
+
borderColor: borderColor ? borderColor : configStyles.MODAL.borderColor
|
|
645
647
|
}
|
|
646
648
|
}, type === 'content' ? children ? children : '' : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
647
649
|
style: {
|
package/package.json
CHANGED
|
@@ -33,6 +33,7 @@ export const Modal = ({
|
|
|
33
33
|
headerColor,
|
|
34
34
|
borderStyle,
|
|
35
35
|
borderWidth,
|
|
36
|
+
borderColor,
|
|
36
37
|
outsideClose,
|
|
37
38
|
headerWeight,
|
|
38
39
|
headerHeight,
|
|
@@ -216,7 +217,8 @@ export const Modal = ({
|
|
|
216
217
|
justifyContent: 'center',
|
|
217
218
|
overflow: 'auto',
|
|
218
219
|
borderWidth: borderWidth ? borderWidth : configStyles.MODAL.borderWidth,
|
|
219
|
-
borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle
|
|
220
|
+
borderStyle: borderStyle ? borderStyle : configStyles.MODAL.borderStyle,
|
|
221
|
+
borderColor: borderColor ? borderColor : configStyles.MODAL.borderColor,
|
|
220
222
|
}}
|
|
221
223
|
>
|
|
222
224
|
{
|
package/tui.config.js
CHANGED
|
@@ -397,6 +397,7 @@ module.exports = {
|
|
|
397
397
|
layerBackgroundColor: 'rgba(0,0,0,0.4)', // for modal parent layer background color
|
|
398
398
|
borderWidth: '20px', // for modal padding from border transparent
|
|
399
399
|
borderStyle: 'solid', // for modal border style
|
|
400
|
+
borderColor: 'transparent', // for modal border color
|
|
400
401
|
},
|
|
401
402
|
// default properties for <Table /> component
|
|
402
403
|
TABLE: {
|