@digital-b2c/coreui-kit 0.10.1 → 0.10.2

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/index.css CHANGED
@@ -724,6 +724,11 @@ a:hover.Card_module_card {
724
724
  white-space: nowrap;
725
725
  animation: FilterBar_module_searchExpand 0.25s ease forwards;
726
726
  }
727
+ @media (max-width: 768px) {
728
+ .FilterBar_module_searchExpanded {
729
+ max-width: calc(100vw - 150px);
730
+ }
731
+ }
727
732
  .FilterBar_module_searchCollapsing {
728
733
  animation: FilterBar_module_searchCollapse 0.25s ease forwards;
729
734
  }
@@ -808,24 +813,33 @@ a:hover.Card_module_card {
808
813
  flex-direction: column;
809
814
  gap: 4px;
810
815
  }
811
- .FilterBar_module_searchPanel {
812
- position: absolute;
813
- top: calc(100% + 6px);
814
- right: 0;
815
- z-index: 100;
816
- display: flex;
817
- align-items: center;
818
- gap: 8px;
819
- width: min(240px, 100vw - 32px);
820
- padding: 8px 16px;
821
- background: white;
822
- border: 1px solid #4d4d4d;
823
- border-radius: 16px;
824
- box-shadow:
825
- 0 0 3px rgba(54, 54, 54, 0.1),
826
- 0 0 6px rgba(54, 54, 54, 0.09),
827
- 0 0 8px rgba(54, 54, 54, 0.05),
828
- 0 0 9px rgba(54, 54, 54, 0.01);
816
+ .FilterBar_module_filterFaded {
817
+ animation: FilterBar_module_filterFadeOut 0.25s ease forwards;
818
+ pointer-events: none;
819
+ }
820
+ .FilterBar_module_filterFading {
821
+ animation: FilterBar_module_filterFadeIn 0.25s ease forwards;
822
+ }
823
+ @keyframes FilterBar_module_filterFadeOut {
824
+ from {
825
+ opacity: 1;
826
+ max-width: 120px;
827
+ }
828
+ to {
829
+ opacity: 0;
830
+ max-width: 0;
831
+ overflow: hidden;
832
+ }
833
+ }
834
+ @keyframes FilterBar_module_filterFadeIn {
835
+ from {
836
+ opacity: 0;
837
+ max-width: 0;
838
+ }
839
+ to {
840
+ opacity: 1;
841
+ max-width: 120px;
842
+ }
829
843
  }
830
844
  .FilterBar_module_dropdownOption {
831
845
  display: flex;
@@ -845,6 +859,9 @@ a:hover.Card_module_card {
845
859
  width: 100%;
846
860
  text-align: left;
847
861
  }
862
+ .FilterBar_module_dropdownOption:hover:not(.FilterBar_module_selected) {
863
+ background: var(--neutral-50, #ededed);
864
+ }
848
865
  .FilterBar_module_dropdownOption.FilterBar_module_selected {
849
866
  background: var(--base-black, #080808);
850
867
  color: white;