@teamturing/react-kit 2.32.8 → 2.32.9
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.js +4 -4
- package/esm/core/Dialog/index.js +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -18989,13 +18989,13 @@ const Dialog = ({
|
|
|
18989
18989
|
tabIndex: -1,
|
|
18990
18990
|
sx: {
|
|
18991
18991
|
...(size === 's' ? {
|
|
18992
|
-
maxHeight: 'calc(
|
|
18992
|
+
maxHeight: 'calc(100dvh - 64px)',
|
|
18993
18993
|
width: ['calc(100% - 64px)', 400, 400],
|
|
18994
18994
|
marginX: 'auto',
|
|
18995
18995
|
marginY: 'auto',
|
|
18996
18996
|
borderRadius: 'l'
|
|
18997
18997
|
} : size === 'm' ? {
|
|
18998
|
-
maxHeight: ['100%', '100%', 'calc(
|
|
18998
|
+
maxHeight: ['100%', '100%', 'calc(100dvh - 64px)'],
|
|
18999
18999
|
height: ['100%', '100%', 'auto'],
|
|
19000
19000
|
minHeight: ['-webkit-fill-available', '-webkit-fill-available', 'auto'],
|
|
19001
19001
|
width: ['100%', '100%', 640],
|
|
@@ -19003,7 +19003,7 @@ const Dialog = ({
|
|
|
19003
19003
|
marginY: 'auto',
|
|
19004
19004
|
borderRadius: ['none', 'none', 'l']
|
|
19005
19005
|
} : size === 'l' ? {
|
|
19006
|
-
maxHeight: ['100%', '100%', 'calc(
|
|
19006
|
+
maxHeight: ['100%', '100%', 'calc(100dvh - 64px)'],
|
|
19007
19007
|
height: ['100%', '100%', 'auto'],
|
|
19008
19008
|
minHeight: ['-webkit-fill-available', '-webkit-fill-available', 'auto'],
|
|
19009
19009
|
width: ['100%', '100%', 860],
|
|
@@ -19011,7 +19011,7 @@ const Dialog = ({
|
|
|
19011
19011
|
marginY: 'auto',
|
|
19012
19012
|
borderRadius: ['none', 'none', 'l']
|
|
19013
19013
|
} : size === 'full' ? {
|
|
19014
|
-
height: ['100%', '100%', 'calc(
|
|
19014
|
+
height: ['100%', '100%', 'calc(100dvh - 40px)'],
|
|
19015
19015
|
width: ['100%', '100%', 'calc(100vw - 40px)'],
|
|
19016
19016
|
marginX: [0, 0, 'auto'],
|
|
19017
19017
|
marginY: 'auto',
|
package/esm/core/Dialog/index.js
CHANGED
|
@@ -74,13 +74,13 @@ const Dialog = ({
|
|
|
74
74
|
tabIndex: -1,
|
|
75
75
|
sx: {
|
|
76
76
|
...(size === 's' ? {
|
|
77
|
-
maxHeight: 'calc(
|
|
77
|
+
maxHeight: 'calc(100dvh - 64px)',
|
|
78
78
|
width: ['calc(100% - 64px)', 400, 400],
|
|
79
79
|
marginX: 'auto',
|
|
80
80
|
marginY: 'auto',
|
|
81
81
|
borderRadius: 'l'
|
|
82
82
|
} : size === 'm' ? {
|
|
83
|
-
maxHeight: ['100%', '100%', 'calc(
|
|
83
|
+
maxHeight: ['100%', '100%', 'calc(100dvh - 64px)'],
|
|
84
84
|
height: ['100%', '100%', 'auto'],
|
|
85
85
|
minHeight: ['-webkit-fill-available', '-webkit-fill-available', 'auto'],
|
|
86
86
|
width: ['100%', '100%', 640],
|
|
@@ -88,7 +88,7 @@ const Dialog = ({
|
|
|
88
88
|
marginY: 'auto',
|
|
89
89
|
borderRadius: ['none', 'none', 'l']
|
|
90
90
|
} : size === 'l' ? {
|
|
91
|
-
maxHeight: ['100%', '100%', 'calc(
|
|
91
|
+
maxHeight: ['100%', '100%', 'calc(100dvh - 64px)'],
|
|
92
92
|
height: ['100%', '100%', 'auto'],
|
|
93
93
|
minHeight: ['-webkit-fill-available', '-webkit-fill-available', 'auto'],
|
|
94
94
|
width: ['100%', '100%', 860],
|
|
@@ -96,7 +96,7 @@ const Dialog = ({
|
|
|
96
96
|
marginY: 'auto',
|
|
97
97
|
borderRadius: ['none', 'none', 'l']
|
|
98
98
|
} : size === 'full' ? {
|
|
99
|
-
height: ['100%', '100%', 'calc(
|
|
99
|
+
height: ['100%', '100%', 'calc(100dvh - 40px)'],
|
|
100
100
|
width: ['100%', '100%', 'calc(100vw - 40px)'],
|
|
101
101
|
marginX: [0, 0, 'auto'],
|
|
102
102
|
marginY: 'auto',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.9",
|
|
4
4
|
"description": "React components, hooks for create teamturing web application",
|
|
5
5
|
"author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
|
|
6
6
|
"homepage": "https://github.com/weareteamturing/bombe#readme",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react-textarea-autosize": "^8.5.3",
|
|
67
67
|
"styled-system": "^5.1.5"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "d5e827ad3c107cd1e10693c0b5887da2ea4cba18"
|
|
70
70
|
}
|