@useblu/ocean-core 1.36.1 → 1.37.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/CHANGELOG.md +10 -0
- package/ocean.css +76 -46
- package/ocean.css.map +1 -1
- package/ocean.min.css +1 -1
- package/ocean.min.css.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.37.0](https://github.com/ocean-ds/ocean-web/compare/v1.36.3...v1.37.0) (2022-10-20)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- dateclass ([#1030](https://github.com/ocean-ds/ocean-web/issues/1030)) ([6302611](https://github.com/ocean-ds/ocean-web/commit/63026116df2678e41d4ad03e08081641eefa4d70))
|
|
11
|
+
|
|
12
|
+
## [1.36.2](https://github.com/ocean-ds/ocean-web/compare/v1.36.1...v1.36.2) (2022-10-11)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @useblu/ocean-core
|
|
15
|
+
|
|
6
16
|
## [1.36.1](https://github.com/ocean-ds/ocean-web/compare/v1.36.0...v1.36.1) (2022-10-11)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/ocean.css
CHANGED
|
@@ -3285,7 +3285,7 @@
|
|
|
3285
3285
|
color: #0025e0;
|
|
3286
3286
|
}
|
|
3287
3287
|
|
|
3288
|
-
.ods-
|
|
3288
|
+
.ods-date-background {
|
|
3289
3289
|
background: transparent;
|
|
3290
3290
|
bottom: 0;
|
|
3291
3291
|
content: " ";
|
|
@@ -3295,7 +3295,7 @@
|
|
|
3295
3295
|
top: 0;
|
|
3296
3296
|
}
|
|
3297
3297
|
|
|
3298
|
-
.ods-
|
|
3298
|
+
.ods-date {
|
|
3299
3299
|
display: flex;
|
|
3300
3300
|
position: relative;
|
|
3301
3301
|
-webkit-user-select: none;
|
|
@@ -3304,22 +3304,25 @@
|
|
|
3304
3304
|
user-select: none;
|
|
3305
3305
|
width: 100%;
|
|
3306
3306
|
}
|
|
3307
|
-
.ods-
|
|
3308
|
-
.ods-
|
|
3309
|
-
.ods-
|
|
3307
|
+
.ods-date:active, .ods-date:focus,
|
|
3308
|
+
.ods-date *:active,
|
|
3309
|
+
.ods-date *:focus {
|
|
3310
3310
|
outline: none;
|
|
3311
3311
|
}
|
|
3312
|
-
.ods-
|
|
3312
|
+
.ods-date__form-row {
|
|
3313
3313
|
display: grid;
|
|
3314
3314
|
gap: 8px;
|
|
3315
3315
|
grid-template-columns: repeat(2, 1fr);
|
|
3316
3316
|
width: 100%;
|
|
3317
3317
|
}
|
|
3318
|
-
.ods-
|
|
3318
|
+
.ods-date__form-row-datepicker {
|
|
3319
|
+
width: 100%;
|
|
3320
|
+
}
|
|
3321
|
+
.ods-date__form-controls {
|
|
3319
3322
|
cursor: pointer;
|
|
3320
3323
|
margin: 0;
|
|
3321
3324
|
}
|
|
3322
|
-
.ods-
|
|
3325
|
+
.ods-date__form-controls > label {
|
|
3323
3326
|
color: #67697a;
|
|
3324
3327
|
font-family: "Nunito Sans";
|
|
3325
3328
|
font-size: 14px;
|
|
@@ -3329,17 +3332,17 @@
|
|
|
3329
3332
|
padding: 0;
|
|
3330
3333
|
text-transform: none;
|
|
3331
3334
|
}
|
|
3332
|
-
.ods-
|
|
3335
|
+
.ods-date__form-controls input {
|
|
3333
3336
|
caret-color: #0025e0;
|
|
3334
3337
|
cursor: pointer;
|
|
3335
3338
|
}
|
|
3336
|
-
.ods-
|
|
3339
|
+
.ods-date__form-controls .date-field-focussed {
|
|
3337
3340
|
border-color: #5872f5;
|
|
3338
3341
|
border-width: 2px;
|
|
3339
3342
|
margin: 0;
|
|
3340
3343
|
}
|
|
3341
3344
|
@media (max-width: 321px) {
|
|
3342
|
-
.ods-
|
|
3345
|
+
.ods-date__form-row {
|
|
3343
3346
|
display: grid;
|
|
3344
3347
|
gap: 8px;
|
|
3345
3348
|
grid-template-columns: 1fr;
|
|
@@ -3347,7 +3350,7 @@
|
|
|
3347
3350
|
width: 100%;
|
|
3348
3351
|
}
|
|
3349
3352
|
}
|
|
3350
|
-
.ods-
|
|
3353
|
+
.ods-date__calendar {
|
|
3351
3354
|
background-color: white;
|
|
3352
3355
|
border: 1px solid #ebecf5;
|
|
3353
3356
|
border-radius: 8px;
|
|
@@ -3358,21 +3361,21 @@
|
|
|
3358
3361
|
position: absolute;
|
|
3359
3362
|
width: 100%;
|
|
3360
3363
|
}
|
|
3361
|
-
.ods-
|
|
3364
|
+
.ods-date__calendar .rdp-vhidden {
|
|
3362
3365
|
display: none;
|
|
3363
3366
|
}
|
|
3364
|
-
.ods-
|
|
3367
|
+
.ods-date_calendar_m1 {
|
|
3365
3368
|
top: 72px;
|
|
3366
3369
|
}
|
|
3367
|
-
.ods-
|
|
3370
|
+
.ods-date_calendar_m2 {
|
|
3368
3371
|
top: 72px;
|
|
3369
3372
|
}
|
|
3370
3373
|
@media (max-width: 321px) {
|
|
3371
|
-
.ods-
|
|
3374
|
+
.ods-date_calendar_m2 {
|
|
3372
3375
|
top: 150px;
|
|
3373
3376
|
}
|
|
3374
3377
|
}
|
|
3375
|
-
.ods-
|
|
3378
|
+
.ods-date__caption {
|
|
3376
3379
|
align-items: center;
|
|
3377
3380
|
color: #393b47;
|
|
3378
3381
|
display: flex;
|
|
@@ -3381,7 +3384,7 @@
|
|
|
3381
3384
|
margin: 16px 8px;
|
|
3382
3385
|
position: relative;
|
|
3383
3386
|
}
|
|
3384
|
-
.ods-
|
|
3387
|
+
.ods-date__caption h2 {
|
|
3385
3388
|
font-family: "Avenir";
|
|
3386
3389
|
font-size: 16px;
|
|
3387
3390
|
font-weight: 700;
|
|
@@ -3390,7 +3393,7 @@
|
|
|
3390
3393
|
text-align: center;
|
|
3391
3394
|
text-transform: capitalize;
|
|
3392
3395
|
}
|
|
3393
|
-
.ods-
|
|
3396
|
+
.ods-date__navButtons {
|
|
3394
3397
|
background-color: transparent;
|
|
3395
3398
|
border: 0;
|
|
3396
3399
|
color: #0025e0;
|
|
@@ -3401,38 +3404,44 @@
|
|
|
3401
3404
|
position: absolute;
|
|
3402
3405
|
top: 0;
|
|
3403
3406
|
}
|
|
3404
|
-
.ods-
|
|
3407
|
+
.ods-date__navButtons:hover {
|
|
3405
3408
|
background: #f7f9ff;
|
|
3406
3409
|
}
|
|
3407
|
-
.ods-
|
|
3410
|
+
.ods-date__navButtonPrev {
|
|
3408
3411
|
left: 17px;
|
|
3409
3412
|
}
|
|
3410
3413
|
@media (max-width: 321px) {
|
|
3411
|
-
.ods-
|
|
3414
|
+
.ods-date__navButtonPrev {
|
|
3412
3415
|
left: 0;
|
|
3413
3416
|
}
|
|
3414
3417
|
}
|
|
3415
|
-
.ods-datepicker
|
|
3418
|
+
.ods-date__navButtonPrev-datepicker {
|
|
3419
|
+
left: 0;
|
|
3420
|
+
}
|
|
3421
|
+
.ods-date__navButtonNext {
|
|
3416
3422
|
right: 17px;
|
|
3417
3423
|
}
|
|
3418
3424
|
@media (max-width: 321px) {
|
|
3419
|
-
.ods-
|
|
3425
|
+
.ods-date__navButtonNext {
|
|
3420
3426
|
right: 0;
|
|
3421
3427
|
}
|
|
3422
3428
|
}
|
|
3423
|
-
.ods-datepicker
|
|
3429
|
+
.ods-date__navButtonNext-datepicker {
|
|
3430
|
+
right: 0;
|
|
3431
|
+
}
|
|
3432
|
+
.ods-date__navIcon {
|
|
3424
3433
|
box-sizing: border-box;
|
|
3425
3434
|
width: 12px;
|
|
3426
3435
|
}
|
|
3427
|
-
.ods-
|
|
3436
|
+
.ods-date__table {
|
|
3428
3437
|
display: flex;
|
|
3429
3438
|
flex-direction: column;
|
|
3430
3439
|
}
|
|
3431
|
-
.ods-
|
|
3440
|
+
.ods-date__head {
|
|
3432
3441
|
margin-bottom: 8px;
|
|
3433
3442
|
padding: 0 8px;
|
|
3434
3443
|
}
|
|
3435
|
-
.ods-
|
|
3444
|
+
.ods-date__headRow {
|
|
3436
3445
|
color: #b6b9cc;
|
|
3437
3446
|
display: grid;
|
|
3438
3447
|
font-family: "Nunito Sans";
|
|
@@ -3441,18 +3450,18 @@
|
|
|
3441
3450
|
grid-template-columns: repeat(7, 1fr);
|
|
3442
3451
|
text-transform: capitalize;
|
|
3443
3452
|
}
|
|
3444
|
-
.ods-
|
|
3453
|
+
.ods-date__body {
|
|
3445
3454
|
padding: 0 8px;
|
|
3446
3455
|
}
|
|
3447
|
-
.ods-
|
|
3456
|
+
.ods-date__row {
|
|
3448
3457
|
display: grid;
|
|
3449
3458
|
grid-template-columns: repeat(7, 1fr);
|
|
3450
3459
|
}
|
|
3451
|
-
.ods-
|
|
3460
|
+
.ods-date .rdp-head_cell {
|
|
3452
3461
|
border: 0;
|
|
3453
3462
|
text-align: center;
|
|
3454
3463
|
}
|
|
3455
|
-
.ods-
|
|
3464
|
+
.ods-date__cell {
|
|
3456
3465
|
border: 0;
|
|
3457
3466
|
display: flex;
|
|
3458
3467
|
height: 40px;
|
|
@@ -3463,16 +3472,16 @@
|
|
|
3463
3472
|
text-align: center;
|
|
3464
3473
|
width: 100%;
|
|
3465
3474
|
}
|
|
3466
|
-
.ods-
|
|
3475
|
+
.ods-date__cell .ods-date__selectedStart {
|
|
3467
3476
|
background: linear-gradient(to left, rgba(176, 245, 245, 0.24) 50%, white 50%);
|
|
3468
3477
|
}
|
|
3469
|
-
.ods-
|
|
3478
|
+
.ods-date__cell .ods-date__selectedEnd {
|
|
3470
3479
|
background: linear-gradient(to right, rgba(176, 245, 245, 0.24) 50%, white 50%);
|
|
3471
3480
|
}
|
|
3472
|
-
.ods-
|
|
3481
|
+
.ods-date__selectedStart.ods-date__selectedEnd {
|
|
3473
3482
|
background: transparent;
|
|
3474
3483
|
}
|
|
3475
|
-
.ods-
|
|
3484
|
+
.ods-date__day {
|
|
3476
3485
|
align-items: center;
|
|
3477
3486
|
background-color: transparent;
|
|
3478
3487
|
border: 0;
|
|
@@ -3489,7 +3498,7 @@
|
|
|
3489
3498
|
text-align: center;
|
|
3490
3499
|
width: 100%;
|
|
3491
3500
|
}
|
|
3492
|
-
.ods-
|
|
3501
|
+
.ods-date__day:hover::after {
|
|
3493
3502
|
align-items: center;
|
|
3494
3503
|
border: 1px solid #b6b9cc;
|
|
3495
3504
|
border-radius: 20px;
|
|
@@ -3505,17 +3514,17 @@
|
|
|
3505
3514
|
width: 40px;
|
|
3506
3515
|
z-index: 1;
|
|
3507
3516
|
}
|
|
3508
|
-
.ods-
|
|
3517
|
+
.ods-date__today {
|
|
3509
3518
|
color: #0025e0;
|
|
3510
3519
|
}
|
|
3511
|
-
.ods-
|
|
3520
|
+
.ods-date__disabled {
|
|
3512
3521
|
color: #d8dae8;
|
|
3513
3522
|
}
|
|
3514
|
-
.ods-
|
|
3523
|
+
.ods-date__selected {
|
|
3515
3524
|
background-color: rgba(176, 245, 245, 0.24);
|
|
3516
3525
|
position: relative;
|
|
3517
3526
|
}
|
|
3518
|
-
.ods-
|
|
3527
|
+
.ods-date__selected:hover::after {
|
|
3519
3528
|
align-items: center;
|
|
3520
3529
|
border: 1px solid #b6b9cc;
|
|
3521
3530
|
border-radius: 20px;
|
|
@@ -3530,12 +3539,33 @@
|
|
|
3530
3539
|
width: 40px;
|
|
3531
3540
|
z-index: 1;
|
|
3532
3541
|
}
|
|
3533
|
-
.ods-datepicker
|
|
3542
|
+
.ods-date__selected-datepicker {
|
|
3543
|
+
background: transparent;
|
|
3544
|
+
color: white;
|
|
3545
|
+
position: relative;
|
|
3546
|
+
z-index: 1;
|
|
3547
|
+
}
|
|
3548
|
+
.ods-date__selected-datepicker ::after {
|
|
3549
|
+
align-items: center;
|
|
3550
|
+
background-color: #13bdbd;
|
|
3551
|
+
border-radius: 20px;
|
|
3552
|
+
content: "";
|
|
3553
|
+
display: flex;
|
|
3554
|
+
height: 40px;
|
|
3555
|
+
justify-content: center;
|
|
3556
|
+
left: 50%;
|
|
3557
|
+
position: absolute;
|
|
3558
|
+
top: 50%;
|
|
3559
|
+
transform: translate(-50%, -50%);
|
|
3560
|
+
width: 40px;
|
|
3561
|
+
z-index: -1;
|
|
3562
|
+
}
|
|
3563
|
+
.ods-date__selectedStart {
|
|
3534
3564
|
color: white;
|
|
3535
3565
|
position: relative;
|
|
3536
3566
|
z-index: 1;
|
|
3537
3567
|
}
|
|
3538
|
-
.ods-
|
|
3568
|
+
.ods-date__selectedStart ::after {
|
|
3539
3569
|
align-items: center;
|
|
3540
3570
|
background-color: #13bdbd;
|
|
3541
3571
|
border-radius: 20px;
|
|
@@ -3550,12 +3580,12 @@
|
|
|
3550
3580
|
width: 40px;
|
|
3551
3581
|
z-index: -1;
|
|
3552
3582
|
}
|
|
3553
|
-
.ods-
|
|
3583
|
+
.ods-date__selectedEnd {
|
|
3554
3584
|
color: white;
|
|
3555
3585
|
position: relative;
|
|
3556
3586
|
z-index: 1;
|
|
3557
3587
|
}
|
|
3558
|
-
.ods-
|
|
3588
|
+
.ods-date__selectedEnd ::after {
|
|
3559
3589
|
align-items: center;
|
|
3560
3590
|
background-color: #13bdbd;
|
|
3561
3591
|
border-radius: 20px;
|
|
@@ -3570,7 +3600,7 @@
|
|
|
3570
3600
|
width: 40px;
|
|
3571
3601
|
z-index: -1;
|
|
3572
3602
|
}
|
|
3573
|
-
.ods-
|
|
3603
|
+
.ods-date__selectedMiddle {
|
|
3574
3604
|
background-color: rgba(176, 245, 245, 0.24);
|
|
3575
3605
|
}
|
|
3576
3606
|
/*# sourceMappingURL=ocean.css.map */
|