@useblu/ocean-core 1.114.0 → 1.116.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.116.0](https://github.com/ocean-ds/ocean-web/compare/v1.115.0...v1.116.0) (2025-12-08)
7
+
8
+ ### Features
9
+
10
+ - create text list selectable component ([#1199](https://github.com/ocean-ds/ocean-web/issues/1199)) ([b92601d](https://github.com/ocean-ds/ocean-web/commit/b92601d0702cc23c58b9ad749ab5f097c4d4051f))
11
+
12
+ # [1.115.0](https://github.com/ocean-ds/ocean-web/compare/v1.114.0...v1.115.0) (2025-12-04)
13
+
14
+ ### Features
15
+
16
+ - create card list actions ([#1195](https://github.com/ocean-ds/ocean-web/issues/1195)) ([0afb053](https://github.com/ocean-ds/ocean-web/commit/0afb053fb607314e9a95537bf72eeb26c47d0893))
17
+
6
18
  # [1.114.0](https://github.com/ocean-ds/ocean-web/compare/v1.113.2...v1.114.0) (2025-12-04)
7
19
 
8
20
  ### Features
package/ocean.css CHANGED
@@ -1608,7 +1608,7 @@
1608
1608
  width: 0;
1609
1609
  }
1610
1610
  .ods-radio__root {
1611
- display: inline-flex;
1611
+ display: flex;
1612
1612
  -webkit-user-select: none;
1613
1613
  -moz-user-select: none;
1614
1614
  -ms-user-select: none;
@@ -1633,6 +1633,9 @@
1633
1633
  min-width: 20px;
1634
1634
  width: 20px;
1635
1635
  }
1636
+ .ods-radio__checkmark--error {
1637
+ border-color: #f5456e;
1638
+ }
1636
1639
  .ods-radio:checked ~ .ods-radio__checkmark {
1637
1640
  border-width: 6px;
1638
1641
  }
@@ -1647,6 +1650,7 @@
1647
1650
  cursor: not-allowed;
1648
1651
  }
1649
1652
  .ods-radio:disabled:not(:checked) ~ .ods-radio__checkmark {
1653
+ background-color: white;
1650
1654
  border-color: #ced1e1;
1651
1655
  }
1652
1656
 
@@ -2995,6 +2999,18 @@
2995
2999
  .ods-list .ods-transaction-list-item__sub-itens .ods-transaction-list-item {
2996
3000
  border: 0;
2997
3001
  }
3002
+ .ods-list .ods-card-list-item,
3003
+ .ods-list .ods-card-list-action {
3004
+ border: 0;
3005
+ border-radius: 0;
3006
+ }
3007
+ .ods-list .ods-card-list-item:not(:last-of-type),
3008
+ .ods-list .ods-card-list-action:not(:last-of-type) {
3009
+ border-bottom: 1px solid #e0e2ee;
3010
+ }
3011
+ .ods-list .ods-list-selectable__root:last-of-type .ods-list-selectable__root--text--divider {
3012
+ display: none;
3013
+ }
2998
3014
 
2999
3015
  .ods-transaction-list-item__icon {
3000
3016
  align-items: center;
@@ -5884,67 +5900,180 @@
5884
5900
  }
5885
5901
 
5886
5902
  .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
5903
  display: flex;
5904
+ flex: 1;
5895
5905
  flex-direction: column;
5906
+ min-width: 0;
5896
5907
  }
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;
5908
+ .ods-content-list .ods-typography__paragraph {
5909
+ color: #393b47;
5904
5910
  }
5905
- .ods-content-list__content .ods-typography__captionbold {
5906
- margin-top: 8px;
5911
+ .ods-content-list .ods-typography__description {
5912
+ color: #67697a;
5907
5913
  }
5908
- .ods-content-list__content .ods-typography__caption {
5909
- color: #f5456e;
5910
- margin-top: 8px;
5914
+ .ods-content-list .ods-typography__captionbold {
5915
+ color: #67697a;
5916
+ margin-top: 4px;
5911
5917
  }
5912
- .ods-content-list__content .ods-typography__paragraph--inactive {
5918
+ .ods-content-list .ods-typography__paragraph--inactive {
5913
5919
  color: #aaadc0;
5914
5920
  }
5915
- .ods-content-list__content .ods-typography__paragraph--positive {
5921
+ .ods-content-list .ods-typography__paragraph--positive {
5916
5922
  color: #2da94f;
5917
5923
  }
5918
- .ods-content-list__content .ods-typography__paragraph--warning {
5924
+ .ods-content-list .ods-typography__paragraph--warning {
5919
5925
  color: #ff8a14;
5920
5926
  }
5921
- .ods-content-list__content .ods-typography__paragraph--highlight {
5927
+ .ods-content-list .ods-typography__paragraph--highlight {
5922
5928
  color: #393b47;
5923
5929
  font-weight: 700;
5924
5930
  }
5925
- .ods-content-list__content .ods-typography__paragraph--highlight-lead {
5931
+ .ods-content-list .ods-typography__paragraph--highlight-lead {
5926
5932
  color: #393b47;
5927
5933
  font-size: 20px;
5928
5934
  font-weight: 700;
5929
5935
  }
5930
- .ods-content-list__content .ods-typography__paragraph--strikethrough {
5936
+ .ods-content-list .ods-typography__paragraph--strikethrough {
5931
5937
  color: #2da94f;
5932
5938
  }
5933
- .ods-content-list__content .ods-typography__paragraph--strikethrough-text {
5939
+ .ods-content-list .ods-typography__paragraph--strikethrough-text {
5934
5940
  color: #aaadc0;
5935
5941
  margin-right: 4px;
5936
5942
  text-decoration: line-through;
5937
5943
  }
5938
- .ods-content-list--disabled {
5944
+
5945
+ .ods-list-selectable__indicator {
5946
+ margin-left: 12px;
5947
+ }
5948
+ .ods-list-selectable__indicator--app {
5949
+ margin-right: 8px;
5950
+ }
5951
+ .ods-list-selectable .ods-checkbox__root,
5952
+ .ods-list-selectable .ods-radio__root {
5953
+ align-items: center;
5954
+ background-color: white;
5955
+ padding: 16px;
5956
+ }
5957
+ .ods-list-selectable .ods-checkbox__root:hover, .ods-list-selectable .ods-checkbox__root:focus,
5958
+ .ods-list-selectable .ods-radio__root:hover,
5959
+ .ods-list-selectable .ods-radio__root:focus {
5960
+ background-color: #f3f5fe;
5961
+ cursor: pointer;
5962
+ }
5963
+ .ods-list-selectable .ods-checkbox__label,
5964
+ .ods-list-selectable .ods-radio__label {
5965
+ align-items: center;
5966
+ display: flex;
5967
+ padding-left: 16px;
5968
+ width: 100%;
5969
+ }
5970
+ .ods-list-selectable--loading {
5971
+ cursor: default;
5972
+ display: flex;
5973
+ flex-direction: column;
5974
+ gap: 8px;
5975
+ pointer-events: none;
5976
+ }
5977
+ .ods-list-selectable--app .ods-checkbox__root,
5978
+ .ods-list-selectable--app .ods-radio__root {
5979
+ display: flex;
5980
+ flex-direction: row-reverse;
5981
+ }
5982
+
5983
+ .ods-list-selectable--disabled {
5984
+ background-color: transparent;
5985
+ cursor: not-allowed;
5986
+ }
5987
+ .ods-list-selectable--disabled .ods-checkbox__root:hover, .ods-list-selectable--disabled .ods-checkbox__root:focus,
5988
+ .ods-list-selectable--disabled .ods-radio__root:hover,
5989
+ .ods-list-selectable--disabled .ods-radio__root:focus {
5990
+ background-color: transparent;
5939
5991
  cursor: not-allowed;
5940
5992
  }
5941
- .ods-content-list--disabled .ods-typography {
5993
+
5994
+ .ods-list-selectable__root {
5995
+ overflow: hidden;
5996
+ }
5997
+ .ods-list-selectable__root--card {
5998
+ border: 1px solid #e0e2ee;
5999
+ border-radius: 8px;
6000
+ }
6001
+ .ods-list-selectable__root--card--error {
6002
+ border-color: #f5456e;
6003
+ }
6004
+ .ods-list-selectable__root--text--divider {
6005
+ background-color: #e0e2ee;
6006
+ height: 1px;
6007
+ margin: 0 16px;
6008
+ }
6009
+
6010
+ .ods-card-list-action {
6011
+ align-items: center;
6012
+ background-color: white;
6013
+ border: 1px solid #ced1e1;
6014
+ border-radius: 8px;
6015
+ cursor: pointer;
6016
+ display: flex;
6017
+ gap: 12px;
6018
+ padding: 16px 8px 16px 16px;
6019
+ position: relative;
6020
+ text-align: left;
6021
+ transition: background-color 0.2s ease;
6022
+ width: 100%;
6023
+ }
6024
+ .ods-card-list-action:hover:not(.ods-card-list-action--disabled):not(.ods-card-list-action--loading) {
6025
+ background-color: #f3f5fe;
6026
+ }
6027
+ .ods-card-list-action:focus-visible {
6028
+ outline: 2px solid #0025e0;
6029
+ outline-offset: 2px;
6030
+ }
6031
+ .ods-card-list-action:active:not(.ods-card-list-action--disabled):not(.ods-card-list-action--loading) {
6032
+ background-color: #ced1e1;
6033
+ }
6034
+ .ods-card-list-action__icon {
6035
+ align-items: center;
6036
+ color: #5872f5;
6037
+ display: flex;
6038
+ flex-shrink: 0;
6039
+ }
6040
+ .ods-card-list-action__icon--inactive svg {
6041
+ color: #ced1e1;
6042
+ }
6043
+ .ods-card-list-action__trailing {
6044
+ align-items: center;
6045
+ display: flex;
6046
+ flex-shrink: 0;
6047
+ gap: 8px;
6048
+ margin-left: auto;
6049
+ }
6050
+ .ods-card-list-action__action {
6051
+ align-items: center;
6052
+ display: flex;
6053
+ flex-shrink: 0;
6054
+ }
6055
+ .ods-card-list-action__action svg {
5942
6056
  color: #aaadc0;
5943
6057
  }
5944
- .ods-content-list__skeleton {
6058
+ .ods-card-list-action__skeleton {
5945
6059
  display: flex;
5946
6060
  flex-direction: column;
5947
6061
  gap: 8px;
5948
6062
  width: 100%;
5949
6063
  }
6064
+ .ods-card-list-action__skeleton .ods-skeleton-bar {
6065
+ max-width: 100%;
6066
+ }
6067
+ .ods-card-list-action--loading {
6068
+ cursor: default;
6069
+ pointer-events: none;
6070
+ }
6071
+ .ods-card-list-action--disabled {
6072
+ cursor: not-allowed;
6073
+ opacity: 0.6;
6074
+ }
6075
+
6076
+ .ods-card-list-action--swipe-mode .ods-card-list-action__indicator {
6077
+ margin-right: 24px;
6078
+ }
5950
6079
  /*# sourceMappingURL=ocean.css.map */