rsuite 5.55.1 → 5.56.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/AutoComplete/styles/index.css +3 -3
- package/CHANGELOG.md +17 -0
- package/Cascader/styles/index.css +3 -3
- package/CheckPicker/styles/index.css +142 -40
- package/CheckPicker/styles/index.less +1 -1
- package/CheckTree/styles/index.css +143 -41
- package/CheckTreePicker/styles/index.css +143 -41
- package/CheckTreePicker/styles/index.less +2 -2
- package/Checkbox/styles/index.css +159 -36
- package/Checkbox/styles/index.less +32 -13
- package/DatePicker/styles/index.css +3 -3
- package/DateRangePicker/styles/index.css +3 -3
- package/InputPicker/styles/index.css +3 -3
- package/MultiCascader/styles/index.css +141 -39
- package/Pagination/styles/index.css +3 -3
- package/Radio/styles/index.css +133 -19
- package/Radio/styles/index.less +28 -12
- package/RadioGroup/styles/index.css +1 -1
- package/RadioGroup/styles/index.less +1 -1
- package/SelectPicker/styles/index.css +3 -3
- package/TagGroup/styles/index.css +1 -1
- package/TagGroup/styles/index.less +1 -1
- package/TagInput/styles/index.css +141 -39
- package/TagPicker/styles/index.css +141 -39
- package/cjs/Checkbox/Checkbox.d.ts +67 -25
- package/cjs/Checkbox/Checkbox.js +36 -26
- package/cjs/InputPicker/InputPicker.js +2 -2
- package/cjs/InputPicker/InputPickerContext.d.ts +1 -1
- package/cjs/MultiCascader/TreeView.js +2 -1
- package/cjs/Radio/Radio.d.ts +42 -16
- package/cjs/Radio/Radio.js +42 -37
- package/cjs/RadioGroup/RadioGroup.d.ts +1 -1
- package/cjs/RadioGroup/RadioGroup.js +3 -3
- package/cjs/TagPicker/index.js +1 -1
- package/cjs/internals/Picker/ListCheckItem.d.ts +2 -11
- package/cjs/internals/Picker/ListCheckItem.js +8 -6
- package/dist/rsuite-no-reset-rtl.css +258 -63
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +258 -63
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +258 -63
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +258 -63
- package/dist/rsuite.js +7 -7
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/Checkbox/Checkbox.d.ts +67 -25
- package/esm/Checkbox/Checkbox.js +38 -28
- package/esm/InputPicker/InputPicker.js +2 -2
- package/esm/InputPicker/InputPickerContext.d.ts +1 -1
- package/esm/MultiCascader/TreeView.js +2 -1
- package/esm/Radio/Radio.d.ts +42 -16
- package/esm/Radio/Radio.js +43 -38
- package/esm/RadioGroup/RadioGroup.d.ts +1 -1
- package/esm/RadioGroup/RadioGroup.js +5 -5
- package/esm/TagPicker/index.js +1 -1
- package/esm/internals/Picker/ListCheckItem.d.ts +2 -11
- package/esm/internals/Picker/ListCheckItem.js +8 -6
- package/internals/Picker/styles/index.less +1 -1
- package/package.json +1 -1
|
@@ -3188,11 +3188,11 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3188
3188
|
.rs-picker-check-menu-group-children .rs-check-item .rs-checkbox-checker > label {
|
|
3189
3189
|
padding-left: 52px;
|
|
3190
3190
|
}
|
|
3191
|
-
.rs-check-item .rs-checkbox-checker .rs-checkbox-
|
|
3191
|
+
.rs-check-item .rs-checkbox-checker .rs-checkbox-control {
|
|
3192
3192
|
left: 12px;
|
|
3193
3193
|
}
|
|
3194
|
-
.grouped .rs-check-item .rs-checkbox-checker .rs-checkbox-
|
|
3195
|
-
.rs-picker-check-menu-group-children .rs-check-item .rs-checkbox-checker .rs-checkbox-
|
|
3194
|
+
.grouped .rs-check-item .rs-checkbox-checker .rs-checkbox-control,
|
|
3195
|
+
.rs-picker-check-menu-group-children .rs-check-item .rs-checkbox-checker .rs-checkbox-control {
|
|
3196
3196
|
left: 26px;
|
|
3197
3197
|
}
|
|
3198
3198
|
.rs-checkbox {
|
|
@@ -3247,17 +3247,16 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3247
3247
|
position: relative;
|
|
3248
3248
|
}
|
|
3249
3249
|
/* rtl:begin:ignore */
|
|
3250
|
-
.rs-checkbox-
|
|
3251
|
-
.rs-checkbox-
|
|
3252
|
-
.rs-checkbox-
|
|
3253
|
-
.rs-checkbox-wrapper .rs-checkbox-inner::after {
|
|
3250
|
+
.rs-checkbox-control::before,
|
|
3251
|
+
.rs-checkbox-control .rs-checkbox-inner::before,
|
|
3252
|
+
.rs-checkbox-control .rs-checkbox-inner::after {
|
|
3254
3253
|
content: '';
|
|
3255
3254
|
position: absolute;
|
|
3256
3255
|
left: 0;
|
|
3257
3256
|
top: 0;
|
|
3258
3257
|
display: block;
|
|
3259
3258
|
}
|
|
3260
|
-
.rs-checkbox-
|
|
3259
|
+
.rs-checkbox-control .rs-checkbox-inner::after {
|
|
3261
3260
|
opacity: 0;
|
|
3262
3261
|
-webkit-transform: rotate(45deg) scale(0);
|
|
3263
3262
|
transform: rotate(45deg) scale(0);
|
|
@@ -3266,12 +3265,12 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3266
3265
|
transition: opacity 0.2s ease-in, transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
3267
3266
|
transition: opacity 0.2s ease-in, transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46), -webkit-transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
3268
3267
|
}
|
|
3269
|
-
.rs-theme-high-contrast .rs-checkbox-
|
|
3268
|
+
.rs-theme-high-contrast .rs-checkbox-control .rs-checkbox-inner::after {
|
|
3270
3269
|
-webkit-transition: none;
|
|
3271
3270
|
transition: none;
|
|
3272
3271
|
}
|
|
3273
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
3274
|
-
.rs-checkbox-indeterminate .rs-checkbox-
|
|
3272
|
+
.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::after,
|
|
3273
|
+
.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::after {
|
|
3275
3274
|
border: solid #fff;
|
|
3276
3275
|
border: solid var(--rs-checkbox-icon);
|
|
3277
3276
|
width: 6px;
|
|
@@ -3280,12 +3279,12 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3280
3279
|
margin-left: 5px;
|
|
3281
3280
|
opacity: 1;
|
|
3282
3281
|
}
|
|
3283
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
3282
|
+
.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::after {
|
|
3284
3283
|
border-width: 0 2px 2px 0;
|
|
3285
3284
|
-webkit-transform: rotate(45deg) scale(1);
|
|
3286
3285
|
transform: rotate(45deg) scale(1);
|
|
3287
3286
|
}
|
|
3288
|
-
.rs-checkbox-indeterminate .rs-checkbox-
|
|
3287
|
+
.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::after {
|
|
3289
3288
|
border-width: 0 0 2px;
|
|
3290
3289
|
-webkit-transform: rotate(0deg) scale(1);
|
|
3291
3290
|
transform: rotate(0deg) scale(1);
|
|
@@ -3295,7 +3294,7 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3295
3294
|
}
|
|
3296
3295
|
/* rtl:end:ignore */
|
|
3297
3296
|
/* stylelint-disable-next-line */
|
|
3298
|
-
.rs-checkbox-
|
|
3297
|
+
.rs-checkbox-control {
|
|
3299
3298
|
position: absolute;
|
|
3300
3299
|
width: 16px;
|
|
3301
3300
|
height: 16px;
|
|
@@ -3303,18 +3302,22 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3303
3302
|
left: 10px;
|
|
3304
3303
|
top: 10px;
|
|
3305
3304
|
}
|
|
3306
|
-
.rs-checkbox-
|
|
3307
|
-
|
|
3308
|
-
height: 0;
|
|
3305
|
+
.rs-checkbox-control [type='checkbox'] {
|
|
3306
|
+
position: absolute;
|
|
3309
3307
|
opacity: 0;
|
|
3308
|
+
z-index: 1;
|
|
3309
|
+
top: -10px;
|
|
3310
|
+
right: -10px;
|
|
3311
|
+
bottom: -10px;
|
|
3312
|
+
left: -10px;
|
|
3310
3313
|
}
|
|
3311
|
-
.rs-checkbox-
|
|
3312
|
-
.rs-checkbox-
|
|
3313
|
-
.rs-checkbox-
|
|
3314
|
+
.rs-checkbox-control::before,
|
|
3315
|
+
.rs-checkbox-control .rs-checkbox-inner::before,
|
|
3316
|
+
.rs-checkbox-control .rs-checkbox-inner::after {
|
|
3314
3317
|
width: 16px;
|
|
3315
3318
|
height: 16px;
|
|
3316
3319
|
}
|
|
3317
|
-
.rs-checkbox-
|
|
3320
|
+
.rs-checkbox-control::before {
|
|
3318
3321
|
border: 1px solid #3498ff;
|
|
3319
3322
|
border: 1px solid var(--rs-checkbox-checked-bg);
|
|
3320
3323
|
background-color: transparent;
|
|
@@ -3328,23 +3331,17 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3328
3331
|
transition: transform 0.2s linear, opacity 0.2s linear;
|
|
3329
3332
|
transition: transform 0.2s linear, opacity 0.2s linear, -webkit-transform 0.2s linear;
|
|
3330
3333
|
}
|
|
3331
|
-
.rs-theme-high-contrast .rs-checkbox-
|
|
3334
|
+
.rs-theme-high-contrast .rs-checkbox-control::before {
|
|
3332
3335
|
-webkit-transition: none;
|
|
3333
3336
|
transition: none;
|
|
3334
3337
|
}
|
|
3335
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
3338
|
+
.rs-checkbox-checked .rs-checkbox-control::before {
|
|
3336
3339
|
-webkit-transform: scale(1.5);
|
|
3337
3340
|
transform: scale(1.5);
|
|
3338
3341
|
opacity: 0;
|
|
3339
3342
|
visibility: visible;
|
|
3340
3343
|
}
|
|
3341
|
-
.rs-checkbox-
|
|
3342
|
-
top: -10px;
|
|
3343
|
-
right: -10px;
|
|
3344
|
-
bottom: -10px;
|
|
3345
|
-
left: -10px;
|
|
3346
|
-
}
|
|
3347
|
-
.rs-checkbox-wrapper .rs-checkbox-inner::before {
|
|
3344
|
+
.rs-checkbox-control .rs-checkbox-inner::before {
|
|
3348
3345
|
border: 1px solid #d9d9d9;
|
|
3349
3346
|
border: 1px solid var(--rs-checkbox-border);
|
|
3350
3347
|
background-color: transparent;
|
|
@@ -3354,35 +3351,140 @@ textarea.rs-input-group-inside.rs-input-group-xs > .rs-input-group-btn {
|
|
|
3354
3351
|
transition: background 0.2s linear, border 0.2s linear, box-shadow 0.2s linear;
|
|
3355
3352
|
transition: background 0.2s linear, border 0.2s linear, box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
|
|
3356
3353
|
}
|
|
3357
|
-
.rs-theme-high-contrast .rs-checkbox-
|
|
3354
|
+
.rs-theme-high-contrast .rs-checkbox-control .rs-checkbox-inner::before {
|
|
3358
3355
|
-webkit-transition: none;
|
|
3359
3356
|
transition: none;
|
|
3360
3357
|
}
|
|
3361
|
-
label:hover .rs-checkbox-
|
|
3358
|
+
label:hover .rs-checkbox-control .rs-checkbox-inner::before {
|
|
3362
3359
|
border-color: #3498ff;
|
|
3363
3360
|
border-color: var(--rs-checkbox-checked-bg);
|
|
3364
3361
|
}
|
|
3365
|
-
.rs-checkbox-disabled:not(.rs-checkbox-checked):not(.rs-checkbox-indeterminate) .rs-checkbox-
|
|
3362
|
+
.rs-checkbox-disabled:not(.rs-checkbox-checked):not(.rs-checkbox-indeterminate) .rs-checkbox-control .rs-checkbox-inner::before {
|
|
3366
3363
|
border-color: #f7f7fa;
|
|
3367
3364
|
border-color: var(--rs-checkbox-disabled-bg);
|
|
3368
3365
|
background-color: #f7f7fa;
|
|
3369
3366
|
background-color: var(--rs-checkbox-disabled-bg);
|
|
3370
3367
|
}
|
|
3371
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
3372
|
-
.rs-checkbox-indeterminate .rs-checkbox-
|
|
3368
|
+
.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::before,
|
|
3369
|
+
.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::before {
|
|
3373
3370
|
border-color: #3498ff;
|
|
3374
3371
|
border-color: var(--rs-checkbox-checked-bg);
|
|
3375
3372
|
background-color: #3498ff;
|
|
3376
3373
|
background-color: var(--rs-checkbox-checked-bg);
|
|
3377
3374
|
}
|
|
3378
|
-
.rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-
|
|
3379
|
-
.rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-
|
|
3375
|
+
.rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::before,
|
|
3376
|
+
.rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::before {
|
|
3380
3377
|
opacity: 0.3;
|
|
3381
3378
|
}
|
|
3382
|
-
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-
|
|
3383
|
-
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-
|
|
3379
|
+
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::before,
|
|
3380
|
+
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::before {
|
|
3384
3381
|
opacity: 0.5;
|
|
3385
3382
|
}
|
|
3383
|
+
.rs-checkbox-red .rs-checkbox-control::before {
|
|
3384
|
+
border-color: #f44336;
|
|
3385
|
+
border-color: var(--rs-red-500);
|
|
3386
|
+
}
|
|
3387
|
+
.rs-checkbox-red label:hover .rs-checkbox-inner::before {
|
|
3388
|
+
border-color: #f44336;
|
|
3389
|
+
border-color: var(--rs-red-500);
|
|
3390
|
+
}
|
|
3391
|
+
.rs-checkbox-red.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3392
|
+
.rs-checkbox-red.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3393
|
+
border-color: #f44336;
|
|
3394
|
+
border-color: var(--rs-red-500);
|
|
3395
|
+
background-color: #f44336;
|
|
3396
|
+
background-color: var(--rs-red-500);
|
|
3397
|
+
}
|
|
3398
|
+
.rs-checkbox-orange .rs-checkbox-control::before {
|
|
3399
|
+
border-color: #fa8900;
|
|
3400
|
+
border-color: var(--rs-orange-500);
|
|
3401
|
+
}
|
|
3402
|
+
.rs-checkbox-orange label:hover .rs-checkbox-inner::before {
|
|
3403
|
+
border-color: #fa8900;
|
|
3404
|
+
border-color: var(--rs-orange-500);
|
|
3405
|
+
}
|
|
3406
|
+
.rs-checkbox-orange.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3407
|
+
.rs-checkbox-orange.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3408
|
+
border-color: #fa8900;
|
|
3409
|
+
border-color: var(--rs-orange-500);
|
|
3410
|
+
background-color: #fa8900;
|
|
3411
|
+
background-color: var(--rs-orange-500);
|
|
3412
|
+
}
|
|
3413
|
+
.rs-checkbox-yellow .rs-checkbox-control::before {
|
|
3414
|
+
border-color: #ffb300;
|
|
3415
|
+
border-color: var(--rs-yellow-500);
|
|
3416
|
+
}
|
|
3417
|
+
.rs-checkbox-yellow label:hover .rs-checkbox-inner::before {
|
|
3418
|
+
border-color: #ffb300;
|
|
3419
|
+
border-color: var(--rs-yellow-500);
|
|
3420
|
+
}
|
|
3421
|
+
.rs-checkbox-yellow.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3422
|
+
.rs-checkbox-yellow.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3423
|
+
border-color: #ffb300;
|
|
3424
|
+
border-color: var(--rs-yellow-500);
|
|
3425
|
+
background-color: #ffb300;
|
|
3426
|
+
background-color: var(--rs-yellow-500);
|
|
3427
|
+
}
|
|
3428
|
+
.rs-checkbox-green .rs-checkbox-control::before {
|
|
3429
|
+
border-color: #4caf50;
|
|
3430
|
+
border-color: var(--rs-green-500);
|
|
3431
|
+
}
|
|
3432
|
+
.rs-checkbox-green label:hover .rs-checkbox-inner::before {
|
|
3433
|
+
border-color: #4caf50;
|
|
3434
|
+
border-color: var(--rs-green-500);
|
|
3435
|
+
}
|
|
3436
|
+
.rs-checkbox-green.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3437
|
+
.rs-checkbox-green.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3438
|
+
border-color: #4caf50;
|
|
3439
|
+
border-color: var(--rs-green-500);
|
|
3440
|
+
background-color: #4caf50;
|
|
3441
|
+
background-color: var(--rs-green-500);
|
|
3442
|
+
}
|
|
3443
|
+
.rs-checkbox-cyan .rs-checkbox-control::before {
|
|
3444
|
+
border-color: #00bcd4;
|
|
3445
|
+
border-color: var(--rs-cyan-500);
|
|
3446
|
+
}
|
|
3447
|
+
.rs-checkbox-cyan label:hover .rs-checkbox-inner::before {
|
|
3448
|
+
border-color: #00bcd4;
|
|
3449
|
+
border-color: var(--rs-cyan-500);
|
|
3450
|
+
}
|
|
3451
|
+
.rs-checkbox-cyan.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3452
|
+
.rs-checkbox-cyan.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3453
|
+
border-color: #00bcd4;
|
|
3454
|
+
border-color: var(--rs-cyan-500);
|
|
3455
|
+
background-color: #00bcd4;
|
|
3456
|
+
background-color: var(--rs-cyan-500);
|
|
3457
|
+
}
|
|
3458
|
+
.rs-checkbox-blue .rs-checkbox-control::before {
|
|
3459
|
+
border-color: #2196f3;
|
|
3460
|
+
border-color: var(--rs-blue-500);
|
|
3461
|
+
}
|
|
3462
|
+
.rs-checkbox-blue label:hover .rs-checkbox-inner::before {
|
|
3463
|
+
border-color: #2196f3;
|
|
3464
|
+
border-color: var(--rs-blue-500);
|
|
3465
|
+
}
|
|
3466
|
+
.rs-checkbox-blue.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3467
|
+
.rs-checkbox-blue.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3468
|
+
border-color: #2196f3;
|
|
3469
|
+
border-color: var(--rs-blue-500);
|
|
3470
|
+
background-color: #2196f3;
|
|
3471
|
+
background-color: var(--rs-blue-500);
|
|
3472
|
+
}
|
|
3473
|
+
.rs-checkbox-violet .rs-checkbox-control::before {
|
|
3474
|
+
border-color: #673ab7;
|
|
3475
|
+
border-color: var(--rs-violet-500);
|
|
3476
|
+
}
|
|
3477
|
+
.rs-checkbox-violet label:hover .rs-checkbox-inner::before {
|
|
3478
|
+
border-color: #673ab7;
|
|
3479
|
+
border-color: var(--rs-violet-500);
|
|
3480
|
+
}
|
|
3481
|
+
.rs-checkbox-violet.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
3482
|
+
.rs-checkbox-violet.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
3483
|
+
border-color: #673ab7;
|
|
3484
|
+
border-color: var(--rs-violet-500);
|
|
3485
|
+
background-color: #673ab7;
|
|
3486
|
+
background-color: var(--rs-violet-500);
|
|
3487
|
+
}
|
|
3386
3488
|
.rs-check-tree {
|
|
3387
3489
|
max-height: 360px;
|
|
3388
3490
|
height: 100%;
|
|
@@ -3400,7 +3502,7 @@ label:hover .rs-checkbox-wrapper .rs-checkbox-inner::before {
|
|
|
3400
3502
|
margin: 0;
|
|
3401
3503
|
padding: 1px 0 1px 42px;
|
|
3402
3504
|
}
|
|
3403
|
-
.rs-check-tree .rs-check-tree-node-label .rs-check-item .rs-checkbox-checker .rs-checkbox-
|
|
3505
|
+
.rs-check-tree .rs-check-tree-node-label .rs-check-item .rs-checkbox-checker .rs-checkbox-control {
|
|
3404
3506
|
left: 20px;
|
|
3405
3507
|
}
|
|
3406
3508
|
.rs-check-tree .rs-check-tree-node-label .rs-check-item .rs-checkbox-checker .rs-check-tree-node-label-content {
|
|
@@ -3421,7 +3523,7 @@ label:hover .rs-checkbox-wrapper .rs-checkbox-inner::before {
|
|
|
3421
3523
|
width: 28px;
|
|
3422
3524
|
margin-left: -34px;
|
|
3423
3525
|
}
|
|
3424
|
-
.rs-check-tree-without-children .rs-check-item .rs-checkbox-checker .rs-checkbox-
|
|
3526
|
+
.rs-check-tree-without-children .rs-check-item .rs-checkbox-checker .rs-checkbox-control {
|
|
3425
3527
|
left: 0;
|
|
3426
3528
|
}
|
|
3427
3529
|
.rs-check-tree-node {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
padding: 1px 0 1px 42px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.rs-checkbox-
|
|
28
|
+
.rs-checkbox-control {
|
|
29
29
|
left: (@checkbox-sense-width + 10px);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.rs-checkbox-
|
|
57
|
+
.rs-checkbox-control {
|
|
58
58
|
left: 0;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
--rs-gray-800: #575757;
|
|
10
10
|
--rs-gray-900: #272c36;
|
|
11
11
|
--rs-primary-500: #3498ff;
|
|
12
|
+
--rs-red-500: #f44336;
|
|
13
|
+
--rs-orange-500: #fa8900;
|
|
14
|
+
--rs-yellow-500: #ffb300;
|
|
15
|
+
--rs-green-500: #4caf50;
|
|
16
|
+
--rs-cyan-500: #00bcd4;
|
|
17
|
+
--rs-blue-500: #2196f3;
|
|
18
|
+
--rs-violet-500: #673ab7;
|
|
12
19
|
--rs-text-disabled: var(--rs-gray-400);
|
|
13
20
|
--rs-state-focus-shadow: 0 0 0 3px rgb(from var(--rs-primary-500) r g b / 25%);
|
|
14
21
|
--rs-checkbox-icon: #fff;
|
|
@@ -32,6 +39,13 @@
|
|
|
32
39
|
--rs-gray-800: #1a1d24;
|
|
33
40
|
--rs-gray-900: #0f131a;
|
|
34
41
|
--rs-primary-500: #34c3ff;
|
|
42
|
+
--rs-red-500: #f04f43;
|
|
43
|
+
--rs-orange-500: #ff9800;
|
|
44
|
+
--rs-yellow-500: #ffc757;
|
|
45
|
+
--rs-green-500: #58b15b;
|
|
46
|
+
--rs-cyan-500: #00bcd4;
|
|
47
|
+
--rs-blue-500: #1499ef;
|
|
48
|
+
--rs-violet-500: #673ab7;
|
|
35
49
|
--rs-text-disabled: var(--rs-gray-500);
|
|
36
50
|
--rs-state-focus-shadow: 0 0 0 3px rgb(from var(--rs-gray-500) r g b / 25%);
|
|
37
51
|
--rs-checkbox-icon: var(--rs-gray-800);
|
|
@@ -54,6 +68,13 @@
|
|
|
54
68
|
--rs-gray-800: #1a1d24;
|
|
55
69
|
--rs-gray-900: #0f131a;
|
|
56
70
|
--rs-primary-500: #ffff00;
|
|
71
|
+
--rs-red-500: #bd1732;
|
|
72
|
+
--rs-orange-500: #ff9800;
|
|
73
|
+
--rs-yellow-500: #ffc757;
|
|
74
|
+
--rs-green-500: #0d822c;
|
|
75
|
+
--rs-cyan-500: #00bcd4;
|
|
76
|
+
--rs-blue-500: #1499ef;
|
|
77
|
+
--rs-violet-500: #673ab7;
|
|
57
78
|
--rs-text-disabled: var(--rs-gray-500);
|
|
58
79
|
--rs-state-focus-shadow: 0 0 0 3px var(--rs-gray-900), 0 0 0 5px var(--rs-gray-0);
|
|
59
80
|
--rs-checkbox-icon: var(--rs-gray-800);
|
|
@@ -123,17 +144,16 @@
|
|
|
123
144
|
position: relative;
|
|
124
145
|
}
|
|
125
146
|
/* rtl:begin:ignore */
|
|
126
|
-
.rs-checkbox-
|
|
127
|
-
.rs-checkbox-
|
|
128
|
-
.rs-checkbox-
|
|
129
|
-
.rs-checkbox-wrapper .rs-checkbox-inner::after {
|
|
147
|
+
.rs-checkbox-control::before,
|
|
148
|
+
.rs-checkbox-control .rs-checkbox-inner::before,
|
|
149
|
+
.rs-checkbox-control .rs-checkbox-inner::after {
|
|
130
150
|
content: '';
|
|
131
151
|
position: absolute;
|
|
132
152
|
left: 0;
|
|
133
153
|
top: 0;
|
|
134
154
|
display: block;
|
|
135
155
|
}
|
|
136
|
-
.rs-checkbox-
|
|
156
|
+
.rs-checkbox-control .rs-checkbox-inner::after {
|
|
137
157
|
opacity: 0;
|
|
138
158
|
-webkit-transform: rotate(45deg) scale(0);
|
|
139
159
|
transform: rotate(45deg) scale(0);
|
|
@@ -142,12 +162,12 @@
|
|
|
142
162
|
transition: opacity 0.2s ease-in, transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
143
163
|
transition: opacity 0.2s ease-in, transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46), -webkit-transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
144
164
|
}
|
|
145
|
-
.rs-theme-high-contrast .rs-checkbox-
|
|
165
|
+
.rs-theme-high-contrast .rs-checkbox-control .rs-checkbox-inner::after {
|
|
146
166
|
-webkit-transition: none;
|
|
147
167
|
transition: none;
|
|
148
168
|
}
|
|
149
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
150
|
-
.rs-checkbox-indeterminate .rs-checkbox-
|
|
169
|
+
.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::after,
|
|
170
|
+
.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::after {
|
|
151
171
|
border: solid #fff;
|
|
152
172
|
border: solid var(--rs-checkbox-icon);
|
|
153
173
|
width: 6px;
|
|
@@ -156,12 +176,12 @@
|
|
|
156
176
|
margin-left: 5px;
|
|
157
177
|
opacity: 1;
|
|
158
178
|
}
|
|
159
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
179
|
+
.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::after {
|
|
160
180
|
border-width: 0 2px 2px 0;
|
|
161
181
|
-webkit-transform: rotate(45deg) scale(1);
|
|
162
182
|
transform: rotate(45deg) scale(1);
|
|
163
183
|
}
|
|
164
|
-
.rs-checkbox-indeterminate .rs-checkbox-
|
|
184
|
+
.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::after {
|
|
165
185
|
border-width: 0 0 2px;
|
|
166
186
|
-webkit-transform: rotate(0deg) scale(1);
|
|
167
187
|
transform: rotate(0deg) scale(1);
|
|
@@ -171,7 +191,7 @@
|
|
|
171
191
|
}
|
|
172
192
|
/* rtl:end:ignore */
|
|
173
193
|
/* stylelint-disable-next-line */
|
|
174
|
-
.rs-checkbox-
|
|
194
|
+
.rs-checkbox-control {
|
|
175
195
|
position: absolute;
|
|
176
196
|
width: 16px;
|
|
177
197
|
height: 16px;
|
|
@@ -179,18 +199,22 @@
|
|
|
179
199
|
left: 10px;
|
|
180
200
|
top: 10px;
|
|
181
201
|
}
|
|
182
|
-
.rs-checkbox-
|
|
183
|
-
|
|
184
|
-
height: 0;
|
|
202
|
+
.rs-checkbox-control [type='checkbox'] {
|
|
203
|
+
position: absolute;
|
|
185
204
|
opacity: 0;
|
|
205
|
+
z-index: 1;
|
|
206
|
+
top: -10px;
|
|
207
|
+
right: -10px;
|
|
208
|
+
bottom: -10px;
|
|
209
|
+
left: -10px;
|
|
186
210
|
}
|
|
187
|
-
.rs-checkbox-
|
|
188
|
-
.rs-checkbox-
|
|
189
|
-
.rs-checkbox-
|
|
211
|
+
.rs-checkbox-control::before,
|
|
212
|
+
.rs-checkbox-control .rs-checkbox-inner::before,
|
|
213
|
+
.rs-checkbox-control .rs-checkbox-inner::after {
|
|
190
214
|
width: 16px;
|
|
191
215
|
height: 16px;
|
|
192
216
|
}
|
|
193
|
-
.rs-checkbox-
|
|
217
|
+
.rs-checkbox-control::before {
|
|
194
218
|
border: 1px solid #3498ff;
|
|
195
219
|
border: 1px solid var(--rs-checkbox-checked-bg);
|
|
196
220
|
background-color: transparent;
|
|
@@ -204,23 +228,17 @@
|
|
|
204
228
|
transition: transform 0.2s linear, opacity 0.2s linear;
|
|
205
229
|
transition: transform 0.2s linear, opacity 0.2s linear, -webkit-transform 0.2s linear;
|
|
206
230
|
}
|
|
207
|
-
.rs-theme-high-contrast .rs-checkbox-
|
|
231
|
+
.rs-theme-high-contrast .rs-checkbox-control::before {
|
|
208
232
|
-webkit-transition: none;
|
|
209
233
|
transition: none;
|
|
210
234
|
}
|
|
211
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
235
|
+
.rs-checkbox-checked .rs-checkbox-control::before {
|
|
212
236
|
-webkit-transform: scale(1.5);
|
|
213
237
|
transform: scale(1.5);
|
|
214
238
|
opacity: 0;
|
|
215
239
|
visibility: visible;
|
|
216
240
|
}
|
|
217
|
-
.rs-checkbox-
|
|
218
|
-
top: -10px;
|
|
219
|
-
right: -10px;
|
|
220
|
-
bottom: -10px;
|
|
221
|
-
left: -10px;
|
|
222
|
-
}
|
|
223
|
-
.rs-checkbox-wrapper .rs-checkbox-inner::before {
|
|
241
|
+
.rs-checkbox-control .rs-checkbox-inner::before {
|
|
224
242
|
border: 1px solid #d9d9d9;
|
|
225
243
|
border: 1px solid var(--rs-checkbox-border);
|
|
226
244
|
background-color: transparent;
|
|
@@ -230,34 +248,139 @@
|
|
|
230
248
|
transition: background 0.2s linear, border 0.2s linear, box-shadow 0.2s linear;
|
|
231
249
|
transition: background 0.2s linear, border 0.2s linear, box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
|
|
232
250
|
}
|
|
233
|
-
.rs-theme-high-contrast .rs-checkbox-
|
|
251
|
+
.rs-theme-high-contrast .rs-checkbox-control .rs-checkbox-inner::before {
|
|
234
252
|
-webkit-transition: none;
|
|
235
253
|
transition: none;
|
|
236
254
|
}
|
|
237
|
-
label:hover .rs-checkbox-
|
|
255
|
+
label:hover .rs-checkbox-control .rs-checkbox-inner::before {
|
|
238
256
|
border-color: #3498ff;
|
|
239
257
|
border-color: var(--rs-checkbox-checked-bg);
|
|
240
258
|
}
|
|
241
|
-
.rs-checkbox-disabled:not(.rs-checkbox-checked):not(.rs-checkbox-indeterminate) .rs-checkbox-
|
|
259
|
+
.rs-checkbox-disabled:not(.rs-checkbox-checked):not(.rs-checkbox-indeterminate) .rs-checkbox-control .rs-checkbox-inner::before {
|
|
242
260
|
border-color: #f7f7fa;
|
|
243
261
|
border-color: var(--rs-checkbox-disabled-bg);
|
|
244
262
|
background-color: #f7f7fa;
|
|
245
263
|
background-color: var(--rs-checkbox-disabled-bg);
|
|
246
264
|
}
|
|
247
|
-
.rs-checkbox-checked .rs-checkbox-
|
|
248
|
-
.rs-checkbox-indeterminate .rs-checkbox-
|
|
265
|
+
.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::before,
|
|
266
|
+
.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::before {
|
|
249
267
|
border-color: #3498ff;
|
|
250
268
|
border-color: var(--rs-checkbox-checked-bg);
|
|
251
269
|
background-color: #3498ff;
|
|
252
270
|
background-color: var(--rs-checkbox-checked-bg);
|
|
253
271
|
}
|
|
254
|
-
.rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-
|
|
255
|
-
.rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-
|
|
272
|
+
.rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::before,
|
|
273
|
+
.rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::before {
|
|
256
274
|
opacity: 0.3;
|
|
257
275
|
}
|
|
258
|
-
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-
|
|
259
|
-
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-
|
|
276
|
+
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-checked .rs-checkbox-control .rs-checkbox-inner::before,
|
|
277
|
+
.rs-theme-high-contrast .rs-checkbox-disabled.rs-checkbox-indeterminate .rs-checkbox-control .rs-checkbox-inner::before {
|
|
260
278
|
opacity: 0.5;
|
|
261
279
|
}
|
|
280
|
+
.rs-checkbox-red .rs-checkbox-control::before {
|
|
281
|
+
border-color: #f44336;
|
|
282
|
+
border-color: var(--rs-red-500);
|
|
283
|
+
}
|
|
284
|
+
.rs-checkbox-red label:hover .rs-checkbox-inner::before {
|
|
285
|
+
border-color: #f44336;
|
|
286
|
+
border-color: var(--rs-red-500);
|
|
287
|
+
}
|
|
288
|
+
.rs-checkbox-red.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
289
|
+
.rs-checkbox-red.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
290
|
+
border-color: #f44336;
|
|
291
|
+
border-color: var(--rs-red-500);
|
|
292
|
+
background-color: #f44336;
|
|
293
|
+
background-color: var(--rs-red-500);
|
|
294
|
+
}
|
|
295
|
+
.rs-checkbox-orange .rs-checkbox-control::before {
|
|
296
|
+
border-color: #fa8900;
|
|
297
|
+
border-color: var(--rs-orange-500);
|
|
298
|
+
}
|
|
299
|
+
.rs-checkbox-orange label:hover .rs-checkbox-inner::before {
|
|
300
|
+
border-color: #fa8900;
|
|
301
|
+
border-color: var(--rs-orange-500);
|
|
302
|
+
}
|
|
303
|
+
.rs-checkbox-orange.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
304
|
+
.rs-checkbox-orange.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
305
|
+
border-color: #fa8900;
|
|
306
|
+
border-color: var(--rs-orange-500);
|
|
307
|
+
background-color: #fa8900;
|
|
308
|
+
background-color: var(--rs-orange-500);
|
|
309
|
+
}
|
|
310
|
+
.rs-checkbox-yellow .rs-checkbox-control::before {
|
|
311
|
+
border-color: #ffb300;
|
|
312
|
+
border-color: var(--rs-yellow-500);
|
|
313
|
+
}
|
|
314
|
+
.rs-checkbox-yellow label:hover .rs-checkbox-inner::before {
|
|
315
|
+
border-color: #ffb300;
|
|
316
|
+
border-color: var(--rs-yellow-500);
|
|
317
|
+
}
|
|
318
|
+
.rs-checkbox-yellow.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
319
|
+
.rs-checkbox-yellow.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
320
|
+
border-color: #ffb300;
|
|
321
|
+
border-color: var(--rs-yellow-500);
|
|
322
|
+
background-color: #ffb300;
|
|
323
|
+
background-color: var(--rs-yellow-500);
|
|
324
|
+
}
|
|
325
|
+
.rs-checkbox-green .rs-checkbox-control::before {
|
|
326
|
+
border-color: #4caf50;
|
|
327
|
+
border-color: var(--rs-green-500);
|
|
328
|
+
}
|
|
329
|
+
.rs-checkbox-green label:hover .rs-checkbox-inner::before {
|
|
330
|
+
border-color: #4caf50;
|
|
331
|
+
border-color: var(--rs-green-500);
|
|
332
|
+
}
|
|
333
|
+
.rs-checkbox-green.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
334
|
+
.rs-checkbox-green.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
335
|
+
border-color: #4caf50;
|
|
336
|
+
border-color: var(--rs-green-500);
|
|
337
|
+
background-color: #4caf50;
|
|
338
|
+
background-color: var(--rs-green-500);
|
|
339
|
+
}
|
|
340
|
+
.rs-checkbox-cyan .rs-checkbox-control::before {
|
|
341
|
+
border-color: #00bcd4;
|
|
342
|
+
border-color: var(--rs-cyan-500);
|
|
343
|
+
}
|
|
344
|
+
.rs-checkbox-cyan label:hover .rs-checkbox-inner::before {
|
|
345
|
+
border-color: #00bcd4;
|
|
346
|
+
border-color: var(--rs-cyan-500);
|
|
347
|
+
}
|
|
348
|
+
.rs-checkbox-cyan.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
349
|
+
.rs-checkbox-cyan.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
350
|
+
border-color: #00bcd4;
|
|
351
|
+
border-color: var(--rs-cyan-500);
|
|
352
|
+
background-color: #00bcd4;
|
|
353
|
+
background-color: var(--rs-cyan-500);
|
|
354
|
+
}
|
|
355
|
+
.rs-checkbox-blue .rs-checkbox-control::before {
|
|
356
|
+
border-color: #2196f3;
|
|
357
|
+
border-color: var(--rs-blue-500);
|
|
358
|
+
}
|
|
359
|
+
.rs-checkbox-blue label:hover .rs-checkbox-inner::before {
|
|
360
|
+
border-color: #2196f3;
|
|
361
|
+
border-color: var(--rs-blue-500);
|
|
362
|
+
}
|
|
363
|
+
.rs-checkbox-blue.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
364
|
+
.rs-checkbox-blue.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
365
|
+
border-color: #2196f3;
|
|
366
|
+
border-color: var(--rs-blue-500);
|
|
367
|
+
background-color: #2196f3;
|
|
368
|
+
background-color: var(--rs-blue-500);
|
|
369
|
+
}
|
|
370
|
+
.rs-checkbox-violet .rs-checkbox-control::before {
|
|
371
|
+
border-color: #673ab7;
|
|
372
|
+
border-color: var(--rs-violet-500);
|
|
373
|
+
}
|
|
374
|
+
.rs-checkbox-violet label:hover .rs-checkbox-inner::before {
|
|
375
|
+
border-color: #673ab7;
|
|
376
|
+
border-color: var(--rs-violet-500);
|
|
377
|
+
}
|
|
378
|
+
.rs-checkbox-violet.rs-checkbox-checked .rs-checkbox-inner::before,
|
|
379
|
+
.rs-checkbox-violet.rs-checkbox-indeterminate .rs-checkbox-inner::before {
|
|
380
|
+
border-color: #673ab7;
|
|
381
|
+
border-color: var(--rs-violet-500);
|
|
382
|
+
background-color: #673ab7;
|
|
383
|
+
background-color: var(--rs-violet-500);
|
|
384
|
+
}
|
|
262
385
|
|
|
263
386
|
/*# sourceMappingURL=index.css.map */
|