@useblu/ocean-core 1.52.2 → 1.53.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.53.0](https://github.com/ocean-ds/ocean-web/compare/v1.52.2...v1.53.0) (2024-03-21)
7
+
8
+ ### Features
9
+
10
+ - create chips component ([#1091](https://github.com/ocean-ds/ocean-web/issues/1091)) ([7fc498a](https://github.com/ocean-ds/ocean-web/commit/7fc498a565fe78a42c29bc7051796dc8560c301f))
11
+
6
12
  ## [1.52.2](https://github.com/ocean-ds/ocean-web/compare/v1.52.1...v1.52.2) (2024-01-30)
7
13
 
8
14
  ### Bug Fixes
package/ocean.css CHANGED
@@ -4375,4 +4375,99 @@
4375
4375
  .ods-card-list-item--full-width {
4376
4376
  width: 100%;
4377
4377
  }
4378
+
4379
+ .ods-chips {
4380
+ display: inline-block;
4381
+ position: relative;
4382
+ }
4383
+ .ods-chips__button {
4384
+ background: #f7f9ff;
4385
+ border: 0;
4386
+ border-radius: 24px;
4387
+ color: #0025e0;
4388
+ display: flex;
4389
+ font-size: 14px;
4390
+ font-weight: 700;
4391
+ gap: 4px;
4392
+ height: 32px;
4393
+ padding: 8px 16px;
4394
+ }
4395
+ .ods-chips__button:hover, .ods-chips__button:focus {
4396
+ background: #ebecf5;
4397
+ }
4398
+ .ods-chips__button:active {
4399
+ background: #0025e0;
4400
+ color: white;
4401
+ }
4402
+ .ods-chips__button:active .ods-chips__badge > .ods-badge__content {
4403
+ background: white;
4404
+ color: #0025e0;
4405
+ }
4406
+ .ods-chips__button > svg {
4407
+ height: 16px;
4408
+ width: 16px;
4409
+ }
4410
+ .ods-chips__button--disabled {
4411
+ background: #f7f9ff;
4412
+ pointer-events: none;
4413
+ }
4414
+ .ods-chips__button--disabled .ods-chips__label {
4415
+ color: #b6b9cc;
4416
+ }
4417
+ .ods-chips__button--disabled .ods-chips__badge > .ods-badge__content {
4418
+ background: #b6b9cc;
4419
+ }
4420
+ .ods-chips__button--disabled > svg {
4421
+ color: #b6b9cc;
4422
+ }
4423
+ .ods-chips__button--active {
4424
+ background: #0025e0;
4425
+ color: white;
4426
+ }
4427
+ .ods-chips__button--active:hover, .ods-chips__button--active:focus {
4428
+ background: #0025e0;
4429
+ }
4430
+ .ods-chips__button--active .ods-chips__badge > .ods-badge__content {
4431
+ background: white;
4432
+ color: #0025e0;
4433
+ }
4434
+ .ods-chips__label {
4435
+ margin: 0;
4436
+ }
4437
+ .ods-chips__options {
4438
+ -ms-overflow-style: none;
4439
+ align-items: flex-start;
4440
+ background: white;
4441
+ border: 1px solid #ebecf5;
4442
+ border-radius: 10px;
4443
+ display: flex;
4444
+ flex-direction: column;
4445
+ max-height: 200px;
4446
+ overflow-y: auto;
4447
+ padding: 4px;
4448
+ position: absolute;
4449
+ scrollbar-width: none;
4450
+ top: 38px;
4451
+ width: 220px;
4452
+ }
4453
+ .ods-chips__options::-webkit-scrollbar {
4454
+ display: none;
4455
+ }
4456
+ .ods-chips__options--option {
4457
+ align-items: center;
4458
+ background-color: white;
4459
+ border: 0;
4460
+ color: #67697a;
4461
+ display: flex;
4462
+ font-size: 14px;
4463
+ font-weight: 400;
4464
+ min-height: 40px;
4465
+ padding: 8px 12px;
4466
+ width: 100%;
4467
+ }
4468
+ .ods-chips__options--option:hover {
4469
+ background-color: #f7f9ff;
4470
+ border-radius: 4px;
4471
+ color: #0025e0;
4472
+ }
4378
4473
  /*# sourceMappingURL=ocean.css.map */