@useblu/ocean-core 1.35.2 → 1.36.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 +6 -0
- package/ocean.css +283 -0
- 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,12 @@
|
|
|
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.36.0](https://github.com/ocean-ds/ocean-web/compare/v1.35.2...v1.36.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- datepicker ([#1007](https://github.com/ocean-ds/ocean-web/issues/1007)) ([f91b2c4](https://github.com/ocean-ds/ocean-web/commit/f91b2c4ee160ab035c65afb7fa80bce886cb4d78))
|
|
11
|
+
|
|
6
12
|
## [1.35.2](https://github.com/ocean-ds/ocean-web/compare/v1.35.1...v1.35.2) (2022-10-06)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/ocean.css
CHANGED
|
@@ -3284,4 +3284,287 @@
|
|
|
3284
3284
|
.ods-cross-sell-card__cta-icon svg {
|
|
3285
3285
|
color: #0025e0;
|
|
3286
3286
|
}
|
|
3287
|
+
|
|
3288
|
+
.ods-datepicker-background {
|
|
3289
|
+
background: transparent;
|
|
3290
|
+
bottom: 0;
|
|
3291
|
+
content: " ";
|
|
3292
|
+
left: 0;
|
|
3293
|
+
position: fixed;
|
|
3294
|
+
right: 0;
|
|
3295
|
+
top: 0;
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
.ods-datepicker {
|
|
3299
|
+
display: flex;
|
|
3300
|
+
position: relative;
|
|
3301
|
+
-webkit-user-select: none;
|
|
3302
|
+
-moz-user-select: none;
|
|
3303
|
+
-ms-user-select: none;
|
|
3304
|
+
user-select: none;
|
|
3305
|
+
width: 100%;
|
|
3306
|
+
}
|
|
3307
|
+
.ods-datepicker:active, .ods-datepicker:focus,
|
|
3308
|
+
.ods-datepicker *:active,
|
|
3309
|
+
.ods-datepicker *:focus {
|
|
3310
|
+
outline: none;
|
|
3311
|
+
}
|
|
3312
|
+
.ods-datepicker__form-row {
|
|
3313
|
+
display: grid;
|
|
3314
|
+
gap: 8px;
|
|
3315
|
+
grid-template-columns: repeat(2, 1fr);
|
|
3316
|
+
width: 100%;
|
|
3317
|
+
}
|
|
3318
|
+
.ods-datepicker__form-controls {
|
|
3319
|
+
cursor: pointer;
|
|
3320
|
+
margin: 0;
|
|
3321
|
+
}
|
|
3322
|
+
.ods-datepicker__form-controls > label {
|
|
3323
|
+
color: #67697a;
|
|
3324
|
+
font-family: "Nunito Sans";
|
|
3325
|
+
font-size: 14px;
|
|
3326
|
+
font-weight: 400;
|
|
3327
|
+
line-height: 15px;
|
|
3328
|
+
margin: 0 0 8px;
|
|
3329
|
+
padding: 0;
|
|
3330
|
+
text-transform: none;
|
|
3331
|
+
}
|
|
3332
|
+
.ods-datepicker__form-controls input {
|
|
3333
|
+
caret-color: #0025e0;
|
|
3334
|
+
cursor: pointer;
|
|
3335
|
+
}
|
|
3336
|
+
.ods-datepicker__form-controls .date-field-focussed {
|
|
3337
|
+
border-color: #5872f5;
|
|
3338
|
+
border-width: 2px;
|
|
3339
|
+
margin: 0;
|
|
3340
|
+
}
|
|
3341
|
+
@media (max-width: 321px) {
|
|
3342
|
+
.ods-datepicker__form-row {
|
|
3343
|
+
display: grid;
|
|
3344
|
+
gap: 8px;
|
|
3345
|
+
grid-template-columns: 1fr;
|
|
3346
|
+
grid-template-rows: repeat(2, 1fr);
|
|
3347
|
+
width: 100%;
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
.ods-datepicker .ods-datepicker__calendar {
|
|
3351
|
+
background-color: white;
|
|
3352
|
+
border: 1px solid #ebecf5;
|
|
3353
|
+
border-radius: 8px;
|
|
3354
|
+
box-shadow: 0 8px 16px rgba(12, 13, 20, 0.08);
|
|
3355
|
+
box-sizing: border-box;
|
|
3356
|
+
margin: 0;
|
|
3357
|
+
padding: 0 0 16px;
|
|
3358
|
+
position: absolute;
|
|
3359
|
+
width: 100%;
|
|
3360
|
+
}
|
|
3361
|
+
.ods-datepicker .ods-datepicker__calendar .rdp-vhidden {
|
|
3362
|
+
display: none;
|
|
3363
|
+
}
|
|
3364
|
+
.ods-datepicker .ods-datepicker_calendar_m1 {
|
|
3365
|
+
top: 4.5rem;
|
|
3366
|
+
}
|
|
3367
|
+
.ods-datepicker .ods-datepicker_calendar_m2 {
|
|
3368
|
+
top: 4.5rem;
|
|
3369
|
+
}
|
|
3370
|
+
@media (max-width: 321px) {
|
|
3371
|
+
.ods-datepicker .ods-datepicker_calendar_m2 {
|
|
3372
|
+
top: 9.5rem;
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
.ods-datepicker .ods-datepicker__caption {
|
|
3376
|
+
align-items: center;
|
|
3377
|
+
color: #393b47;
|
|
3378
|
+
display: flex;
|
|
3379
|
+
height: 40px;
|
|
3380
|
+
justify-content: center;
|
|
3381
|
+
margin: 16px 8px;
|
|
3382
|
+
position: relative;
|
|
3383
|
+
}
|
|
3384
|
+
.ods-datepicker .ods-datepicker__caption h2 {
|
|
3385
|
+
font-family: "Avenir";
|
|
3386
|
+
font-size: 16px;
|
|
3387
|
+
font-weight: 700;
|
|
3388
|
+
line-height: 17.6px;
|
|
3389
|
+
margin: 0;
|
|
3390
|
+
text-align: center;
|
|
3391
|
+
text-transform: capitalize;
|
|
3392
|
+
}
|
|
3393
|
+
.ods-datepicker .ods-datepicker__navButtons {
|
|
3394
|
+
background-color: transparent;
|
|
3395
|
+
border: 0;
|
|
3396
|
+
color: #0025e0;
|
|
3397
|
+
cursor: pointer;
|
|
3398
|
+
font-size: 6px;
|
|
3399
|
+
outline: 0;
|
|
3400
|
+
padding: 0;
|
|
3401
|
+
position: absolute;
|
|
3402
|
+
top: 0;
|
|
3403
|
+
}
|
|
3404
|
+
.ods-datepicker .ods-datepicker__navButtons:hover {
|
|
3405
|
+
background: #f7f9ff;
|
|
3406
|
+
}
|
|
3407
|
+
.ods-datepicker .ods-datepicker__navButtonPrev {
|
|
3408
|
+
left: 17px;
|
|
3409
|
+
}
|
|
3410
|
+
@media (max-width: 321px) {
|
|
3411
|
+
.ods-datepicker .ods-datepicker__navButtonPrev {
|
|
3412
|
+
left: 0;
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
.ods-datepicker .ods-datepicker__navButtonNext {
|
|
3416
|
+
right: 17px;
|
|
3417
|
+
}
|
|
3418
|
+
@media (max-width: 321px) {
|
|
3419
|
+
.ods-datepicker .ods-datepicker__navButtonNext {
|
|
3420
|
+
right: 0;
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
.ods-datepicker .ods-datepicker__navIcon {
|
|
3424
|
+
box-sizing: border-box;
|
|
3425
|
+
width: 12px;
|
|
3426
|
+
}
|
|
3427
|
+
.ods-datepicker .ods-datepicker__table {
|
|
3428
|
+
display: flex;
|
|
3429
|
+
flex-direction: column;
|
|
3430
|
+
}
|
|
3431
|
+
.ods-datepicker .ods-datepicker__head {
|
|
3432
|
+
margin-bottom: 8px;
|
|
3433
|
+
padding: 0 8px;
|
|
3434
|
+
}
|
|
3435
|
+
.ods-datepicker .ods-datepicker__headRow {
|
|
3436
|
+
color: #b6b9cc;
|
|
3437
|
+
display: grid;
|
|
3438
|
+
font-family: "Nunito Sans";
|
|
3439
|
+
font-size: 12px;
|
|
3440
|
+
font-weight: 600;
|
|
3441
|
+
grid-template-columns: repeat(7, 1fr);
|
|
3442
|
+
text-transform: capitalize;
|
|
3443
|
+
}
|
|
3444
|
+
.ods-datepicker .ods-datepicker__body {
|
|
3445
|
+
padding: 0 8px;
|
|
3446
|
+
}
|
|
3447
|
+
.ods-datepicker .ods-datepicker__row {
|
|
3448
|
+
display: grid;
|
|
3449
|
+
grid-template-columns: repeat(7, 1fr);
|
|
3450
|
+
}
|
|
3451
|
+
.ods-datepicker .ods-datepicker__cell {
|
|
3452
|
+
display: flex;
|
|
3453
|
+
height: 40px;
|
|
3454
|
+
justify-content: center;
|
|
3455
|
+
margin: 2px 0;
|
|
3456
|
+
outline: 0;
|
|
3457
|
+
text-align: center;
|
|
3458
|
+
width: 100%;
|
|
3459
|
+
}
|
|
3460
|
+
.ods-datepicker .ods-datepicker__cell .ods-datepicker__selectedStart {
|
|
3461
|
+
background: linear-gradient(to left, rgba(176, 245, 245, 0.24) 50%, white 50%);
|
|
3462
|
+
}
|
|
3463
|
+
.ods-datepicker .ods-datepicker__cell .ods-datepicker__selectedEnd {
|
|
3464
|
+
background: linear-gradient(to right, rgba(176, 245, 245, 0.24) 50%, white 50%);
|
|
3465
|
+
}
|
|
3466
|
+
.ods-datepicker .ods-datepicker__selectedStart.ods-datepicker__selectedEnd {
|
|
3467
|
+
background: transparent;
|
|
3468
|
+
}
|
|
3469
|
+
.ods-datepicker .ods-datepicker__day {
|
|
3470
|
+
align-items: center;
|
|
3471
|
+
background-color: transparent;
|
|
3472
|
+
border: 0;
|
|
3473
|
+
color: #67697a;
|
|
3474
|
+
cursor: pointer;
|
|
3475
|
+
display: flex;
|
|
3476
|
+
font-family: "Nunito Sans";
|
|
3477
|
+
font-size: 14px;
|
|
3478
|
+
height: 100%;
|
|
3479
|
+
justify-content: center;
|
|
3480
|
+
line-height: 21px;
|
|
3481
|
+
padding: 0;
|
|
3482
|
+
position: relative;
|
|
3483
|
+
text-align: center;
|
|
3484
|
+
width: 100%;
|
|
3485
|
+
}
|
|
3486
|
+
.ods-datepicker .ods-datepicker__day:hover::after {
|
|
3487
|
+
align-items: center;
|
|
3488
|
+
border: 1px solid #b6b9cc;
|
|
3489
|
+
border-radius: 20px;
|
|
3490
|
+
box-sizing: border-box;
|
|
3491
|
+
content: "";
|
|
3492
|
+
display: flex;
|
|
3493
|
+
height: 40px;
|
|
3494
|
+
justify-content: center;
|
|
3495
|
+
left: 50%;
|
|
3496
|
+
position: absolute;
|
|
3497
|
+
top: 50%;
|
|
3498
|
+
transform: translate(-50%, -50%);
|
|
3499
|
+
width: 40px;
|
|
3500
|
+
z-index: 1;
|
|
3501
|
+
}
|
|
3502
|
+
.ods-datepicker .ods-datepicker__today {
|
|
3503
|
+
color: #0025e0;
|
|
3504
|
+
}
|
|
3505
|
+
.ods-datepicker .ods-datepicker__disabled {
|
|
3506
|
+
color: #d8dae8;
|
|
3507
|
+
}
|
|
3508
|
+
.ods-datepicker .ods-datepicker__selected {
|
|
3509
|
+
background-color: rgba(176, 245, 245, 0.24);
|
|
3510
|
+
position: relative;
|
|
3511
|
+
}
|
|
3512
|
+
.ods-datepicker .ods-datepicker__selected:hover::after {
|
|
3513
|
+
align-items: center;
|
|
3514
|
+
border: 1px solid #b6b9cc;
|
|
3515
|
+
border-radius: 20px;
|
|
3516
|
+
content: "";
|
|
3517
|
+
display: flex;
|
|
3518
|
+
height: 40px;
|
|
3519
|
+
justify-content: center;
|
|
3520
|
+
left: 50%;
|
|
3521
|
+
position: absolute;
|
|
3522
|
+
top: 50%;
|
|
3523
|
+
transform: translate(-50%, -50%);
|
|
3524
|
+
width: 40px;
|
|
3525
|
+
z-index: 1;
|
|
3526
|
+
}
|
|
3527
|
+
.ods-datepicker .ods-datepicker__selectedStart {
|
|
3528
|
+
color: white;
|
|
3529
|
+
position: relative;
|
|
3530
|
+
z-index: 1;
|
|
3531
|
+
}
|
|
3532
|
+
.ods-datepicker .ods-datepicker__selectedStart ::after {
|
|
3533
|
+
align-items: center;
|
|
3534
|
+
background-color: #13bdbd;
|
|
3535
|
+
border-radius: 20px;
|
|
3536
|
+
content: "";
|
|
3537
|
+
display: flex;
|
|
3538
|
+
height: 40px;
|
|
3539
|
+
justify-content: center;
|
|
3540
|
+
left: 50%;
|
|
3541
|
+
position: absolute;
|
|
3542
|
+
top: 50%;
|
|
3543
|
+
transform: translate(-50%, -50%);
|
|
3544
|
+
width: 40px;
|
|
3545
|
+
z-index: -1;
|
|
3546
|
+
}
|
|
3547
|
+
.ods-datepicker .ods-datepicker__selectedEnd {
|
|
3548
|
+
color: white;
|
|
3549
|
+
position: relative;
|
|
3550
|
+
z-index: 1;
|
|
3551
|
+
}
|
|
3552
|
+
.ods-datepicker .ods-datepicker__selectedEnd ::after {
|
|
3553
|
+
align-items: center;
|
|
3554
|
+
background-color: #13bdbd;
|
|
3555
|
+
border-radius: 20px;
|
|
3556
|
+
content: "";
|
|
3557
|
+
display: flex;
|
|
3558
|
+
height: 40px;
|
|
3559
|
+
justify-content: center;
|
|
3560
|
+
left: 50%;
|
|
3561
|
+
position: absolute;
|
|
3562
|
+
top: 50%;
|
|
3563
|
+
transform: translate(-50%, -50%);
|
|
3564
|
+
width: 40px;
|
|
3565
|
+
z-index: -1;
|
|
3566
|
+
}
|
|
3567
|
+
.ods-datepicker .ods-datepicker__selectedMiddle {
|
|
3568
|
+
background-color: rgba(176, 245, 245, 0.24);
|
|
3569
|
+
}
|
|
3287
3570
|
/*# sourceMappingURL=ocean.css.map */
|