@useblu/ocean-core 1.115.0 → 1.117.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.117.0](https://github.com/ocean-ds/ocean-web/compare/v1.116.0...v1.117.0) (2025-12-08)
7
+
8
+ ### Features
9
+
10
+ - create list action ([#1204](https://github.com/ocean-ds/ocean-web/issues/1204)) ([e1ccd7e](https://github.com/ocean-ds/ocean-web/commit/e1ccd7ed29bf4da881081db93123d19ec1cc5511))
11
+
12
+ # [1.116.0](https://github.com/ocean-ds/ocean-web/compare/v1.115.0...v1.116.0) (2025-12-08)
13
+
14
+ ### Features
15
+
16
+ - 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))
17
+
6
18
  # [1.115.0](https://github.com/ocean-ds/ocean-web/compare/v1.114.0...v1.115.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,15 +2999,26 @@
2995
2999
  .ods-list .ods-transaction-list-item__sub-itens .ods-transaction-list-item {
2996
3000
  border: 0;
2997
3001
  }
2998
- .ods-list .ods-card-list-item,
2999
- .ods-list .ods-card-list-action {
3002
+ .ods-list .ods-card-list-item {
3000
3003
  border: 0;
3001
3004
  border-radius: 0;
3002
3005
  }
3003
- .ods-list .ods-card-list-item:not(:last-of-type),
3004
- .ods-list .ods-card-list-action:not(:last-of-type) {
3006
+ .ods-list .ods-card-list-item:not(:last-of-type) {
3005
3007
  border-bottom: 1px solid #e0e2ee;
3006
3008
  }
3009
+ .ods-list .ods-list-action__container .ods-list-action {
3010
+ border: 0;
3011
+ border-radius: 0;
3012
+ }
3013
+ .ods-list .ods-list-action__container:last-of-type > .ods-list-action__divider {
3014
+ border: 0;
3015
+ }
3016
+ .ods-list .ods-list-action__container:not(:last-of-type) > .ods-list-action--card {
3017
+ border-bottom: 1px solid #e0e2ee;
3018
+ }
3019
+ .ods-list .ods-list-selectable__root:last-of-type .ods-list-selectable__root--text--divider {
3020
+ display: none;
3021
+ }
3007
3022
 
3008
3023
  .ods-transaction-list-item__icon {
3009
3024
  align-items: center;
@@ -5935,7 +5950,7 @@
5935
5950
  text-decoration: line-through;
5936
5951
  }
5937
5952
 
5938
- .ods-card-list-action {
5953
+ .ods-list-action {
5939
5954
  align-items: center;
5940
5955
  background-color: white;
5941
5956
  border: 1px solid #ced1e1;
@@ -5949,59 +5964,139 @@
5949
5964
  transition: background-color 0.2s ease;
5950
5965
  width: 100%;
5951
5966
  }
5952
- .ods-card-list-action:hover:not(.ods-card-list-action--disabled):not(.ods-card-list-action--loading) {
5967
+ .ods-list-action__container {
5968
+ width: 100%;
5969
+ }
5970
+ .ods-list-action--card {
5971
+ border-color: #ced1e1;
5972
+ }
5973
+ .ods-list-action--text {
5974
+ border: 0;
5975
+ border-radius: 0;
5976
+ }
5977
+ .ods-list-action__divider {
5978
+ border-bottom: 1px solid #e0e2ee;
5979
+ margin: 0 16px;
5980
+ }
5981
+ .ods-list-action:hover:not(.ods-list-action--disabled):not(.ods-list-action--loading) {
5953
5982
  background-color: #f3f5fe;
5954
5983
  }
5955
- .ods-card-list-action:focus-visible {
5984
+ .ods-list-action:focus-visible {
5956
5985
  outline: 2px solid #0025e0;
5957
5986
  outline-offset: 2px;
5958
5987
  }
5959
- .ods-card-list-action:active:not(.ods-card-list-action--disabled):not(.ods-card-list-action--loading) {
5988
+ .ods-list-action:active:not(.ods-list-action--disabled):not(.ods-list-action--loading) {
5960
5989
  background-color: #ced1e1;
5961
5990
  }
5962
- .ods-card-list-action__icon {
5991
+ .ods-list-action__icon {
5963
5992
  align-items: center;
5964
5993
  color: #5872f5;
5965
5994
  display: flex;
5966
5995
  flex-shrink: 0;
5967
5996
  }
5968
- .ods-card-list-action__icon--inactive svg {
5997
+ .ods-list-action__icon--inactive svg {
5969
5998
  color: #ced1e1;
5970
5999
  }
5971
- .ods-card-list-action__trailing {
6000
+ .ods-list-action__trailing {
5972
6001
  align-items: center;
5973
6002
  display: flex;
5974
6003
  flex-shrink: 0;
5975
6004
  gap: 8px;
5976
6005
  margin-left: auto;
5977
6006
  }
5978
- .ods-card-list-action__action {
6007
+ .ods-list-action__action {
5979
6008
  align-items: center;
5980
6009
  display: flex;
5981
6010
  flex-shrink: 0;
5982
6011
  }
5983
- .ods-card-list-action__action svg {
6012
+ .ods-list-action__action svg {
5984
6013
  color: #aaadc0;
5985
6014
  }
5986
- .ods-card-list-action__skeleton {
6015
+ .ods-list-action__skeleton {
5987
6016
  display: flex;
5988
6017
  flex-direction: column;
5989
6018
  gap: 8px;
5990
6019
  width: 100%;
5991
6020
  }
5992
- .ods-card-list-action__skeleton .ods-skeleton-bar {
6021
+ .ods-list-action__skeleton .ods-skeleton-bar {
5993
6022
  max-width: 100%;
5994
6023
  }
5995
- .ods-card-list-action--loading {
6024
+ .ods-list-action--loading {
5996
6025
  cursor: default;
6026
+ padding-right: 16px;
5997
6027
  pointer-events: none;
5998
6028
  }
5999
- .ods-card-list-action--disabled {
6029
+ .ods-list-action--disabled {
6000
6030
  cursor: not-allowed;
6001
6031
  opacity: 0.6;
6002
6032
  }
6003
6033
 
6004
- .ods-card-list-action--swipe-mode .ods-card-list-action__indicator {
6034
+ .ods-list-action--swipe-mode .ods-list-action__indicator {
6005
6035
  margin-right: 24px;
6006
6036
  }
6037
+
6038
+ .ods-list-selectable__indicator {
6039
+ margin-left: 12px;
6040
+ }
6041
+ .ods-list-selectable__indicator--app {
6042
+ margin-right: 8px;
6043
+ }
6044
+ .ods-list-selectable .ods-checkbox__root,
6045
+ .ods-list-selectable .ods-radio__root {
6046
+ align-items: center;
6047
+ background-color: white;
6048
+ padding: 16px;
6049
+ }
6050
+ .ods-list-selectable .ods-checkbox__root:hover, .ods-list-selectable .ods-checkbox__root:focus,
6051
+ .ods-list-selectable .ods-radio__root:hover,
6052
+ .ods-list-selectable .ods-radio__root:focus {
6053
+ background-color: #f3f5fe;
6054
+ cursor: pointer;
6055
+ }
6056
+ .ods-list-selectable .ods-checkbox__label,
6057
+ .ods-list-selectable .ods-radio__label {
6058
+ align-items: center;
6059
+ display: flex;
6060
+ padding-left: 16px;
6061
+ width: 100%;
6062
+ }
6063
+ .ods-list-selectable--loading {
6064
+ cursor: default;
6065
+ display: flex;
6066
+ flex-direction: column;
6067
+ gap: 8px;
6068
+ pointer-events: none;
6069
+ }
6070
+ .ods-list-selectable--app .ods-checkbox__root,
6071
+ .ods-list-selectable--app .ods-radio__root {
6072
+ display: flex;
6073
+ flex-direction: row-reverse;
6074
+ }
6075
+
6076
+ .ods-list-selectable--disabled {
6077
+ background-color: transparent;
6078
+ cursor: not-allowed;
6079
+ }
6080
+ .ods-list-selectable--disabled .ods-checkbox__root:hover, .ods-list-selectable--disabled .ods-checkbox__root:focus,
6081
+ .ods-list-selectable--disabled .ods-radio__root:hover,
6082
+ .ods-list-selectable--disabled .ods-radio__root:focus {
6083
+ background-color: transparent;
6084
+ cursor: not-allowed;
6085
+ }
6086
+
6087
+ .ods-list-selectable__root {
6088
+ overflow: hidden;
6089
+ }
6090
+ .ods-list-selectable__root--card {
6091
+ border: 1px solid #e0e2ee;
6092
+ border-radius: 8px;
6093
+ }
6094
+ .ods-list-selectable__root--card--error {
6095
+ border-color: #f5456e;
6096
+ }
6097
+ .ods-list-selectable__root--text--divider {
6098
+ background-color: #e0e2ee;
6099
+ height: 1px;
6100
+ margin: 0 16px;
6101
+ }
6007
6102
  /*# sourceMappingURL=ocean.css.map */