@useblu/ocean-core 1.40.0 → 1.41.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 CHANGED
@@ -3,6 +3,18 @@
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.41.0](https://github.com/ocean-ds/ocean-web/compare/v1.40.1...v1.41.0) (2023-02-09)
7
+
8
+ ### Features
9
+
10
+ - drawer component ([#1061](https://github.com/ocean-ds/ocean-web/issues/1061)) ([2659cf7](https://github.com/ocean-ds/ocean-web/commit/2659cf70effdd66b9e0993fd142980ece5047ab4))
11
+
12
+ ## [1.40.1](https://github.com/ocean-ds/ocean-web/compare/v1.40.0...v1.40.1) (2023-02-02)
13
+
14
+ ### Reverts
15
+
16
+ - Revert "feat: drawer component improvements" ([3124804](https://github.com/ocean-ds/ocean-web/commit/31248049e8124553a87522b4c98766ef20d66ee3))
17
+
6
18
  # [1.40.0](https://github.com/ocean-ds/ocean-web/compare/v1.39.7...v1.40.0) (2023-02-02)
7
19
 
8
20
  ### Features
package/ocean.css CHANGED
@@ -3734,4 +3734,82 @@
3734
3734
  cursor: pointer;
3735
3735
  text-decoration: underline;
3736
3736
  }
3737
+
3738
+ .ods-overlay {
3739
+ background-color: rgba(0, 0, 0, 0.5);
3740
+ height: 100%;
3741
+ opacity: 0;
3742
+ position: fixed;
3743
+ right: 0;
3744
+ top: 0;
3745
+ transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
3746
+ visibility: hidden;
3747
+ width: 100%;
3748
+ }
3749
+ .ods-overlay--open {
3750
+ opacity: 1;
3751
+ visibility: visible;
3752
+ z-index: 200;
3753
+ }
3754
+
3755
+ .ods-drawer {
3756
+ background-color: white;
3757
+ display: flex;
3758
+ flex-direction: column;
3759
+ flex-shrink: 0;
3760
+ height: 100%;
3761
+ left: auto;
3762
+ outline: 0;
3763
+ position: fixed;
3764
+ right: 0;
3765
+ top: 0;
3766
+ transform: translateX(100%);
3767
+ transition: all 335ms ease-out 0ms;
3768
+ visibility: hidden;
3769
+ width: 378px;
3770
+ }
3771
+ .ods-drawer--open {
3772
+ box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);
3773
+ transform: translateX(0);
3774
+ transition: all 200ms ease-out 0ms;
3775
+ visibility: visible;
3776
+ z-index: 400;
3777
+ }
3778
+ @media (max-width: 575.98px) {
3779
+ .ods-drawer--open {
3780
+ cursor: default;
3781
+ width: -webkit-fill-available;
3782
+ width: -moz-available;
3783
+ width: fill-available;
3784
+ }
3785
+ }
3786
+
3787
+ .ods-drawer__content--header {
3788
+ display: flex;
3789
+ height: 48px;
3790
+ padding: 0 24px;
3791
+ }
3792
+ .ods-drawer__content--header--left {
3793
+ justify-content: flex-start;
3794
+ }
3795
+ .ods-drawer__content--header--right {
3796
+ justify-content: flex-end;
3797
+ }
3798
+ .ods-drawer__content--header .ods-btn--primary {
3799
+ background: transparent;
3800
+ border: 0;
3801
+ color: #b6b9cc;
3802
+ cursor: pointer;
3803
+ height: 100%;
3804
+ min-width: 0;
3805
+ padding: 0;
3806
+ }
3807
+ @media (max-width: 575.98px) {
3808
+ .ods-drawer__content--header .ods-btn--primary {
3809
+ cursor: default;
3810
+ }
3811
+ }
3812
+ .ods-drawer__content--header .ods-btn--primary:hover {
3813
+ background-color: white;
3814
+ }
3737
3815
  /*# sourceMappingURL=ocean.css.map */