@empathyco/x-components 4.0.0-alpha.0 → 4.0.0-alpha.1
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 +9 -0
- package/design-system/deprecated-full-theme.css +158 -158
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
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
|
+
## [4.0.0-alpha.1](https://github.com/empathyco/x/compare/@empathyco/x-components@4.0.0-alpha.0...@empathyco/x-components@4.0.0-alpha.1) (2023-11-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* use `cypress run` for headless testing (#1357) ([bc88050](https://github.com/empathyco/x/commit/bc88050a6c525e65d8b0e2d1adacf5d823df9137))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [4.0.0-alpha.0](https://github.com/empathyco/x/compare/@empathyco/x-components@3.1.0-alpha.3...@empathyco/x-components@4.0.0-alpha.0) (2023-11-16)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -978,7 +978,6 @@
|
|
|
978
978
|
.x-line-height--loose {
|
|
979
979
|
line-height: 2 !important;
|
|
980
980
|
}
|
|
981
|
-
|
|
982
981
|
.x-line-clamp--2 {
|
|
983
982
|
overflow: hidden !important;
|
|
984
983
|
display: -webkit-box !important;
|
|
@@ -1145,49 +1144,6 @@
|
|
|
1145
1144
|
.x-font-color--transparent {
|
|
1146
1145
|
color: var(--x-color-base-transparent) !important;
|
|
1147
1146
|
}
|
|
1148
|
-
.x-fill--lead {
|
|
1149
|
-
fill: var(--x-color-base-lead) !important;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
.x-fill--auxiliary {
|
|
1153
|
-
fill: var(--x-color-base-auxiliary) !important;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
.x-fill--neutral-10 {
|
|
1157
|
-
fill: var(--x-color-base-neutral-10) !important;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
.x-fill--neutral-35 {
|
|
1161
|
-
fill: var(--x-color-base-neutral-35) !important;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
.x-fill--neutral-70 {
|
|
1165
|
-
fill: var(--x-color-base-neutral-70) !important;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
.x-fill--neutral-95 {
|
|
1169
|
-
fill: var(--x-color-base-neutral-95) !important;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
.x-fill--neutral-100 {
|
|
1173
|
-
fill: var(--x-color-base-neutral-100) !important;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
.x-fill--accent {
|
|
1177
|
-
fill: var(--x-color-base-accent) !important;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
.x-fill--enable {
|
|
1181
|
-
fill: var(--x-color-base-enable) !important;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
.x-fill--disable {
|
|
1185
|
-
fill: var(--x-color-base-disable) !important;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
.x-fill--transparent {
|
|
1189
|
-
fill: var(--x-color-base-transparent) !important;
|
|
1190
|
-
}
|
|
1191
1147
|
.x-flex-1 {
|
|
1192
1148
|
flex: 1 1 0% !important;
|
|
1193
1149
|
}
|
|
@@ -1231,6 +1187,49 @@
|
|
|
1231
1187
|
.x-self-baseline {
|
|
1232
1188
|
align-self: baseline !important;
|
|
1233
1189
|
}
|
|
1190
|
+
.x-fill--lead {
|
|
1191
|
+
fill: var(--x-color-base-lead) !important;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.x-fill--auxiliary {
|
|
1195
|
+
fill: var(--x-color-base-auxiliary) !important;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.x-fill--neutral-10 {
|
|
1199
|
+
fill: var(--x-color-base-neutral-10) !important;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.x-fill--neutral-35 {
|
|
1203
|
+
fill: var(--x-color-base-neutral-35) !important;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.x-fill--neutral-70 {
|
|
1207
|
+
fill: var(--x-color-base-neutral-70) !important;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.x-fill--neutral-95 {
|
|
1211
|
+
fill: var(--x-color-base-neutral-95) !important;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.x-fill--neutral-100 {
|
|
1215
|
+
fill: var(--x-color-base-neutral-100) !important;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.x-fill--accent {
|
|
1219
|
+
fill: var(--x-color-base-accent) !important;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.x-fill--enable {
|
|
1223
|
+
fill: var(--x-color-base-enable) !important;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.x-fill--disable {
|
|
1227
|
+
fill: var(--x-color-base-disable) !important;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
.x-fill--transparent {
|
|
1231
|
+
fill: var(--x-color-base-transparent) !important;
|
|
1232
|
+
}
|
|
1234
1233
|
.dev-mode .slot-helper {
|
|
1235
1234
|
font-family: inherit;
|
|
1236
1235
|
color: grey;
|
|
@@ -3448,6 +3447,46 @@
|
|
|
3448
3447
|
--x-size-line-height-small: var(--x-size-line-height-base-s);
|
|
3449
3448
|
--x-string-text-decoration-small: none;
|
|
3450
3449
|
}
|
|
3450
|
+
:root {
|
|
3451
|
+
--x-font-family-base: "Montserrat", sans-serif;
|
|
3452
|
+
--x-size-font-base-xs: 12px;
|
|
3453
|
+
--x-size-font-base-s: 14px;
|
|
3454
|
+
--x-size-font-base-m: 16px;
|
|
3455
|
+
--x-size-font-base-l: 18px;
|
|
3456
|
+
--x-size-font-base-xl: 32px;
|
|
3457
|
+
--x-number-font-weight-base-light: 300;
|
|
3458
|
+
--x-number-font-weight-base-regular: 400;
|
|
3459
|
+
--x-number-font-weight-base-bold: 600;
|
|
3460
|
+
--x-size-line-height-base-s: 16px;
|
|
3461
|
+
--x-size-line-height-base-m: 24px;
|
|
3462
|
+
--x-size-line-height-base-l: 32px;
|
|
3463
|
+
--x-color-text-default: var(--x-color-base-neutral-10);
|
|
3464
|
+
--x-font-family-text: var(--x-font-family-base);
|
|
3465
|
+
--x-size-font-text: var(--x-size-font-base-s);
|
|
3466
|
+
--x-number-font-weight-text: var(--x-number-font-weight-base-regular);
|
|
3467
|
+
--x-size-line-height-text: var(--x-size-line-height-base-s);
|
|
3468
|
+
--x-string-text-decoration-text: none;
|
|
3469
|
+
--x-font-family-title1: var(--x-font-family-base);
|
|
3470
|
+
--x-size-font-title1: var(--x-size-font-base-xl);
|
|
3471
|
+
--x-number-font-weight-title1: var(--x-number-font-weight-base-regular);
|
|
3472
|
+
--x-size-line-height-title1: var(--x-size-line-height-base-l);
|
|
3473
|
+
--x-string-text-decoration-title1: none;
|
|
3474
|
+
--x-font-family-title2: var(--x-font-family-base);
|
|
3475
|
+
--x-size-font-title2: var(--x-size-font-base-l);
|
|
3476
|
+
--x-number-font-weight-title2: var(--x-number-font-weight-base-regular);
|
|
3477
|
+
--x-size-line-height-title2: var(--x-size-line-height-base-m);
|
|
3478
|
+
--x-string-text-decoration-title2: none;
|
|
3479
|
+
--x-font-family-title3: var(--x-font-family-base);
|
|
3480
|
+
--x-size-font-title3: var(--x-size-font-base-m);
|
|
3481
|
+
--x-number-font-weight-title3: var(--x-number-font-weight-base-regular);
|
|
3482
|
+
--x-size-line-height-title3: var(--x-size-line-height-base-m);
|
|
3483
|
+
--x-string-text-decoration-title3: none;
|
|
3484
|
+
--x-font-family-small: var(--x-font-family-base);
|
|
3485
|
+
--x-size-font-small: var(--x-size-font-base-xs);
|
|
3486
|
+
--x-number-font-weight-small: var(--x-number-font-weight-base-regular);
|
|
3487
|
+
--x-size-line-height-small: var(--x-size-line-height-base-s);
|
|
3488
|
+
--x-string-text-decoration-small: none;
|
|
3489
|
+
}
|
|
3451
3490
|
|
|
3452
3491
|
.x,
|
|
3453
3492
|
.x-text {
|
|
@@ -3510,46 +3549,6 @@
|
|
|
3510
3549
|
overflow: hidden;
|
|
3511
3550
|
white-space: nowrap;
|
|
3512
3551
|
}
|
|
3513
|
-
:root {
|
|
3514
|
-
--x-font-family-base: "Montserrat", sans-serif;
|
|
3515
|
-
--x-size-font-base-xs: 12px;
|
|
3516
|
-
--x-size-font-base-s: 14px;
|
|
3517
|
-
--x-size-font-base-m: 16px;
|
|
3518
|
-
--x-size-font-base-l: 18px;
|
|
3519
|
-
--x-size-font-base-xl: 32px;
|
|
3520
|
-
--x-number-font-weight-base-light: 300;
|
|
3521
|
-
--x-number-font-weight-base-regular: 400;
|
|
3522
|
-
--x-number-font-weight-base-bold: 600;
|
|
3523
|
-
--x-size-line-height-base-s: 16px;
|
|
3524
|
-
--x-size-line-height-base-m: 24px;
|
|
3525
|
-
--x-size-line-height-base-l: 32px;
|
|
3526
|
-
--x-color-text-default: var(--x-color-base-neutral-10);
|
|
3527
|
-
--x-font-family-text: var(--x-font-family-base);
|
|
3528
|
-
--x-size-font-text: var(--x-size-font-base-s);
|
|
3529
|
-
--x-number-font-weight-text: var(--x-number-font-weight-base-regular);
|
|
3530
|
-
--x-size-line-height-text: var(--x-size-line-height-base-s);
|
|
3531
|
-
--x-string-text-decoration-text: none;
|
|
3532
|
-
--x-font-family-title1: var(--x-font-family-base);
|
|
3533
|
-
--x-size-font-title1: var(--x-size-font-base-xl);
|
|
3534
|
-
--x-number-font-weight-title1: var(--x-number-font-weight-base-regular);
|
|
3535
|
-
--x-size-line-height-title1: var(--x-size-line-height-base-l);
|
|
3536
|
-
--x-string-text-decoration-title1: none;
|
|
3537
|
-
--x-font-family-title2: var(--x-font-family-base);
|
|
3538
|
-
--x-size-font-title2: var(--x-size-font-base-l);
|
|
3539
|
-
--x-number-font-weight-title2: var(--x-number-font-weight-base-regular);
|
|
3540
|
-
--x-size-line-height-title2: var(--x-size-line-height-base-m);
|
|
3541
|
-
--x-string-text-decoration-title2: none;
|
|
3542
|
-
--x-font-family-title3: var(--x-font-family-base);
|
|
3543
|
-
--x-size-font-title3: var(--x-size-font-base-m);
|
|
3544
|
-
--x-number-font-weight-title3: var(--x-number-font-weight-base-regular);
|
|
3545
|
-
--x-size-line-height-title3: var(--x-size-line-height-base-m);
|
|
3546
|
-
--x-string-text-decoration-title3: none;
|
|
3547
|
-
--x-font-family-small: var(--x-font-family-base);
|
|
3548
|
-
--x-size-font-small: var(--x-size-font-base-xs);
|
|
3549
|
-
--x-number-font-weight-small: var(--x-number-font-weight-base-regular);
|
|
3550
|
-
--x-size-line-height-small: var(--x-size-line-height-base-s);
|
|
3551
|
-
--x-string-text-decoration-small: none;
|
|
3552
|
-
}
|
|
3553
3552
|
.x-text--bold.x-text {
|
|
3554
3553
|
--x-number-font-weight-text: var(--x-number-font-weight-base-bold);
|
|
3555
3554
|
}
|
|
@@ -3578,13 +3577,6 @@
|
|
|
3578
3577
|
--x-size-border-radius-bottom-right-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3579
3578
|
--x-size-border-radius-bottom-left-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3580
3579
|
}
|
|
3581
|
-
:root {
|
|
3582
|
-
--x-size-border-radius-tag-pill: var(--x-size-border-radius-base-pill);
|
|
3583
|
-
--x-size-border-radius-top-left-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3584
|
-
--x-size-border-radius-top-right-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3585
|
-
--x-size-border-radius-bottom-right-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3586
|
-
--x-size-border-radius-bottom-left-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3587
|
-
}
|
|
3588
3580
|
|
|
3589
3581
|
.x-tag--pill.x-tag,
|
|
3590
3582
|
.x-tag--pill .x-tag {
|
|
@@ -3596,6 +3588,13 @@
|
|
|
3596
3588
|
);
|
|
3597
3589
|
--x-size-border-radius-bottom-left-tag-default: var(--x-size-border-radius-bottom-left-tag-pill);
|
|
3598
3590
|
}
|
|
3591
|
+
:root {
|
|
3592
|
+
--x-size-border-radius-tag-pill: var(--x-size-border-radius-base-pill);
|
|
3593
|
+
--x-size-border-radius-top-left-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3594
|
+
--x-size-border-radius-top-right-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3595
|
+
--x-size-border-radius-bottom-right-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3596
|
+
--x-size-border-radius-bottom-left-tag-pill: var(--x-size-border-radius-tag-pill);
|
|
3597
|
+
}
|
|
3599
3598
|
:root {
|
|
3600
3599
|
--x-color-background-tag-ghost: transparent;
|
|
3601
3600
|
--x-color-border-tag-ghost: transparent;
|
|
@@ -4405,6 +4404,13 @@
|
|
|
4405
4404
|
--x-size-padding-sliding-panel-button: var(--x-size-base-03);
|
|
4406
4405
|
--x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
|
|
4407
4406
|
}
|
|
4407
|
+
:root {
|
|
4408
|
+
--x-string-overflow-scroll: auto;
|
|
4409
|
+
--x-color-background-scroll-bar: transparent;
|
|
4410
|
+
--x-color-thumb-scroll-bar: var(--x-color-base-neutral-95);
|
|
4411
|
+
--x-color-background-scroll-bar-hover: transparent;
|
|
4412
|
+
--x-color-thumb-scroll-bar-hover: var(--x-color-base-neutral-70);
|
|
4413
|
+
}
|
|
4408
4414
|
.x-sliding-panel {
|
|
4409
4415
|
z-index: 0;
|
|
4410
4416
|
background-color: var(--x-color-background-sliding-panel);
|
|
@@ -4470,13 +4476,6 @@
|
|
|
4470
4476
|
--x-color-background-scroll-bar-hover: transparent;
|
|
4471
4477
|
--x-color-thumb-scroll-bar-hover: var(--x-color-base-neutral-70);
|
|
4472
4478
|
}
|
|
4473
|
-
:root {
|
|
4474
|
-
--x-string-overflow-scroll: auto;
|
|
4475
|
-
--x-color-background-scroll-bar: transparent;
|
|
4476
|
-
--x-color-thumb-scroll-bar: var(--x-color-base-neutral-95);
|
|
4477
|
-
--x-color-background-scroll-bar-hover: transparent;
|
|
4478
|
-
--x-color-thumb-scroll-bar-hover: var(--x-color-base-neutral-70);
|
|
4479
|
-
}
|
|
4480
4479
|
|
|
4481
4480
|
.x-scroll {
|
|
4482
4481
|
overflow-y: var(--x-string-overflow-scroll);
|
|
@@ -4677,14 +4676,6 @@
|
|
|
4677
4676
|
--x-size-span-row-item: 1;
|
|
4678
4677
|
--x-size-start-row-item: 0;
|
|
4679
4678
|
}
|
|
4680
|
-
:root {
|
|
4681
|
-
--x-size-gap-row: 0;
|
|
4682
|
-
--x-size-padding-row: 0;
|
|
4683
|
-
--x-size-justify-row: stretch;
|
|
4684
|
-
--x-size-align-row: center;
|
|
4685
|
-
--x-size-span-row-item: 1;
|
|
4686
|
-
--x-size-start-row-item: 0;
|
|
4687
|
-
}
|
|
4688
4679
|
|
|
4689
4680
|
.x-row {
|
|
4690
4681
|
display: grid;
|
|
@@ -4805,6 +4796,14 @@
|
|
|
4805
4796
|
.x-row--align-stretch {
|
|
4806
4797
|
--x-size-align-row: stretch;
|
|
4807
4798
|
}
|
|
4799
|
+
:root {
|
|
4800
|
+
--x-size-gap-row: 0;
|
|
4801
|
+
--x-size-padding-row: 0;
|
|
4802
|
+
--x-size-justify-row: stretch;
|
|
4803
|
+
--x-size-align-row: center;
|
|
4804
|
+
--x-size-span-row-item: 1;
|
|
4805
|
+
--x-size-start-row-item: 0;
|
|
4806
|
+
}
|
|
4808
4807
|
:root {
|
|
4809
4808
|
--x-color-border-result-default: var(--x-color-base-lead);
|
|
4810
4809
|
--x-color-border-result-overlay-default: var(--x-color-border-result-default);
|
|
@@ -5041,26 +5040,6 @@
|
|
|
5041
5040
|
--x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
|
|
5042
5041
|
--x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
|
|
5043
5042
|
}
|
|
5044
|
-
:root {
|
|
5045
|
-
--x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
|
|
5046
|
-
--x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
|
|
5047
|
-
}
|
|
5048
|
-
|
|
5049
|
-
.x-picture--cover.x-picture {
|
|
5050
|
-
position: relative;
|
|
5051
|
-
}
|
|
5052
|
-
|
|
5053
|
-
.x-result:hover .x-picture--cover:after,
|
|
5054
|
-
.x-picture--cover:hover:after {
|
|
5055
|
-
content: "";
|
|
5056
|
-
display: block;
|
|
5057
|
-
position: absolute;
|
|
5058
|
-
top: 0;
|
|
5059
|
-
left: 0;
|
|
5060
|
-
background: linear-gradient(to bottom, var(--x-color-background-picture-cover-hover-from) 50%, var(--x-color-background-picture-cover-hover-to) 100%);
|
|
5061
|
-
width: 100%;
|
|
5062
|
-
height: 100%;
|
|
5063
|
-
}
|
|
5064
5043
|
:root {
|
|
5065
5044
|
--x-color-background-picture-colored: var(--x-color-base-neutral-95);
|
|
5066
5045
|
--x-mix-blend-mode-picture-colored: multiply;
|
|
@@ -7417,6 +7396,12 @@
|
|
|
7417
7396
|
.x-grid-list--cols-auto .x-grid-list__item {
|
|
7418
7397
|
min-width: var(--x-size-min-width-grid-item);
|
|
7419
7398
|
}
|
|
7399
|
+
.x-filter--justified.x-filter > *:last-child:not(.x-filter__label),
|
|
7400
|
+
.x-filter--justified.x-facet-filter > *:last-child:not(.x-filter__label),
|
|
7401
|
+
.x-filter--justified .x-filter > *:last-child:not(.x-filter__label),
|
|
7402
|
+
.x-filter--justified .x-facet-filter > *:last-child:not(.x-filter__label) {
|
|
7403
|
+
margin-left: auto;
|
|
7404
|
+
}
|
|
7420
7405
|
:root {
|
|
7421
7406
|
--x-size-margin-filter-children: 0;
|
|
7422
7407
|
--x-size-padding-top-filter-children: 0;
|
|
@@ -8462,6 +8447,13 @@
|
|
|
8462
8447
|
--x-size-border-width-bottom-button-secondary: var(--x-size-border-width-button-secondary);
|
|
8463
8448
|
--x-size-border-width-left-button-secondary: var(--x-size-border-width-button-secondary);
|
|
8464
8449
|
}
|
|
8450
|
+
:root {
|
|
8451
|
+
--x-size-border-radius-button-round: var(--x-size-border-radius-base-pill);
|
|
8452
|
+
--x-size-border-radius-top-left-button-round: var(--x-size-border-radius-button-round);
|
|
8453
|
+
--x-size-border-radius-top-right-button-round: var(--x-size-border-radius-button-round);
|
|
8454
|
+
--x-size-border-radius-bottom-right-button-round: var(--x-size-border-radius-button-round);
|
|
8455
|
+
--x-size-border-radius-bottom-left-button-round: var(--x-size-border-radius-button-round);
|
|
8456
|
+
}
|
|
8465
8457
|
:root {
|
|
8466
8458
|
--x-color-background-button-secondary: transparent;
|
|
8467
8459
|
--x-color-border-button-secondary: var(--x-color-border-button-default);
|
|
@@ -8490,13 +8482,6 @@
|
|
|
8490
8482
|
--x-size-border-radius-bottom-right-button-round: var(--x-size-border-radius-button-round);
|
|
8491
8483
|
--x-size-border-radius-bottom-left-button-round: var(--x-size-border-radius-button-round);
|
|
8492
8484
|
}
|
|
8493
|
-
:root {
|
|
8494
|
-
--x-size-border-radius-button-round: var(--x-size-border-radius-base-pill);
|
|
8495
|
-
--x-size-border-radius-top-left-button-round: var(--x-size-border-radius-button-round);
|
|
8496
|
-
--x-size-border-radius-top-right-button-round: var(--x-size-border-radius-button-round);
|
|
8497
|
-
--x-size-border-radius-bottom-right-button-round: var(--x-size-border-radius-button-round);
|
|
8498
|
-
--x-size-border-radius-bottom-left-button-round: var(--x-size-border-radius-button-round);
|
|
8499
|
-
}
|
|
8500
8485
|
|
|
8501
8486
|
.x-button--round.x-button,
|
|
8502
8487
|
.x-button--round .x-button {
|
|
@@ -8553,11 +8538,6 @@
|
|
|
8553
8538
|
--x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
|
|
8554
8539
|
--x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
|
|
8555
8540
|
}
|
|
8556
|
-
:root {
|
|
8557
|
-
--x-color-background-button-ghost: transparent;
|
|
8558
|
-
--x-color-border-button-ghost: transparent;
|
|
8559
|
-
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8560
|
-
}
|
|
8561
8541
|
:root {
|
|
8562
8542
|
--x-size-border-radius-button-pill: var(--x-size-border-radius-base-pill);
|
|
8563
8543
|
--x-size-border-radius-top-left-button-pill: var(--x-size-border-radius-button-pill);
|
|
@@ -8585,6 +8565,11 @@
|
|
|
8585
8565
|
--x-color-border-button-ghost: transparent;
|
|
8586
8566
|
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8587
8567
|
}
|
|
8568
|
+
:root {
|
|
8569
|
+
--x-color-background-button-ghost: transparent;
|
|
8570
|
+
--x-color-border-button-ghost: transparent;
|
|
8571
|
+
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8572
|
+
}
|
|
8588
8573
|
|
|
8589
8574
|
.x-button--ghost.x-button,
|
|
8590
8575
|
.x-button--ghost .x-button {
|
|
@@ -8625,13 +8610,6 @@
|
|
|
8625
8610
|
--x-number-font-weight-button-default: var(--x-number-font-weight-base-bold);
|
|
8626
8611
|
--x-size-line-height-button-default: var(--x-size-line-height-text);
|
|
8627
8612
|
}
|
|
8628
|
-
:root {
|
|
8629
|
-
--x-size-border-radius-button-card: var(--x-size-border-radius-base-s);
|
|
8630
|
-
--x-size-border-radius-top-left-button-card: var(--x-size-border-radius-button-card);
|
|
8631
|
-
--x-size-border-radius-top-right-button-card: var(--x-size-border-radius-button-card);
|
|
8632
|
-
--x-size-border-radius-bottom-right-button-card: var(--x-size-border-radius-button-card);
|
|
8633
|
-
--x-size-border-radius-bottom-left-button-card: var(--x-size-border-radius-button-card);
|
|
8634
|
-
}
|
|
8635
8613
|
:root {
|
|
8636
8614
|
--x-color-background-button-default: var(--x-color-base-lead);
|
|
8637
8615
|
--x-color-border-button-default: var(--x-color-background-button-default);
|
|
@@ -8718,14 +8696,11 @@
|
|
|
8718
8696
|
}
|
|
8719
8697
|
}
|
|
8720
8698
|
:root {
|
|
8721
|
-
--x-
|
|
8722
|
-
--x-
|
|
8723
|
-
--x-
|
|
8724
|
-
--x-size-border-radius-
|
|
8725
|
-
--x-size-border-
|
|
8726
|
-
--x-size-width-badge-default: 1.5em;
|
|
8727
|
-
--x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
|
|
8728
|
-
--x-size-font-badge-default: var(--x-size-font-base-xs);
|
|
8699
|
+
--x-size-border-radius-button-card: var(--x-size-border-radius-base-s);
|
|
8700
|
+
--x-size-border-radius-top-left-button-card: var(--x-size-border-radius-button-card);
|
|
8701
|
+
--x-size-border-radius-top-right-button-card: var(--x-size-border-radius-button-card);
|
|
8702
|
+
--x-size-border-radius-bottom-right-button-card: var(--x-size-border-radius-button-card);
|
|
8703
|
+
--x-size-border-radius-bottom-left-button-card: var(--x-size-border-radius-button-card);
|
|
8729
8704
|
}
|
|
8730
8705
|
:root {
|
|
8731
8706
|
--x-size-border-radius-button-card: var(--x-size-border-radius-base-s);
|
|
@@ -8759,6 +8734,16 @@
|
|
|
8759
8734
|
--x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
|
|
8760
8735
|
--x-size-font-badge-default: var(--x-size-font-base-xs);
|
|
8761
8736
|
}
|
|
8737
|
+
:root {
|
|
8738
|
+
--x-color-background-badge-default: var(--x-color-base-neutral-10);
|
|
8739
|
+
--x-color-text-badge-default: var(--x-color-base-neutral-100);
|
|
8740
|
+
--x-color-border-badge-default: var(--x-color-base-neutral-10);
|
|
8741
|
+
--x-size-border-radius-badge-default: var(--x-size-border-radius-base-pill);
|
|
8742
|
+
--x-size-border-width-badge-default: 0;
|
|
8743
|
+
--x-size-width-badge-default: 1.5em;
|
|
8744
|
+
--x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
|
|
8745
|
+
--x-size-font-badge-default: var(--x-size-font-base-xs);
|
|
8746
|
+
}
|
|
8762
8747
|
|
|
8763
8748
|
[dir="ltr"] .x-badge {
|
|
8764
8749
|
right: calc(var(--x-size-width-badge-default) / 4);
|
|
@@ -8840,9 +8825,24 @@
|
|
|
8840
8825
|
--x-size-border-radius-base-pill: 99999px;
|
|
8841
8826
|
--x-size-border-width-base: 1px;
|
|
8842
8827
|
}
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
|
|
8828
|
+
|
|
8829
|
+
:root {
|
|
8830
|
+
--x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
|
|
8831
|
+
--x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
|
|
8832
|
+
}
|
|
8833
|
+
|
|
8834
|
+
.x-picture--cover.x-picture {
|
|
8835
|
+
position: relative;
|
|
8836
|
+
}
|
|
8837
|
+
|
|
8838
|
+
.x-result:hover .x-picture--cover:after,
|
|
8839
|
+
.x-picture--cover:hover:after {
|
|
8840
|
+
content: "";
|
|
8841
|
+
display: block;
|
|
8842
|
+
position: absolute;
|
|
8843
|
+
top: 0;
|
|
8844
|
+
left: 0;
|
|
8845
|
+
background: linear-gradient(to bottom, var(--x-color-background-picture-cover-hover-from) 50%, var(--x-color-background-picture-cover-hover-to) 100%);
|
|
8846
|
+
width: 100%;
|
|
8847
|
+
height: 100%;
|
|
8848
8848
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.1",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"test:unit-watch": "jest --watch",
|
|
60
60
|
"test:e2e": "start-server-and-test preview http://localhost:8080 cypress:open",
|
|
61
61
|
"test:e2e:firefox": "start-server-and-test serve http://localhost:8080 cypress:open:firefox",
|
|
62
|
-
"test:e2e:ci": "start-server-and-test serve http://localhost:8080 cypress:
|
|
62
|
+
"test:e2e:ci": "start-server-and-test serve http://localhost:8080 cypress:run:ci",
|
|
63
63
|
"test": "pnpm run test:unit && pnpm run test:e2e:ci",
|
|
64
|
-
"cypress:
|
|
64
|
+
"cypress:run:ci": "cypress run --e2e --headless --browser chrome",
|
|
65
65
|
"cypress:open": "cypress open --e2e --browser chrome",
|
|
66
66
|
"cypress:open:firefox": "cypress open --e2e --browser firefox",
|
|
67
67
|
"cypress:open:component": "cypress open --component --browser chrome",
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"access": "public",
|
|
145
145
|
"directory": "dist"
|
|
146
146
|
},
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "d58959b631114a7973f8485538e1ac3a35777171"
|
|
148
148
|
}
|