@open-condo/ui 1.4.0 → 1.5.0
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/components/Modal/cross.d.ts +3 -0
- package/dist/components/Modal/cross.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +5 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/modal.d.ts +12 -0
- package/dist/components/Modal/modal.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4861 -530
- package/dist/styles.css +316 -0
- package/dist/styles.min.css +1 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -3044,6 +3044,322 @@ a.condo-typography.condo-typography-disabled:active,
|
|
|
3044
3044
|
pointer-events: none;
|
|
3045
3045
|
}
|
|
3046
3046
|
|
|
3047
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
3048
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
3049
|
+
/* stylelint-disable */
|
|
3050
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
3051
|
+
.condo-modal {
|
|
3052
|
+
box-sizing: border-box;
|
|
3053
|
+
margin: 0;
|
|
3054
|
+
padding: 0;
|
|
3055
|
+
color: rgba(0, 0, 0, 0.85);
|
|
3056
|
+
font-size: 14px;
|
|
3057
|
+
font-variant: tabular-nums;
|
|
3058
|
+
line-height: 1.5715;
|
|
3059
|
+
list-style: none;
|
|
3060
|
+
font-feature-settings: 'tnum', "tnum";
|
|
3061
|
+
pointer-events: none;
|
|
3062
|
+
position: relative;
|
|
3063
|
+
top: 100px;
|
|
3064
|
+
width: auto;
|
|
3065
|
+
max-width: calc(100vw - 32px);
|
|
3066
|
+
margin: 0 auto;
|
|
3067
|
+
padding-bottom: 24px;
|
|
3068
|
+
}
|
|
3069
|
+
.condo-modal.condo-zoom-enter,
|
|
3070
|
+
.condo-modal.condo-zoom-appear {
|
|
3071
|
+
transform: none;
|
|
3072
|
+
opacity: 0;
|
|
3073
|
+
-webkit-animation-duration: 0.3s;
|
|
3074
|
+
animation-duration: 0.3s;
|
|
3075
|
+
-webkit-user-select: none;
|
|
3076
|
+
-moz-user-select: none;
|
|
3077
|
+
-ms-user-select: none;
|
|
3078
|
+
user-select: none;
|
|
3079
|
+
}
|
|
3080
|
+
.condo-modal-mask {
|
|
3081
|
+
position: fixed;
|
|
3082
|
+
top: 0;
|
|
3083
|
+
right: 0;
|
|
3084
|
+
bottom: 0;
|
|
3085
|
+
left: 0;
|
|
3086
|
+
z-index: 1000;
|
|
3087
|
+
height: 100%;
|
|
3088
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
3089
|
+
}
|
|
3090
|
+
.condo-modal-mask-hidden {
|
|
3091
|
+
display: none;
|
|
3092
|
+
}
|
|
3093
|
+
.condo-modal-wrap {
|
|
3094
|
+
position: fixed;
|
|
3095
|
+
top: 0;
|
|
3096
|
+
right: 0;
|
|
3097
|
+
bottom: 0;
|
|
3098
|
+
left: 0;
|
|
3099
|
+
overflow: auto;
|
|
3100
|
+
outline: 0;
|
|
3101
|
+
}
|
|
3102
|
+
.condo-modal-wrap {
|
|
3103
|
+
z-index: 1000;
|
|
3104
|
+
}
|
|
3105
|
+
.condo-modal-title {
|
|
3106
|
+
margin: 0;
|
|
3107
|
+
color: rgba(0, 0, 0, 0.85);
|
|
3108
|
+
font-weight: 500;
|
|
3109
|
+
font-size: 16px;
|
|
3110
|
+
line-height: 22px;
|
|
3111
|
+
word-wrap: break-word;
|
|
3112
|
+
}
|
|
3113
|
+
.condo-modal-content {
|
|
3114
|
+
position: relative;
|
|
3115
|
+
background-color: #fff;
|
|
3116
|
+
background-clip: padding-box;
|
|
3117
|
+
border: 0;
|
|
3118
|
+
border-radius: 2px;
|
|
3119
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
3120
|
+
pointer-events: auto;
|
|
3121
|
+
}
|
|
3122
|
+
.condo-modal-close {
|
|
3123
|
+
position: absolute;
|
|
3124
|
+
top: 0;
|
|
3125
|
+
right: 0;
|
|
3126
|
+
z-index: 10;
|
|
3127
|
+
padding: 0;
|
|
3128
|
+
color: rgba(0, 0, 0, 0.45);
|
|
3129
|
+
font-weight: 700;
|
|
3130
|
+
line-height: 1;
|
|
3131
|
+
text-decoration: none;
|
|
3132
|
+
background: transparent;
|
|
3133
|
+
border: 0;
|
|
3134
|
+
outline: 0;
|
|
3135
|
+
cursor: pointer;
|
|
3136
|
+
transition: color 0.3s;
|
|
3137
|
+
}
|
|
3138
|
+
.condo-modal-close-x {
|
|
3139
|
+
display: block;
|
|
3140
|
+
width: 54px;
|
|
3141
|
+
height: 54px;
|
|
3142
|
+
font-size: 16px;
|
|
3143
|
+
font-style: normal;
|
|
3144
|
+
line-height: 54px;
|
|
3145
|
+
text-align: center;
|
|
3146
|
+
text-transform: none;
|
|
3147
|
+
text-rendering: auto;
|
|
3148
|
+
}
|
|
3149
|
+
.condo-modal-close:focus,
|
|
3150
|
+
.condo-modal-close:hover {
|
|
3151
|
+
color: rgba(0, 0, 0, 0.75);
|
|
3152
|
+
text-decoration: none;
|
|
3153
|
+
}
|
|
3154
|
+
.condo-modal-header {
|
|
3155
|
+
padding: 16px 24px;
|
|
3156
|
+
color: rgba(0, 0, 0, 0.85);
|
|
3157
|
+
background: #fff;
|
|
3158
|
+
border-bottom: 1px solid #f0f0f0;
|
|
3159
|
+
border-radius: 2px 2px 0 0;
|
|
3160
|
+
}
|
|
3161
|
+
.condo-modal-body {
|
|
3162
|
+
padding: 24px;
|
|
3163
|
+
font-size: 14px;
|
|
3164
|
+
line-height: 1.5715;
|
|
3165
|
+
word-wrap: break-word;
|
|
3166
|
+
}
|
|
3167
|
+
.condo-modal-footer {
|
|
3168
|
+
padding: 10px 16px;
|
|
3169
|
+
text-align: right;
|
|
3170
|
+
background: transparent;
|
|
3171
|
+
border-top: 1px solid #f0f0f0;
|
|
3172
|
+
border-radius: 0 0 2px 2px;
|
|
3173
|
+
}
|
|
3174
|
+
.condo-modal-footer .condo-btn + .condo-btn:not(.condo-dropdown-trigger) {
|
|
3175
|
+
margin-bottom: 0;
|
|
3176
|
+
margin-left: 8px;
|
|
3177
|
+
}
|
|
3178
|
+
.condo-modal-open {
|
|
3179
|
+
overflow: hidden;
|
|
3180
|
+
}
|
|
3181
|
+
.condo-modal-centered {
|
|
3182
|
+
text-align: center;
|
|
3183
|
+
}
|
|
3184
|
+
.condo-modal-centered::before {
|
|
3185
|
+
display: inline-block;
|
|
3186
|
+
width: 0;
|
|
3187
|
+
height: 100%;
|
|
3188
|
+
vertical-align: middle;
|
|
3189
|
+
content: '';
|
|
3190
|
+
}
|
|
3191
|
+
.condo-modal-centered .condo-modal {
|
|
3192
|
+
top: 0;
|
|
3193
|
+
display: inline-block;
|
|
3194
|
+
padding-bottom: 0;
|
|
3195
|
+
text-align: left;
|
|
3196
|
+
vertical-align: middle;
|
|
3197
|
+
}
|
|
3198
|
+
@media (max-width: 767px) {
|
|
3199
|
+
.condo-modal {
|
|
3200
|
+
max-width: calc(100vw - 16px);
|
|
3201
|
+
margin: 8px auto;
|
|
3202
|
+
}
|
|
3203
|
+
.condo-modal-centered .condo-modal {
|
|
3204
|
+
flex: 1;
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
.condo-modal-confirm .condo-modal-header {
|
|
3208
|
+
display: none;
|
|
3209
|
+
}
|
|
3210
|
+
.condo-modal-confirm .condo-modal-body {
|
|
3211
|
+
padding: 32px 32px 24px;
|
|
3212
|
+
}
|
|
3213
|
+
.condo-modal-confirm-body-wrapper::before {
|
|
3214
|
+
display: table;
|
|
3215
|
+
content: '';
|
|
3216
|
+
}
|
|
3217
|
+
.condo-modal-confirm-body-wrapper::after {
|
|
3218
|
+
display: table;
|
|
3219
|
+
clear: both;
|
|
3220
|
+
content: '';
|
|
3221
|
+
}
|
|
3222
|
+
.condo-modal-confirm-body .condo-modal-confirm-title {
|
|
3223
|
+
display: block;
|
|
3224
|
+
overflow: hidden;
|
|
3225
|
+
color: rgba(0, 0, 0, 0.85);
|
|
3226
|
+
font-weight: 500;
|
|
3227
|
+
font-size: 16px;
|
|
3228
|
+
line-height: 1.4;
|
|
3229
|
+
}
|
|
3230
|
+
.condo-modal-confirm-body .condo-modal-confirm-content {
|
|
3231
|
+
margin-top: 8px;
|
|
3232
|
+
color: rgba(0, 0, 0, 0.85);
|
|
3233
|
+
font-size: 14px;
|
|
3234
|
+
}
|
|
3235
|
+
.condo-modal-confirm-body > .anticon {
|
|
3236
|
+
float: left;
|
|
3237
|
+
margin-right: 16px;
|
|
3238
|
+
font-size: 22px;
|
|
3239
|
+
}
|
|
3240
|
+
.condo-modal-confirm-body > .anticon + .condo-modal-confirm-title + .condo-modal-confirm-content {
|
|
3241
|
+
margin-left: 38px;
|
|
3242
|
+
}
|
|
3243
|
+
.condo-modal-confirm .condo-modal-confirm-btns {
|
|
3244
|
+
margin-top: 24px;
|
|
3245
|
+
text-align: right;
|
|
3246
|
+
}
|
|
3247
|
+
.condo-modal-confirm .condo-modal-confirm-btns .condo-btn + .condo-btn {
|
|
3248
|
+
margin-bottom: 0;
|
|
3249
|
+
margin-left: 8px;
|
|
3250
|
+
}
|
|
3251
|
+
.condo-modal-confirm-error .condo-modal-confirm-body > .anticon {
|
|
3252
|
+
color: #ff4d4f;
|
|
3253
|
+
}
|
|
3254
|
+
.condo-modal-confirm-warning .condo-modal-confirm-body > .anticon,
|
|
3255
|
+
.condo-modal-confirm-confirm .condo-modal-confirm-body > .anticon {
|
|
3256
|
+
color: #faad14;
|
|
3257
|
+
}
|
|
3258
|
+
.condo-modal-confirm-info .condo-modal-confirm-body > .anticon {
|
|
3259
|
+
color: #1890ff;
|
|
3260
|
+
}
|
|
3261
|
+
.condo-modal-confirm-success .condo-modal-confirm-body > .anticon {
|
|
3262
|
+
color: #52c41a;
|
|
3263
|
+
}
|
|
3264
|
+
.condo-modal-confirm .condo-zoom-leave .condo-modal-confirm-btns {
|
|
3265
|
+
pointer-events: none;
|
|
3266
|
+
}
|
|
3267
|
+
.condo-modal-wrap-rtl {
|
|
3268
|
+
direction: rtl;
|
|
3269
|
+
}
|
|
3270
|
+
.condo-modal-wrap-rtl .condo-modal-close {
|
|
3271
|
+
right: auto;
|
|
3272
|
+
right: initial;
|
|
3273
|
+
left: 0;
|
|
3274
|
+
}
|
|
3275
|
+
.condo-modal-wrap-rtl .condo-modal-footer {
|
|
3276
|
+
text-align: left;
|
|
3277
|
+
}
|
|
3278
|
+
.condo-modal-wrap-rtl .condo-modal-footer .condo-btn + .condo-btn {
|
|
3279
|
+
margin-right: 8px;
|
|
3280
|
+
margin-left: 0;
|
|
3281
|
+
}
|
|
3282
|
+
.condo-modal-wrap-rtl .condo-modal-confirm-body {
|
|
3283
|
+
direction: rtl;
|
|
3284
|
+
}
|
|
3285
|
+
.condo-modal-wrap-rtl .condo-modal-confirm-body > .anticon {
|
|
3286
|
+
float: right;
|
|
3287
|
+
margin-right: 0;
|
|
3288
|
+
margin-left: 16px;
|
|
3289
|
+
}
|
|
3290
|
+
.condo-modal-wrap-rtl .condo-modal-confirm-body > .anticon + .condo-modal-confirm-title + .condo-modal-confirm-content {
|
|
3291
|
+
margin-right: 38px;
|
|
3292
|
+
margin-left: 0;
|
|
3293
|
+
}
|
|
3294
|
+
.condo-modal-wrap-rtl .condo-modal-confirm-btns {
|
|
3295
|
+
text-align: left;
|
|
3296
|
+
}
|
|
3297
|
+
.condo-modal-wrap-rtl .condo-modal-confirm-btns .condo-btn + .condo-btn {
|
|
3298
|
+
margin-right: 8px;
|
|
3299
|
+
margin-left: 0;
|
|
3300
|
+
}
|
|
3301
|
+
.condo-modal-wrap-rtl.condo-modal-centered .condo-modal {
|
|
3302
|
+
text-align: right;
|
|
3303
|
+
}
|
|
3304
|
+
.condo-modal-root .condo-modal-mask {
|
|
3305
|
+
background-color: #707695;
|
|
3306
|
+
opacity: 0.5;
|
|
3307
|
+
}
|
|
3308
|
+
.condo-modal-root .condo-modal {
|
|
3309
|
+
max-width: calc(100vw - 40px * 2);
|
|
3310
|
+
margin: 40px 0;
|
|
3311
|
+
}
|
|
3312
|
+
.condo-modal-root .condo-modal .condo-modal-header {
|
|
3313
|
+
flex-shrink: 0;
|
|
3314
|
+
padding: 40px 104px 19px 40px;
|
|
3315
|
+
border-bottom: 1px solid transparent;
|
|
3316
|
+
transition: border-bottom-color 0.15s;
|
|
3317
|
+
}
|
|
3318
|
+
.condo-modal-root .condo-modal.condo-modal-scrolling .condo-modal-header {
|
|
3319
|
+
border-bottom-color: #e1e5ed;
|
|
3320
|
+
}
|
|
3321
|
+
.condo-modal-root .condo-modal .condo-modal-close {
|
|
3322
|
+
top: 42px;
|
|
3323
|
+
right: 40px;
|
|
3324
|
+
}
|
|
3325
|
+
.condo-modal-root .condo-modal .condo-modal-close .condo-modal-close-x {
|
|
3326
|
+
display: flex;
|
|
3327
|
+
align-items: center;
|
|
3328
|
+
justify-content: center;
|
|
3329
|
+
width: 24px;
|
|
3330
|
+
height: 24px;
|
|
3331
|
+
line-height: 24px;
|
|
3332
|
+
}
|
|
3333
|
+
.condo-modal-root .condo-modal .condo-modal-close .condo-modal-close-x div {
|
|
3334
|
+
width: 24px;
|
|
3335
|
+
height: 24px;
|
|
3336
|
+
}
|
|
3337
|
+
.condo-modal-root .condo-modal .condo-modal-content {
|
|
3338
|
+
display: flex;
|
|
3339
|
+
flex-direction: column;
|
|
3340
|
+
max-height: calc(100vh - (40px * 2));
|
|
3341
|
+
padding: 0;
|
|
3342
|
+
overflow: hidden;
|
|
3343
|
+
border-radius: 12px;
|
|
3344
|
+
}
|
|
3345
|
+
.condo-modal-root .condo-modal .condo-modal-body {
|
|
3346
|
+
margin: 0 40px;
|
|
3347
|
+
padding: 20px 0 40px;
|
|
3348
|
+
overflow: auto;
|
|
3349
|
+
}
|
|
3350
|
+
.condo-modal-root .condo-modal .condo-modal-body .condo-modal-wrapper {
|
|
3351
|
+
width: -webkit-fit-content;
|
|
3352
|
+
width: -moz-fit-content;
|
|
3353
|
+
width: fit-content;
|
|
3354
|
+
}
|
|
3355
|
+
.condo-modal-root .condo-modal .condo-modal-footer {
|
|
3356
|
+
padding: 19px 40px 20px;
|
|
3357
|
+
border-top: 1px solid #e1e5ed;
|
|
3358
|
+
}
|
|
3359
|
+
.condo-modal-root .condo-modal .condo-modal-footer .condo-btn + .condo-btn:not(.condo-dropdown-trigger):not(:first-child) {
|
|
3360
|
+
margin-left: 0;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3047
3363
|
.condo-markdown h1:not(:first-child),
|
|
3048
3364
|
.condo-markdown h2:not(:first-child),
|
|
3049
3365
|
.condo-markdown h3:not(:first-child),
|