@useblu/ocean-core 1.114.0 → 1.115.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,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.115.0](https://github.com/ocean-ds/ocean-web/compare/v1.114.0...v1.115.0) (2025-12-04)
7
+
8
+ ### Features
9
+
10
+ - create card list actions ([#1195](https://github.com/ocean-ds/ocean-web/issues/1195)) ([0afb053](https://github.com/ocean-ds/ocean-web/commit/0afb053fb607314e9a95537bf72eeb26c47d0893))
11
+
6
12
  # [1.114.0](https://github.com/ocean-ds/ocean-web/compare/v1.113.2...v1.114.0) (2025-12-04)
7
13
 
8
14
  ### Features
package/ocean.css CHANGED
@@ -2995,6 +2995,15 @@
2995
2995
  .ods-list .ods-transaction-list-item__sub-itens .ods-transaction-list-item {
2996
2996
  border: 0;
2997
2997
  }
2998
+ .ods-list .ods-card-list-item,
2999
+ .ods-list .ods-card-list-action {
3000
+ border: 0;
3001
+ border-radius: 0;
3002
+ }
3003
+ .ods-list .ods-card-list-item:not(:last-of-type),
3004
+ .ods-list .ods-card-list-action:not(:last-of-type) {
3005
+ border-bottom: 1px solid #e0e2ee;
3006
+ }
2998
3007
 
2999
3008
  .ods-transaction-list-item__icon {
3000
3009
  align-items: center;
@@ -5884,67 +5893,115 @@
5884
5893
  }
5885
5894
 
5886
5895
  .ods-content-list {
5887
- align-items: center;
5888
- display: flex;
5889
- gap: 16px;
5890
- justify-content: space-between;
5891
- padding: 16px;
5892
- }
5893
- .ods-content-list__content {
5894
5896
  display: flex;
5897
+ flex: 1;
5895
5898
  flex-direction: column;
5899
+ min-width: 0;
5896
5900
  }
5897
- .ods-content-list__content .ods-typography__tag {
5898
- align-items: center;
5899
- display: flex;
5900
- gap: 4px;
5901
- }
5902
- .ods-content-list__content .ods-typography__paragraph {
5903
- color: #0c0d14;
5901
+ .ods-content-list .ods-typography__paragraph {
5902
+ color: #393b47;
5904
5903
  }
5905
- .ods-content-list__content .ods-typography__captionbold {
5906
- margin-top: 8px;
5904
+ .ods-content-list .ods-typography__description {
5905
+ color: #67697a;
5907
5906
  }
5908
- .ods-content-list__content .ods-typography__caption {
5909
- color: #f5456e;
5910
- margin-top: 8px;
5907
+ .ods-content-list .ods-typography__captionbold {
5908
+ color: #67697a;
5909
+ margin-top: 4px;
5911
5910
  }
5912
- .ods-content-list__content .ods-typography__paragraph--inactive {
5911
+ .ods-content-list .ods-typography__paragraph--inactive {
5913
5912
  color: #aaadc0;
5914
5913
  }
5915
- .ods-content-list__content .ods-typography__paragraph--positive {
5914
+ .ods-content-list .ods-typography__paragraph--positive {
5916
5915
  color: #2da94f;
5917
5916
  }
5918
- .ods-content-list__content .ods-typography__paragraph--warning {
5917
+ .ods-content-list .ods-typography__paragraph--warning {
5919
5918
  color: #ff8a14;
5920
5919
  }
5921
- .ods-content-list__content .ods-typography__paragraph--highlight {
5920
+ .ods-content-list .ods-typography__paragraph--highlight {
5922
5921
  color: #393b47;
5923
5922
  font-weight: 700;
5924
5923
  }
5925
- .ods-content-list__content .ods-typography__paragraph--highlight-lead {
5924
+ .ods-content-list .ods-typography__paragraph--highlight-lead {
5926
5925
  color: #393b47;
5927
5926
  font-size: 20px;
5928
5927
  font-weight: 700;
5929
5928
  }
5930
- .ods-content-list__content .ods-typography__paragraph--strikethrough {
5929
+ .ods-content-list .ods-typography__paragraph--strikethrough {
5931
5930
  color: #2da94f;
5932
5931
  }
5933
- .ods-content-list__content .ods-typography__paragraph--strikethrough-text {
5932
+ .ods-content-list .ods-typography__paragraph--strikethrough-text {
5934
5933
  color: #aaadc0;
5935
5934
  margin-right: 4px;
5936
5935
  text-decoration: line-through;
5937
5936
  }
5938
- .ods-content-list--disabled {
5939
- cursor: not-allowed;
5937
+
5938
+ .ods-card-list-action {
5939
+ align-items: center;
5940
+ background-color: white;
5941
+ border: 1px solid #ced1e1;
5942
+ border-radius: 8px;
5943
+ cursor: pointer;
5944
+ display: flex;
5945
+ gap: 12px;
5946
+ padding: 16px 8px 16px 16px;
5947
+ position: relative;
5948
+ text-align: left;
5949
+ transition: background-color 0.2s ease;
5950
+ width: 100%;
5951
+ }
5952
+ .ods-card-list-action:hover:not(.ods-card-list-action--disabled):not(.ods-card-list-action--loading) {
5953
+ background-color: #f3f5fe;
5954
+ }
5955
+ .ods-card-list-action:focus-visible {
5956
+ outline: 2px solid #0025e0;
5957
+ outline-offset: 2px;
5958
+ }
5959
+ .ods-card-list-action:active:not(.ods-card-list-action--disabled):not(.ods-card-list-action--loading) {
5960
+ background-color: #ced1e1;
5961
+ }
5962
+ .ods-card-list-action__icon {
5963
+ align-items: center;
5964
+ color: #5872f5;
5965
+ display: flex;
5966
+ flex-shrink: 0;
5967
+ }
5968
+ .ods-card-list-action__icon--inactive svg {
5969
+ color: #ced1e1;
5970
+ }
5971
+ .ods-card-list-action__trailing {
5972
+ align-items: center;
5973
+ display: flex;
5974
+ flex-shrink: 0;
5975
+ gap: 8px;
5976
+ margin-left: auto;
5940
5977
  }
5941
- .ods-content-list--disabled .ods-typography {
5978
+ .ods-card-list-action__action {
5979
+ align-items: center;
5980
+ display: flex;
5981
+ flex-shrink: 0;
5982
+ }
5983
+ .ods-card-list-action__action svg {
5942
5984
  color: #aaadc0;
5943
5985
  }
5944
- .ods-content-list__skeleton {
5986
+ .ods-card-list-action__skeleton {
5945
5987
  display: flex;
5946
5988
  flex-direction: column;
5947
5989
  gap: 8px;
5948
5990
  width: 100%;
5949
5991
  }
5992
+ .ods-card-list-action__skeleton .ods-skeleton-bar {
5993
+ max-width: 100%;
5994
+ }
5995
+ .ods-card-list-action--loading {
5996
+ cursor: default;
5997
+ pointer-events: none;
5998
+ }
5999
+ .ods-card-list-action--disabled {
6000
+ cursor: not-allowed;
6001
+ opacity: 0.6;
6002
+ }
6003
+
6004
+ .ods-card-list-action--swipe-mode .ods-card-list-action__indicator {
6005
+ margin-right: 24px;
6006
+ }
5950
6007
  /*# sourceMappingURL=ocean.css.map */