@useblu/ocean-core 1.31.3 → 1.33.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,22 @@
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.33.0](https://github.com/ocean-ds/ocean-web/compare/v1.32.0...v1.33.0) (2022-07-07)
7
+
8
+ ### Features
9
+
10
+ - add checkbox error state ([#982](https://github.com/ocean-ds/ocean-web/issues/982)) ([e36081e](https://github.com/ocean-ds/ocean-web/commit/e36081ec995356f5f7215d158bfcca66c24e1153))
11
+
12
+ # [1.32.0](https://github.com/ocean-ds/ocean-web/compare/v1.31.4...v1.32.0) (2022-06-30)
13
+
14
+ ### Features
15
+
16
+ - add cross sell card component ([#980](https://github.com/ocean-ds/ocean-web/issues/980)) ([6177870](https://github.com/ocean-ds/ocean-web/commit/61778709e2ac7d6f0f9daafce2f2888f09d84ccf))
17
+
18
+ ## [1.31.4](https://github.com/ocean-ds/ocean-web/compare/v1.31.3...v1.31.4) (2022-06-28)
19
+
20
+ **Note:** Version bump only for package @useblu/ocean-core
21
+
6
22
  ## [1.31.3](https://github.com/ocean-ds/ocean-web/compare/v1.31.2...v1.31.3) (2022-05-24)
7
23
 
8
24
  ### Bug Fixes
package/ocean.css CHANGED
@@ -1497,6 +1497,9 @@
1497
1497
  transform: rotate(40deg);
1498
1498
  width: 6px;
1499
1499
  }
1500
+ .ods-checkbox__checkmark--error {
1501
+ border-color: #f5456e;
1502
+ }
1500
1503
  .ods-checkbox__checkmark--indeterminate {
1501
1504
  align-items: center;
1502
1505
  display: flex;
@@ -1558,11 +1561,11 @@
1558
1561
  border-radius: 50%;
1559
1562
  box-sizing: border-box;
1560
1563
  cursor: pointer;
1561
- height: 24px;
1562
- width: 24px;
1564
+ height: 20px;
1565
+ width: 20px;
1563
1566
  }
1564
1567
  .ods-radio:checked ~ .ods-radio__checkmark {
1565
- border-width: 8px;
1568
+ border-width: 6px;
1566
1569
  }
1567
1570
  .ods-radio:checked:not(:disabled) ~ .ods-radio__checkmark {
1568
1571
  border-color: #13bdbd;
@@ -1586,9 +1589,9 @@
1586
1589
  }
1587
1590
  .ods-switch__root {
1588
1591
  display: inline-block;
1589
- height: 24px;
1592
+ height: 20px;
1590
1593
  position: relative;
1591
- width: 44px;
1594
+ width: 40px;
1592
1595
  }
1593
1596
  .ods-switch__root:hover .ods-switch__slider {
1594
1597
  background-color: #f7f9ff;
@@ -1602,7 +1605,7 @@
1602
1605
  box-sizing: border-box;
1603
1606
  cursor: pointer;
1604
1607
  left: 0;
1605
- padding: 3px;
1608
+ padding: 2px;
1606
1609
  position: absolute;
1607
1610
  right: 0;
1608
1611
  top: 0;
@@ -1613,9 +1616,9 @@
1613
1616
  border-radius: 50%;
1614
1617
  content: "";
1615
1618
  display: block;
1616
- height: 16px;
1619
+ height: 14px;
1617
1620
  transition: all 0.2s ease;
1618
- width: 16px;
1621
+ width: 14px;
1619
1622
  }
1620
1623
  .ods-switch:checked + .ods-switch__slider::before {
1621
1624
  background-color: white;
@@ -3166,4 +3169,81 @@
3166
3169
  display: flex;
3167
3170
  justify-content: center;
3168
3171
  }
3172
+
3173
+ .ods-cross-sell-card {
3174
+ border-radius: 8px;
3175
+ min-height: 156px;
3176
+ width: 100%;
3177
+ }
3178
+ .ods-cross-sell-card__content {
3179
+ align-items: center;
3180
+ background-color: #0025e0;
3181
+ border: 1px solid #ebecf5;
3182
+ border-bottom: 0;
3183
+ border-radius: 8px 8px 0 0;
3184
+ display: flex;
3185
+ gap: 16px;
3186
+ justify-content: center;
3187
+ padding: 12px 24px;
3188
+ }
3189
+ @media (max-width: 991.98px) {
3190
+ .ods-cross-sell-card__content {
3191
+ padding: 16px;
3192
+ }
3193
+ }
3194
+ .ods-cross-sell-card__information {
3195
+ width: 100%;
3196
+ }
3197
+ .ods-cross-sell-card__image {
3198
+ min-height: 102px;
3199
+ width: 102px;
3200
+ }
3201
+ @media (max-width: 991.98px) {
3202
+ .ods-cross-sell-card__image {
3203
+ min-height: 80px;
3204
+ width: 80px;
3205
+ }
3206
+ }
3207
+ .ods-cross-sell-card__description {
3208
+ color: #b8c3ff;
3209
+ margin-top: 4px;
3210
+ }
3211
+ .ods-cross-sell-card__cta {
3212
+ align-items: center;
3213
+ background: white;
3214
+ border: 1px solid #ebecf5;
3215
+ border-radius: 0 0 8px 8px;
3216
+ border-top: 0;
3217
+ color: #0025e0;
3218
+ display: flex;
3219
+ font-family: "Nunito Sans";
3220
+ font-size: 14px;
3221
+ font-weight: 700;
3222
+ gap: 8px;
3223
+ height: 48px;
3224
+ justify-content: space-between;
3225
+ padding-left: 24px;
3226
+ padding-right: 24px;
3227
+ transition: background 0.1s ease-in;
3228
+ width: 100%;
3229
+ }
3230
+ @media (max-width: 991.98px) {
3231
+ .ods-cross-sell-card__cta {
3232
+ padding-left: 16px;
3233
+ padding-right: 16px;
3234
+ }
3235
+ }
3236
+ .ods-cross-sell-card__cta:hover {
3237
+ background: #f7f9ff;
3238
+ cursor: pointer;
3239
+ }
3240
+ .ods-cross-sell-card__cta:active {
3241
+ background: #ebecf5;
3242
+ }
3243
+ .ods-cross-sell-card__cta:focus-visible {
3244
+ outline: #0025e0 auto 1px;
3245
+ }
3246
+ .ods-cross-sell-card__cta-icon {
3247
+ color: #0025e0;
3248
+ }
3169
3249
  /*# sourceMappingURL=ocean.css.map */