@useblu/ocean-core 1.126.0 → 1.128.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.128.0](https://github.com/ocean-ds/ocean-web/compare/v1.127.0...v1.128.0) (2026-02-04)
7
+
8
+ ### Features
9
+
10
+ - create new Button variants ([#1222](https://github.com/ocean-ds/ocean-web/issues/1222)) ([7db9ec6](https://github.com/ocean-ds/ocean-web/commit/7db9ec6c24ea52241ebb63c2303c62937e3c27a3))
11
+
12
+ # [1.127.0](https://github.com/ocean-ds/ocean-web/compare/v1.126.0...v1.127.0) (2026-01-14)
13
+
14
+ ### Features
15
+
16
+ - include error message on radio ([#1216](https://github.com/ocean-ds/ocean-web/issues/1216)) ([6159438](https://github.com/ocean-ds/ocean-web/commit/6159438dadcf7058674da365e2b0d3b974859baf))
17
+
6
18
  # [1.126.0](https://github.com/ocean-ds/ocean-web/compare/v1.125.1...v1.126.0) (2026-01-14)
7
19
 
8
20
  ### Features
package/ocean.css CHANGED
@@ -1628,6 +1628,11 @@
1628
1628
  position: absolute;
1629
1629
  width: 0;
1630
1630
  }
1631
+ .ods-radio__root-container {
1632
+ display: flex;
1633
+ flex-direction: column;
1634
+ gap: 8px;
1635
+ }
1631
1636
  .ods-radio__root {
1632
1637
  display: flex;
1633
1638
  -webkit-user-select: none;
@@ -1657,6 +1662,13 @@
1657
1662
  .ods-radio__checkmark--error {
1658
1663
  border-color: #f5456e;
1659
1664
  }
1665
+ .ods-radio__error-message {
1666
+ color: #f5456e;
1667
+ font-family: "Nunito Sans";
1668
+ font-size: 12px;
1669
+ font-weight: 600;
1670
+ line-height: 1;
1671
+ }
1660
1672
  .ods-radio:checked ~ .ods-radio__checkmark {
1661
1673
  border-width: 6px;
1662
1674
  }
@@ -2225,6 +2237,20 @@
2225
2237
  .ods-btn--primary-critical:active {
2226
2238
  background-color: #d31441;
2227
2239
  }
2240
+ .ods-btn--primary-warning {
2241
+ background-color: #ff8a14;
2242
+ color: white;
2243
+ }
2244
+ .ods-btn--primary-warning:hover {
2245
+ background-color: #ffa347;
2246
+ }
2247
+ .ods-btn--primary-warning:focus {
2248
+ background-color: #ffa347;
2249
+ }
2250
+ .ods-btn--primary-warning:active {
2251
+ background: linear-gradient(0deg, rgba(12, 13, 20, 0.12) 0%, rgba(12, 13, 20, 0.12) 100%), #ff8a14;
2252
+ border-radius: 500px;
2253
+ }
2228
2254
  .ods-btn--secondary {
2229
2255
  background-color: #f3f5fe;
2230
2256
  color: #0025e0;
@@ -2243,32 +2269,114 @@
2243
2269
  color: #f5456e;
2244
2270
  }
2245
2271
  .ods-btn--secondary-critical:hover {
2246
- background-color: #f3f5fe;
2272
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.08) 0%, rgba(211, 20, 65, 0.08) 100%), #fff1f4;
2247
2273
  }
2248
2274
  .ods-btn--secondary-critical:focus {
2249
- background-color: #f3f5fe;
2275
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.08) 0%, rgba(211, 20, 65, 0.08) 100%), #fff1f4;
2250
2276
  }
2251
2277
  .ods-btn--secondary-critical:active {
2252
- background-color: #e0e2ee;
2278
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.16) 0%, rgba(211, 20, 65, 0.16) 100%), #fff1f4;
2279
+ }
2280
+ .ods-btn--secondary-warning {
2281
+ background-color: #fff7f0;
2282
+ color: #ff8a14;
2253
2283
  }
