@useblu/ocean-core 1.44.0 → 1.45.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 +6 -0
- package/ocean.css +95 -0
- package/ocean.css.map +1 -1
- package/ocean.min.css +1 -1
- package/ocean.min.css.map +1 -1
- package/package.json +1 -1
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.45.0](https://github.com/ocean-ds/ocean-web/compare/v1.44.0...v1.45.0) (2023-06-02)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- create shortcut component ([#1068](https://github.com/ocean-ds/ocean-web/issues/1068)) ([6ac9802](https://github.com/ocean-ds/ocean-web/commit/6ac9802bc5bc056e53dfc50b04ecf3f5d1849973))
|
|
11
|
+
|
|
6
12
|
# [1.44.0](https://github.com/ocean-ds/ocean-web/compare/v1.43.0...v1.44.0) (2023-06-01)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/ocean.css
CHANGED
|
@@ -4118,4 +4118,99 @@
|
|
|
4118
4118
|
width: 100%;
|
|
4119
4119
|
}
|
|
4120
4120
|
}
|
|
4121
|
+
.ods-shortcut {
|
|
4122
|
+
align-items: flex-start;
|
|
4123
|
+
background-color: white;
|
|
4124
|
+
border: 1px solid #ebecf5;
|
|
4125
|
+
border-radius: 8px;
|
|
4126
|
+
box-sizing: border-box;
|
|
4127
|
+
cursor: pointer;
|
|
4128
|
+
display: flex;
|
|
4129
|
+
flex-direction: column;
|
|
4130
|
+
padding: 16px;
|
|
4131
|
+
position: relative;
|
|
4132
|
+
transition: 200ms ease-in;
|
|
4133
|
+
}
|
|
4134
|
+
.ods-shortcut:is(:hover, :focus) {
|
|
4135
|
+
background-color: #f7f9ff;
|
|
4136
|
+
}
|
|
4137
|
+
.ods-shortcut--disabled {
|
|
4138
|
+
background-color: rgba(235, 236, 245, 0.64);
|
|
4139
|
+
border-color: transparent;
|
|
4140
|
+
cursor: not-allowed;
|
|
4141
|
+
}
|
|
4142
|
+
.ods-shortcut--disabled .ods-shortcut__icon,
|
|
4143
|
+
.ods-shortcut--disabled .ods-shortcut__label,
|
|
4144
|
+
.ods-shortcut--disabled .ods-shortcut__description {
|
|
4145
|
+
color: #b6b9cc;
|
|
4146
|
+
}
|
|
4147
|
+
.ods-shortcut--tiny {
|
|
4148
|
+
width: 80px;
|
|
4149
|
+
}
|
|
4150
|
+
.ods-shortcut--tiny .ods-shortcut__content {
|
|
4151
|
+
gap: 8px;
|
|
4152
|
+
}
|
|
4153
|
+
.ods-shortcut--small {
|
|
4154
|
+
width: 116px;
|
|
4155
|
+
}
|
|
4156
|
+
.ods-shortcut--small .ods-shortcut__content {
|
|
4157
|
+
gap: 8px;
|
|
4158
|
+
}
|
|
4159
|
+
.ods-shortcut--small .ods-shortcut__label {
|
|
4160
|
+
align-items: flex-end;
|
|
4161
|
+
display: flex;
|
|
4162
|
+
height: 40px;
|
|
4163
|
+
}
|
|
4164
|
+
.ods-shortcut--medium {
|
|
4165
|
+
gap: 8px;
|
|
4166
|
+
width: 158px;
|
|
4167
|
+
}
|
|
4168
|
+
.ods-shortcut--medium .ods-shortcut__content {
|
|
4169
|
+
gap: 16px;
|
|
4170
|
+
}
|
|
4171
|
+
.ods-shortcut--large {
|
|
4172
|
+
gap: 12px;
|
|
4173
|
+
width: 200px;
|
|
4174
|
+
}
|
|
4175
|
+
.ods-shortcut--large .ods-shortcut__content {
|
|
4176
|
+
align-items: center;
|
|
4177
|
+
flex-direction: row;
|
|
4178
|
+
gap: 12px;
|
|
4179
|
+
}
|
|
4180
|
+
.ods-shortcut__icon {
|
|
4181
|
+
color: #5872f5;
|
|
4182
|
+
height: 24px;
|
|
4183
|
+
width: 24px;
|
|
4184
|
+
}
|
|
4185
|
+
.ods-shortcut__content {
|
|
4186
|
+
display: flex;
|
|
4187
|
+
flex-direction: column;
|
|
4188
|
+
}
|
|
4189
|
+
.ods-shortcut__label {
|
|
4190
|
+
color: #393b47;
|
|
4191
|
+
font-weight: 900;
|
|
4192
|
+
height: -webkit-max-content;
|
|
4193
|
+
height: -moz-max-content;
|
|
4194
|
+
height: max-content;
|
|
4195
|
+
}
|
|
4196
|
+
.ods-shortcut__description {
|
|
4197
|
+
font-size: 12px;
|
|
4198
|
+
}
|
|
4199
|
+
.ods-shortcut__badge {
|
|
4200
|
+
position: absolute;
|
|
4201
|
+
right: 8px;
|
|
4202
|
+
top: 8px;
|
|
4203
|
+
}
|
|
4204
|
+
.ods-shortcut__blocked {
|
|
4205
|
+
color: #b6b9cc;
|
|
4206
|
+
height: 16px;
|
|
4207
|
+
position: absolute;
|
|
4208
|
+
right: 8px;
|
|
4209
|
+
top: 8px;
|
|
4210
|
+
width: 16px;
|
|
4211
|
+
}
|
|
4212
|
+
.ods-shortcut__blocked svg {
|
|
4213
|
+
height: 100%;
|
|
4214
|
+
width: 100%;
|
|
4215
|
+
}
|
|
4121
4216
|
/*# sourceMappingURL=ocean.css.map */
|