@useblu/ocean-core 1.132.0 → 1.133.1

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,16 @@
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.133.1](https://github.com/ocean-ds/ocean-web/compare/v1.133.0...v1.133.1) (2026-03-06)
7
+
8
+ **Note:** Version bump only for package @useblu/ocean-core
9
+
10
+ # [1.133.0](https://github.com/ocean-ds/ocean-web/compare/v1.132.0...v1.133.0) (2026-03-05)
11
+
12
+ ### Features
13
+
14
+ - create TransactionListExpandable ([#1228](https://github.com/ocean-ds/ocean-web/issues/1228)) ([2bb4832](https://github.com/ocean-ds/ocean-web/commit/2bb48326df10a830d940990d7881070ddde1d805))
15
+
6
16
  # [1.132.0](https://github.com/ocean-ds/ocean-web/compare/v1.131.0...v1.132.0) (2026-03-03)
7
17
 
8
18
  ### Features
package/ocean.css CHANGED
@@ -6210,6 +6210,59 @@
6210
6210
  text-decoration: line-through;
6211
6211
  }
6212
6212
 
6213
+ .ods-amount-details {
6214
+ align-items: flex-end;
6215
+ display: flex;
6216
+ flex-direction: column;
6217
+ flex-shrink: 0;
6218
+ gap: 4px;
6219
+ }
6220
+ .ods-amount-details__main {
6221
+ align-items: flex-end;
6222
+ display: flex;
6223
+ flex-direction: column;
6224
+ }
6225
+ .ods-amount-details__amount {
6226
+ color: #67697a;
6227
+ font-family: "Nunito Sans";
6228
+ font-size: 14px;
6229
+ font-weight: 600;
6230
+ line-height: 1.5;
6231
+ margin: 0;
6232
+ text-align: right;
6233
+ white-space: nowrap;
6234
+ }
6235
+ .ods-amount-details__amount--positive {
6236
+ color: #2da94f;
6237
+ }
6238
+ .ods-amount-details__amount-row {
6239
+ align-items: center;
6240
+ display: flex;
6241
+ flex-direction: row;
6242
+ gap: 4px;
6243
+ justify-content: flex-end;
6244
+ }
6245
+ .ods-amount-details__amount-sign {
6246
+ color: #67697a;
6247
+ font-family: "Nunito Sans";
6248
+ font-size: 14px;
6249
+ font-weight: 600;
6250
+ line-height: 1.5;
6251
+ }
6252
+ .ods-amount-details__caption {
6253
+ text-align: right;
6254
+ white-space: nowrap;
6255
+ }
6256
+ .ods-amount-details__indicator {
6257
+ display: flex;
6258
+ }
6259
+ .ods-amount-details__indicator--medium .ods-tag {
6260
+ font-size: 12px;
6261
+ font-weight: 600;
6262
+ line-height: 12px;
6263
+ padding: 4px 8px;
6264
+ }
6265
+
6213
6266
  .ods-list-action {
6214
6267
  align-items: center;
6215
6268
  background-color: white;
@@ -6244,7 +6297,6 @@
6244
6297
  border-radius: 0;
6245
6298
  }
6246
6299
  .ods-list-action__divider {
6247
- border-bottom: 1px solid #e0e2ee;
6248
6300
  margin: 0 16px;
6249
6301
  }
6250
6302
  .ods-list-action:hover:not(.ods-list-action--disabled):not(.ods-list-action--loading):not(.ods-list-action--swipe-open) {
@@ -6257,6 +6309,23 @@
6257
6309
  .ods-list-action:active:not(.ods-list-action--disabled):not(.ods-list-action--loading):not(.ods-list-action--swipe-open) {
6258
6310
  background-color: #ced1e1;
6259
6311
  }
6312
+ .ods-list-action__position {
6313
+ align-items: center;
6314
+ align-self: stretch;
6315
+ display: flex;
6316
+ flex-direction: column;
6317
+ flex-shrink: 0;
6318
+ margin-bottom: -16px;
6319
+ margin-top: -16px;
6320
+ width: 24px;
6321
+ }
6322
+ .ods-list-action__position-line {
6323
+ flex: 1;
6324
+ width: 1px;
6325
+ }
6326
+ .ods-list-action__position-line--visible {
6327
+ background-color: #e0e2ee;
6328
+ }
6260
6329
  .ods-list-action__icon {
6261
6330
  align-items: center;
6262
6331
  color: #5872f5;
@@ -6459,6 +6528,66 @@
6459
6528
  border: 0;
6460
6529
  border-radius: 0;
6461
6530
  }
6531
+ .ods-list-expandable--transaction .ods-list-expandable__icon {
6532
+ color: #aaadc0;
6533
+ }
6534
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content {
6535
+ align-items: center;
6536
+ display: flex;
6537
+ flex: 1;
6538
+ gap: 12px;
6539
+ min-width: 0;
6540
+ }
6541
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content .ods-content-list {
6542
+ flex: 1;
6543
+ min-width: 0;
6544
+ }
6545
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content .ods-amount-details {
6546
+ flex-shrink: 0;
6547
+ }
6548
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content .ods-amount-details__amount:not(.ods-amount-details__amount--positive),
6549
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content .ods-amount-details__amount-sign {
6550
+ color: #393b47;
6551
+ }
6552
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content .ods-amount-details__amount,
6553
+ .ods-list-expandable--transaction .ods-list-expandable__transaction-content .ods-amount-details__amount-sign {
6554
+ font-size: 16px;
6555
+ }
6556
+ .ods-list-expandable--transaction .ods-list-expandable__content--transaction .ods-list-action {
6557
+ padding: 12px 8px 12px 16px;
6558
+ }
6559
+ .ods-list-expandable--transaction .ods-list-expandable__content--transaction .ods-list-action__icon {
6560
+ padding: 4px;
6561
+ }
6562
+ .ods-list-expandable--transaction .ods-list-expandable__content--transaction .ods-typography__paragraph {
6563
+ font-size: 14px;
6564
+ }
6565
+ .ods-list-expandable--transaction .ods-list-expandable__content--transaction .ods-typography__description {
6566
+ font-size: 12px;
6567
+ font-weight: 600;
6568
+ }
6569
+ .ods-list-expandable--transaction .ods-list-expandable__skeleton.ods-list-expandable__transaction-content {
6570
+ flex-direction: row;
6571
+ gap: 12px;
6572
+ }
6573
+ .ods-list-expandable--transaction .ods-list-expandable__skeleton.ods-list-expandable__transaction-content .ods-skeleton-bar {
6574
+ width: auto;
6575
+ }
6576
+ .ods-list-expandable--transaction .ods-list-expandable__skeleton-list {
6577
+ display: flex;
6578
+ flex: 1;
6579
+ flex-direction: column;
6580
+ gap: 8px;
6581
+ min-width: 0;
6582
+ }
6583
+ .ods-list-expandable--transaction .ods-list-expandable__skeleton-amount {
6584
+ align-items: flex-end;
6585
+ display: flex;
6586
+ flex-direction: column;
6587
+ flex-shrink: 0;
6588
+ gap: 8px;
6589
+ width: 86px;
6590
+ }
6462
6591
  .ods-list-expandable__main {
6463
6592
  align-items: center;
6464
6593
  background-color: transparent;
@@ -6472,7 +6601,7 @@
6472
6601
  transition: background-color 0.2s ease;
6473
6602
  width: 100%;
6474
6603
  }
6475
- .ods-list-expandable__main:hover:not(.ods-card-list-expandable--loading .ods-list-expandable__main) {
6604
+ .ods-list-expandable__main:hover:not(.ods-list-expandable--loading .ods-list-expandable__main) {
6476
6605
  background-color: #f3f5fe;
6477
6606
  }
6478
6607
  .ods-list-expandable__main:focus-visible {
@@ -6515,6 +6644,20 @@
6515
6644
  width: 100%;
6516
6645
  word-wrap: break-word;
6517
6646
  }
6647
+ .ods-list-expandable__footer {
6648
+ align-items: center;
6649
+ color: #aaadc0;
6650
+ display: flex;
6651
+ flex-direction: column;
6652
+ font-family: "Nunito Sans";
6653
+ font-size: 12px;
6654
+ font-weight: 600;
6655
+ justify-content: center;
6656
+ line-height: 1.5;
6657
+ padding: 12px 0 24px;
6658
+ text-align: center;
6659
+ width: 100%;
6660
+ }
6518
6661
  .ods-list-expandable__skeleton {
6519
6662
  box-sizing: border-box;
6520
6663
  display: flex;
@@ -6531,11 +6674,15 @@
6531
6674
  box-sizing: border-box;
6532
6675
  cursor: default;
6533
6676
  overflow: hidden;
6677
+ padding: 16px;
6534
6678
  pointer-events: none;
6535
6679
  }
6536
6680
  .ods-list-expandable--expanded .ods-list-expandable__main:hover {
6537
6681
  background-color: #f3f5fe;
6538
6682
  }
6683
+ .ods-list-expandable--show-hover .ods-list-expandable__main {
6684
+ background-color: #f3f5fe;
6685
+ }
6539
6686
 
6540
6687
  .ods-list-selectable__indicator {
6541
6688
  margin-left: 12px;