2254
- .ods-btn--tertiary, .ods-btn--tertiary-critical, .ods-btn--text, .ods-btn--text-critical {
2284
+ .ods-btn--secondary-warning:hover {
2285
+ background: linear-gradient(0deg, rgba(255, 138, 20, 0.08) 0%, rgba(255, 138, 20, 0.08) 100%), #fff7f0;
2286
+ }
2287
+ .ods-btn--secondary-warning:focus {
2288
+ background: linear-gradient(0deg, rgba(255, 138, 20, 0.08) 0%, rgba(255, 138, 20, 0.08) 100%), #fff7f0;
2289
+ }
2290
+ .ods-btn--secondary-warning:active {
2291
+ background: linear-gradient(0deg, rgba(255, 138, 20, 0.16) 0%, rgba(255, 138, 20, 0.16) 100%), #fff7f0;
2292
+ }
2293
+ .ods-btn--text, .ods-btn--text-critical {
2255
2294
  background-color: transparent;
2256
2295
  }
2257
- .ods-btn--tertiary:hover, .ods-btn--tertiary-critical:hover, .ods-btn--text:hover, .ods-btn--text-critical:hover {
2296
+ .ods-btn--text:hover, .ods-btn--text-critical:hover {
2258
2297
  background-color: #f3f5fe;
2259
2298
  }
2260
- .ods-btn--tertiary:focus, .ods-btn--tertiary-critical:focus, .ods-btn--text:focus, .ods-btn--text-critical:focus {
2299
+ .ods-btn--text:focus, .ods-btn--text-critical:focus {
2261
2300
  background-color: #f3f5fe;
2262
2301
  }
2263
- .ods-btn--tertiary:active, .ods-btn--tertiary-critical:active, .ods-btn--text:active, .ods-btn--text-critical:active {
2302
+ .ods-btn--text:active, .ods-btn--text-critical:active {
2264
2303
  background-color: #e0e2ee;
2265
2304
  }
2266
- .ods-btn--tertiary, .ods-btn--text {
2305
+ .ods-btn--text {
2306
+ color: #0025e0;
2307
+ }
2308
+ .ods-btn--text-critical {
2309
+ color: #f5456e;
2310
+ }
2311
+ .ods-btn--tertiary, .ods-btn--tertiary-critical, .ods-btn--tertiary-warning {
2312
+ background-color: transparent;
2313
+ min-width: auto;
2314
+ padding-left: 0;
2315
+ padding-right: 0;
2316
+ }
2317
+ .ods-btn--tertiary {
2267
2318
  color: #0025e0;
2268
2319
  }
2269
- .ods-btn--tertiary-critical, .ods-btn--text-critical {
2320
+ .ods-btn--tertiary.ods-btn--blocked:hover {
2321
+ background-color: #f3f5fe;
2322
+ }
2323
+ .ods-btn--tertiary.ods-btn--blocked:focus {
2324
+ background-color: #f3f5fe;
2325
+ }
2326
+ .ods-btn--tertiary.ods-btn--blocked:active {
2327
+ background-color: #e0e2ee;
2328
+ }
2329
+ .ods-btn--tertiary:not(.ods-btn--blocked):hover {
2330
+ color: #5872f5;
2331
+ }
2332
+ .ods-btn--tertiary:not(.ods-btn--blocked):focus {
2333
+ color: #5872f5;
2334
+ }
2335
+ .ods-btn--tertiary:not(.ods-btn--blocked):active {
2336
+ color: #0e248f;
2337
+ }
2338
+ .ods-btn--tertiary-critical {
2270
2339
  color: #f5456e;
2271
2340
  }
2341
+ .ods-btn--tertiary-critical.ods-btn--blocked:hover {
2342
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.08) 0%, rgba(211, 20, 65, 0.08) 100%), #fff1f4;
2343
+ }
2344
+ .ods-btn--tertiary-critical.ods-btn--blocked:focus {
2345
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.08) 0%, rgba(211, 20, 65, 0.08) 100%), #fff1f4;
2346
+ }
2347
+ .ods-btn--tertiary-critical.ods-btn--blocked:active {
2348
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.16) 0%, rgba(211, 20, 65, 0.16) 100%), #fff1f4;
2349
+ }
2350
+ .ods-btn--tertiary-critical:not(.ods-btn--blocked):hover {
2351
+ color: #f27592;
2352
+ }
2353
+ .ods-btn--tertiary-critical:not(.ods-btn--blocked):focus {
2354
+ color: #f27592;
2355
+ }
2356
+ .ods-btn--tertiary-critical:not(.ods-btn--blocked):active {
2357
+ color: #d31441;
2358
+ }
2359
+ .ods-btn--tertiary-warning {
2360
+ color: #ff8a14;
2361
+ }
2362
+ .ods-btn--tertiary-warning.ods-btn--blocked:hover {
2363
+ background-color: #fff7f0;
2364
+ }
2365
+ .ods-btn--tertiary-warning.ods-btn--blocked:focus {
2366
+ background-color: #fff7f0;
2367
+ }
2368
+ .ods-btn--tertiary-warning.ods-btn--blocked:active {
2369
+ background: linear-gradient(0deg, rgba(255, 138, 20, 0.16) 0%, rgba(255, 138, 20, 0.16) 100%), #fff7f0;
2370
+ }
2371
+ .ods-btn--tertiary-warning:not(.ods-btn--blocked):hover {
2372
+ color: #ffbd7a;
2373
+ }
2374
+ .ods-btn--tertiary-warning:not(.ods-btn--blocked):focus {
2375
+ color: #ffbd7a;
2376
+ }
2377
+ .ods-btn--tertiary-warning:not(.ods-btn--blocked):active {
2378
+ color: #ff8a14;
2379
+ }
2272
2380
  .ods-btn--text-tertiary, .ods-btn--text-tertiary-critical {
2273
2381
  background-color: transparent;
2274
2382
  min-width: auto;