@useblu/ocean-core 1.29.3 → 1.30.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.30.0](https://github.com/ocean-ds/ocean-web/compare/v1.29.3...v1.30.0) (2022-03-10)
7
+
8
+ ### Features
9
+
10
+ - **stepper:** adds new stepper component ([#934](https://github.com/ocean-ds/ocean-web/issues/934)) ([6445c19](https://github.com/ocean-ds/ocean-web/commit/6445c192881c853a2a3befeef0289c7f967c9546))
11
+
6
12
  ## [1.29.3](https://github.com/ocean-ds/ocean-web/compare/v1.29.2...v1.29.3) (2022-03-07)
7
13
 
8
14
  ### Bug Fixes
package/ocean.css CHANGED
@@ -1046,9 +1046,6 @@
1046
1046
  display: flex;
1047
1047
  flex-direction: column;
1048
1048
  font-family: "Nunito Sans";
1049
- }
1050
- .ods-form-control__element--blocked :first-child {
1051
- box-sizing: border-box;
1052
1049
  width: 100%;
1053
1050
  }
1054
1051
  .ods-form-control__helper-text {
@@ -1109,6 +1106,9 @@
1109
1106
  .ods-input input::placeholder {
1110
1107
  color: #d8dae8;
1111
1108
  }
1109
+ .ods-input__number-controls {
1110
+ cursor: pointer;
1111
+ }
1112
1112
  .ods-input__adornment {
1113
1113
  align-items: center;
1114
1114
  display: flex;
@@ -1151,6 +1151,29 @@
1151
1151
  border-color: #f5456e;
1152
1152
  }
1153
1153
 
1154
+ .ods-input--amount {
1155
+ width: 100%;
1156
+ }
1157
+ .ods-input--amount input {
1158
+ -webkit-appearance: none;
1159
+ -moz-appearance: none;
1160
+ appearance: none;
1161
+ display: block;
1162
+ margin: 0;
1163
+ text-align: center;
1164
+ }
1165
+ .ods-input--amount__stepper-controls {
1166
+ align-items: center;
1167
+ cursor: pointer;
1168
+ display: block;
1169
+ }
1170
+ .ods-input--amount__stepper-controls_plus {
1171
+ padding-right: 4px;
1172
+ }
1173
+ .ods-input--amount__stepper-controls_minus {
1174
+ padding-left: 4px;
1175
+ }
1176
+
1154
1177
  .ods-textarea {
1155
1178
  background-color: white;
1156
1179
  border: 1px solid #d8dae8;
@@ -1989,7 +2012,7 @@
1989
2012
  transition: background-color 0.1s ease-out;
1990
2013
  width: 48px;
1991
2014
  }
1992
- .ods-icon-btn:hover, .ods-icon-btn:focus {
2015
+ .ods-icon-btn:hover {
1993
2016
  background: #f7f9ff;
1994
2017
  color: #0025e0;
1995
2018
  }
@@ -2011,12 +2034,11 @@
2011
2034
  width: 48px;
2012
2035
  }
2013
2036
  .ods-icon-btn--disabled {
2014
- background-color: #ebecf5;
2015
2037
  color: #b6b9cc;
2016
2038
  cursor: not-allowed;
2017
2039
  }
2018
- .ods-icon-btn--disabled:hover, .ods-icon-btn--disabled:focus {
2019
- background-color: #ebecf5;
2040
+ .ods-icon-btn--disabled:hover {
2041
+ background-color: inherit;
2020
2042
  color: #b6b9cc;
2021
2043
  }
2022
2044