@useblu/ocean-core 1.127.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,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.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
+
6
12
  # [1.127.0](https://github.com/ocean-ds/ocean-web/compare/v1.126.0...v1.127.0) (2026-01-14)
7
13
 
8
14
  ### Features
package/ocean.css CHANGED
@@ -2237,6 +2237,20 @@
2237
2237
  .ods-btn--primary-critical:active {
2238
2238
  background-color: #d31441;
2239
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
+ }
2240
2254
  .ods-btn--secondary {
2241
2255
  background-color: #f3f5fe;
2242
2256
  color: #0025e0;
@@ -2255,32 +2269,114 @@
2255
2269
  color: #f5456e;
2256
2270
  }
2257
2271
  .ods-btn--secondary-critical:hover {
2258
- background-color: #f3f5fe;
2272
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.08) 0%, rgba(211, 20, 65, 0.08) 100%), #fff1f4;
2259
2273
  }
2260
2274
  .ods-btn--secondary-critical:focus {
2261
- background-color: #f3f5fe;
2275
+ background: linear-gradient(0deg, rgba(211, 20, 65, 0.08) 0%, rgba(211, 20, 65, 0.08) 100%), #fff1f4;
2262
2276
  }
2263
2277
  .ods-btn--secondary-critical:active {
2264
- 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;
2283
+ }
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;
2265
2292
  }
2266
- .ods-btn--tertiary, .ods-btn--tertiary-critical, .ods-btn--text, .ods-btn--text-critical {
2293
+ .ods-btn--text, .ods-btn--text-critical {
2267
2294
  background-color: transparent;
2268
2295
  }
2269
- .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 {
2270
2297
  background-color: #f3f5fe;
2271
2298
  }
2272
- .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 {
2273
2300
  background-color: #f3f5fe;
2274
2301
  }
2275
- .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 {
2276
2303
  background-color: #e0e2ee;
2277
2304
  }
2278
- .ods-btn--tertiary, .ods-btn--text {
2305
+ .ods-btn--text {
2279
2306
  color: #0025e0;
2280
2307
  }
2281
- .ods-btn--tertiary-critical, .ods-btn--text-critical {
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 {
2318
+ color: #0025e0;
2319
+ }
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 {
2282
2339
  color: #f5456e;
2283
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
+ }
2284
2380
  .ods-btn--text-tertiary, .ods-btn--text-tertiary-critical {
2285
2381
  background-color: transparent;
2286
2382
  min-width: auto;