@empathyco/x-components 3.0.0-alpha.223 → 3.0.0-alpha.225
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,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.225](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.224...@empathyco/x-components@3.0.0-alpha.225) (2022-11-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
9
|
+
|
|
10
|
+
# Change Log
|
|
11
|
+
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
|
+
|
|
15
|
+
## [3.0.0-alpha.224](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.223...@empathyco/x-components@3.0.0-alpha.224) (2022-11-11)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **animations:** make content-visibility CSS property and createCollapseAnimationMixin work
|
|
20
|
+
together (#839)
|
|
21
|
+
([50d5c87](https://github.com/empathyco/x/commit/50d5c8744e5a8d2c8db5aed33e71bd8a39a76cf3))
|
|
22
|
+
|
|
23
|
+
# Change Log
|
|
24
|
+
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
|
+
|
|
6
28
|
## [3.0.0-alpha.223](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.222...@empathyco/x-components@3.0.0-alpha.223) (2022-11-10)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @empathyco/x-components
|
|
@@ -56,11 +56,9 @@
|
|
|
56
56
|
}
|
|
57
57
|
[dir="ltr"] .x-badge {
|
|
58
58
|
right: calc(var(--x-size-width-badge-default) / 4);
|
|
59
|
-
}
|
|
60
|
-
[dir="rtl"] .x-badge {
|
|
59
|
+
}[dir="rtl"] .x-badge {
|
|
61
60
|
left: calc(var(--x-size-width-badge-default) / 4);
|
|
62
|
-
}
|
|
63
|
-
.x-badge {
|
|
61
|
+
}.x-badge {
|
|
64
62
|
border-radius: var(--x-size-border-radius-badge-default);
|
|
65
63
|
border-style: solid;
|
|
66
64
|
border-width: var(--x-size-border-width-badge-default);
|
|
@@ -538,17 +536,13 @@
|
|
|
538
536
|
}
|
|
539
537
|
[dir="ltr"] .x-facet {
|
|
540
538
|
border-right-width: var(--x-size-border-width-right-facet-default);
|
|
541
|
-
}
|
|
542
|
-
[dir="rtl"] .x-facet {
|
|
539
|
+
}[dir="rtl"] .x-facet {
|
|
543
540
|
border-left-width: var(--x-size-border-width-right-facet-default);
|
|
544
|
-
}
|
|
545
|
-
[dir="ltr"] .x-facet {
|
|
541
|
+
}[dir="ltr"] .x-facet {
|
|
546
542
|
border-left-width: var(--x-size-border-width-left-facet-default);
|
|
547
|
-
}
|
|
548
|
-
[dir="rtl"] .x-facet {
|
|
543
|
+
}[dir="rtl"] .x-facet {
|
|
549
544
|
border-right-width: var(--x-size-border-width-left-facet-default);
|
|
550
|
-
}
|
|
551
|
-
.x-facet {
|
|
545
|
+
}.x-facet {
|
|
552
546
|
display: flex;
|
|
553
547
|
flex-flow: column nowrap;
|
|
554
548
|
justify-content: flex-start;
|
|
@@ -704,29 +698,21 @@
|
|
|
704
698
|
}
|
|
705
699
|
[dir="ltr"] .x-filter {
|
|
706
700
|
padding-left: var(--x-size-padding-left-filter-default);
|
|
707
|
-
}
|
|
708
|
-
[dir="rtl"] .x-filter {
|
|
701
|
+
}[dir="rtl"] .x-filter {
|
|
709
702
|
padding-right: var(--x-size-padding-left-filter-default);
|
|
710
|
-
}
|
|
711
|
-
[dir="ltr"] .x-filter {
|
|
703
|
+
}[dir="ltr"] .x-filter {
|
|
712
704
|
padding-right: var(--x-size-padding-right-filter-default);
|
|
713
|
-
}
|
|
714
|
-
[dir="rtl"] .x-filter {
|
|
705
|
+
}[dir="rtl"] .x-filter {
|
|
715
706
|
padding-left: var(--x-size-padding-right-filter-default);
|
|
716
|
-
}
|
|
717
|
-
[dir="ltr"] .x-filter {
|
|
707
|
+
}[dir="ltr"] .x-filter {
|
|
718
708
|
border-right-width: var(--x-size-border-width-right-filter-default);
|
|
719
|
-
}
|
|
720
|
-
[dir="rtl"] .x-filter {
|
|
709
|
+
}[dir="rtl"] .x-filter {
|
|
721
710
|
border-left-width: var(--x-size-border-width-right-filter-default);
|
|
722
|
-
}
|
|
723
|
-
[dir="ltr"] .x-filter {
|
|
711
|
+
}[dir="ltr"] .x-filter {
|
|
724
712
|
border-left-width: var(--x-size-border-width-left-filter-default);
|
|
725
|
-
}
|
|
726
|
-
[dir="rtl"] .x-filter {
|
|
713
|
+
}[dir="rtl"] .x-filter {
|
|
727
714
|
border-right-width: var(--x-size-border-width-left-filter-default);
|
|
728
|
-
}
|
|
729
|
-
.x-filter {
|
|
715
|
+
}.x-filter {
|
|
730
716
|
display: inline-flex;
|
|
731
717
|
justify-content: flex-start;
|
|
732
718
|
align-items: flex-start;
|
|
@@ -960,17 +946,13 @@
|
|
|
960
946
|
}
|
|
961
947
|
[dir="ltr"] .x-input-group {
|
|
962
948
|
border-right-width: var(--x-size-border-width-right-input-group-default);
|
|
963
|
-
}
|
|
964
|
-
[dir="rtl"] .x-input-group {
|
|
949
|
+
}[dir="rtl"] .x-input-group {
|
|
965
950
|
border-left-width: var(--x-size-border-width-right-input-group-default);
|
|
966
|
-
}
|
|
967
|
-
[dir="ltr"] .x-input-group {
|
|
951
|
+
}[dir="ltr"] .x-input-group {
|
|
968
952
|
border-left-width: var(--x-size-border-width-left-input-group-default);
|
|
969
|
-
}
|
|
970
|
-
[dir="rtl"] .x-input-group {
|
|
953
|
+
}[dir="rtl"] .x-input-group {
|
|
971
954
|
border-right-width: var(--x-size-border-width-left-input-group-default);
|
|
972
|
-
}
|
|
973
|
-
.x-input-group {
|
|
955
|
+
}.x-input-group {
|
|
974
956
|
display: flex;
|
|
975
957
|
flex-flow: row nowrap;
|
|
976
958
|
align-content: center;
|
|
@@ -1224,29 +1206,21 @@
|
|
|
1224
1206
|
}
|
|
1225
1207
|
[dir="ltr"] .x-input {
|
|
1226
1208
|
padding-left: var(--x-size-padding-left-input-default);
|
|
1227
|
-
}
|
|
1228
|
-
[dir="rtl"] .x-input {
|
|
1209
|
+
}[dir="rtl"] .x-input {
|
|
1229
1210
|
padding-right: var(--x-size-padding-left-input-default);
|
|
1230
|
-
}
|
|
1231
|
-
[dir="ltr"] .x-input {
|
|
1211
|
+
}[dir="ltr"] .x-input {
|
|
1232
1212
|
padding-right: var(--x-size-padding-right-input-default);
|
|
1233
|
-
}
|
|
1234
|
-
[dir="rtl"] .x-input {
|
|
1213
|
+
}[dir="rtl"] .x-input {
|
|
1235
1214
|
padding-left: var(--x-size-padding-right-input-default);
|
|
1236
|
-
}
|
|
1237
|
-
[dir="ltr"] .x-input {
|
|
1215
|
+
}[dir="ltr"] .x-input {
|
|
1238
1216
|
border-right-width: var(--x-size-border-width-right-input-default);
|
|
1239
|
-
}
|
|
1240
|
-
[dir="rtl"] .x-input {
|
|
1217
|
+
}[dir="rtl"] .x-input {
|
|
1241
1218
|
border-left-width: var(--x-size-border-width-right-input-default);
|
|
1242
|
-
}
|
|
1243
|
-
[dir="ltr"] .x-input {
|
|
1219
|
+
}[dir="ltr"] .x-input {
|
|
1244
1220
|
border-left-width: var(--x-size-border-width-left-input-default);
|
|
1245
|
-
}
|
|
1246
|
-
[dir="rtl"] .x-input {
|
|
1221
|
+
}[dir="rtl"] .x-input {
|
|
1247
1222
|
border-right-width: var(--x-size-border-width-left-input-default);
|
|
1248
|
-
}
|
|
1249
|
-
.x-input {
|
|
1223
|
+
}.x-input {
|
|
1250
1224
|
position: relative;
|
|
1251
1225
|
display: flex;
|
|
1252
1226
|
overflow: hidden;
|
|
@@ -2366,17 +2340,13 @@
|
|
|
2366
2340
|
}
|
|
2367
2341
|
[dir="ltr"] .x-message {
|
|
2368
2342
|
border-left-width: var(--x-size-border-width-left-message-default);
|
|
2369
|
-
}
|
|
2370
|
-
[dir="rtl"] .x-message {
|
|
2343
|
+
}[dir="rtl"] .x-message {
|
|
2371
2344
|
border-right-width: var(--x-size-border-width-left-message-default);
|
|
2372
|
-
}
|
|
2373
|
-
[dir="ltr"] .x-message {
|
|
2345
|
+
}[dir="ltr"] .x-message {
|
|
2374
2346
|
border-right-width: var(--x-size-border-width-right-message-default);
|
|
2375
|
-
}
|
|
2376
|
-
[dir="rtl"] .x-message {
|
|
2347
|
+
}[dir="rtl"] .x-message {
|
|
2377
2348
|
border-left-width: var(--x-size-border-width-right-message-default);
|
|
2378
|
-
}
|
|
2379
|
-
.x-message {
|
|
2349
|
+
}.x-message {
|
|
2380
2350
|
display: flex;
|
|
2381
2351
|
flex-flow: column nowrap;
|
|
2382
2352
|
justify-content: var(--x-string-justify-message-default);
|
|
@@ -3315,29 +3285,21 @@
|
|
|
3315
3285
|
}
|
|
3316
3286
|
[dir="ltr"] .x-suggestion-group {
|
|
3317
3287
|
padding-left: var(--x-size-padding-left-suggestion-group-default);
|
|
3318
|
-
}
|
|
3319
|
-
[dir="rtl"] .x-suggestion-group {
|
|
3288
|
+
}[dir="rtl"] .x-suggestion-group {
|
|
3320
3289
|
padding-right: var(--x-size-padding-left-suggestion-group-default);
|
|
3321
|
-
}
|
|
3322
|
-
[dir="ltr"] .x-suggestion-group {
|
|
3290
|
+
}[dir="ltr"] .x-suggestion-group {
|
|
3323
3291
|
padding-right: var(--x-size-padding-right-suggestion-group-default);
|
|
3324
|
-
}
|
|
3325
|
-
[dir="rtl"] .x-suggestion-group {
|
|
3292
|
+
}[dir="rtl"] .x-suggestion-group {
|
|
3326
3293
|
padding-left: var(--x-size-padding-right-suggestion-group-default);
|
|
3327
|
-
}
|
|
3328
|
-
[dir="ltr"] .x-suggestion-group {
|
|
3294
|
+
}[dir="ltr"] .x-suggestion-group {
|
|
3329
3295
|
border-left-width: var(--x-size-border-width-left-suggestion-group-default);
|
|
3330
|
-
}
|
|
3331
|
-
[dir="rtl"] .x-suggestion-group {
|
|
3296
|
+
}[dir="rtl"] .x-suggestion-group {
|
|
3332
3297
|
border-right-width: var(--x-size-border-width-left-suggestion-group-default);
|
|
3333
|
-
}
|
|
3334
|
-
[dir="ltr"] .x-suggestion-group {
|
|
3298
|
+
}[dir="ltr"] .x-suggestion-group {
|
|
3335
3299
|
border-right-width: var(--x-size-border-width-right-suggestion-group-default);
|
|
3336
|
-
}
|
|
3337
|
-
[dir="rtl"] .x-suggestion-group {
|
|
3300
|
+
}[dir="rtl"] .x-suggestion-group {
|
|
3338
3301
|
border-left-width: var(--x-size-border-width-right-suggestion-group-default);
|
|
3339
|
-
}
|
|
3340
|
-
.x-suggestion-group {
|
|
3302
|
+
}.x-suggestion-group {
|
|
3341
3303
|
display: flex;
|
|
3342
3304
|
flex-flow: row nowrap;
|
|
3343
3305
|
box-sizing: border-box;
|
|
@@ -3406,35 +3368,25 @@
|
|
|
3406
3368
|
}
|
|
3407
3369
|
[dir="ltr"] .x-suggestion {
|
|
3408
3370
|
text-align: left;
|
|
3409
|
-
}
|
|
3410
|
-
[dir="rtl"] .x-suggestion {
|
|
3371
|
+
}[dir="rtl"] .x-suggestion {
|
|
3411
3372
|
text-align: right;
|
|
3412
|
-
}
|
|
3413
|
-
[dir="ltr"] .x-suggestion {
|
|
3373
|
+
}[dir="ltr"] .x-suggestion {
|
|
3414
3374
|
padding-left: var(--x-size-padding-left-suggestion-default);
|
|
3415
|
-
}
|
|
3416
|
-
[dir="rtl"] .x-suggestion {
|
|
3375
|
+
}[dir="rtl"] .x-suggestion {
|
|
3417
3376
|
padding-right: var(--x-size-padding-left-suggestion-default);
|
|
3418
|
-
}
|
|
3419
|
-
[dir="ltr"] .x-suggestion {
|
|
3377
|
+
}[dir="ltr"] .x-suggestion {
|
|
3420
3378
|
padding-right: var(--x-size-padding-right-suggestion-default);
|
|
3421
|
-
}
|
|
3422
|
-
[dir="rtl"] .x-suggestion {
|
|
3379
|
+
}[dir="rtl"] .x-suggestion {
|
|
3423
3380
|
padding-left: var(--x-size-padding-right-suggestion-default);
|
|
3424
|
-
}
|
|
3425
|
-
[dir="ltr"] .x-suggestion {
|
|
3381
|
+
}[dir="ltr"] .x-suggestion {
|
|
3426
3382
|
border-left-width: var(--x-size-border-width-left-suggestion-default);
|
|
3427
|
-
}
|
|
3428
|
-
[dir="rtl"] .x-suggestion {
|
|
3383
|
+
}[dir="rtl"] .x-suggestion {
|
|
3429
3384
|
border-right-width: var(--x-size-border-width-left-suggestion-default);
|
|
3430
|
-
}
|
|
3431
|
-
[dir="ltr"] .x-suggestion {
|
|
3385
|
+
}[dir="ltr"] .x-suggestion {
|
|
3432
3386
|
border-right-width: var(--x-size-border-width-right-suggestion-default);
|
|
3433
|
-
}
|
|
3434
|
-
[dir="rtl"] .x-suggestion {
|
|
3387
|
+
}[dir="rtl"] .x-suggestion {
|
|
3435
3388
|
border-left-width: var(--x-size-border-width-right-suggestion-default);
|
|
3436
|
-
}
|
|
3437
|
-
.x-suggestion {
|
|
3389
|
+
}.x-suggestion {
|
|
3438
3390
|
display: flex;
|
|
3439
3391
|
flex-flow: row nowrap;
|
|
3440
3392
|
box-sizing: border-box;
|
|
@@ -3610,29 +3562,21 @@
|
|
|
3610
3562
|
}
|
|
3611
3563
|
[dir="ltr"] .x-tag {
|
|
3612
3564
|
border-left-width: var(--x-size-border-width-left-tag-default);
|
|
3613
|
-
}
|
|
3614
|
-
[dir="rtl"] .x-tag {
|
|
3565
|
+
}[dir="rtl"] .x-tag {
|
|
3615
3566
|
border-right-width: var(--x-size-border-width-left-tag-default);
|
|
3616
|
-
}
|
|
3617
|
-
[dir="ltr"] .x-tag {
|
|
3567
|
+
}[dir="ltr"] .x-tag {
|
|
3618
3568
|
border-right-width: var(--x-size-border-width-right-tag-default);
|
|
3619
|
-
}
|
|
3620
|
-
[dir="rtl"] .x-tag {
|
|
3569
|
+
}[dir="rtl"] .x-tag {
|
|
3621
3570
|
border-left-width: var(--x-size-border-width-right-tag-default);
|
|
3622
|
-
}
|
|
3623
|
-
[dir="ltr"] .x-tag {
|
|
3571
|
+
}[dir="ltr"] .x-tag {
|
|
3624
3572
|
padding-left: var(--x-size-padding-left-tag-default);
|
|
3625
|
-
}
|
|
3626
|
-
[dir="rtl"] .x-tag {
|
|
3573
|
+
}[dir="rtl"] .x-tag {
|
|
3627
3574
|
padding-right: var(--x-size-padding-left-tag-default);
|
|
3628
|
-
}
|
|
3629
|
-
[dir="ltr"] .x-tag {
|
|
3575
|
+
}[dir="ltr"] .x-tag {
|
|
3630
3576
|
padding-right: var(--x-size-padding-right-tag-default);
|
|
3631
|
-
}
|
|
3632
|
-
[dir="rtl"] .x-tag {
|
|
3577
|
+
}[dir="rtl"] .x-tag {
|
|
3633
3578
|
padding-left: var(--x-size-padding-right-tag-default);
|
|
3634
|
-
}
|
|
3635
|
-
.x-tag {
|
|
3579
|
+
}.x-tag {
|
|
3636
3580
|
display: flex;
|
|
3637
3581
|
align-items: center;
|
|
3638
3582
|
justify-content: center;
|
|
@@ -3992,6 +3936,7 @@
|
|
|
3992
3936
|
.x-text--stroke.x-small {
|
|
3993
3937
|
--x-string-text-decoration-small: line-through;
|
|
3994
3938
|
}
|
|
3939
|
+
|
|
3995
3940
|
.x-background--lead {
|
|
3996
3941
|
background-color: var(--x-color-base-lead) !important;
|
|
3997
3942
|
}
|
|
@@ -7291,4 +7236,3 @@
|
|
|
7291
7236
|
.x-normal-case {
|
|
7292
7237
|
text-transform: none;
|
|
7293
7238
|
}
|
|
7294
|
-
|
|
@@ -12,12 +12,23 @@ function createCollapseAnimationMixin(property) {
|
|
|
12
12
|
/**
|
|
13
13
|
* Changes the element's animated property from 0 to the element's content size.
|
|
14
14
|
*
|
|
15
|
+
* @remarks `content-visibility` CSS property boosts the rendering performance waiting to be
|
|
16
|
+
* needed until rendering the content. This behaviour collides with this animation method.
|
|
17
|
+
* When the `scrollProperty` is evaluated, the content has not been rendered yet and the value
|
|
18
|
+
* is 0 so nothing is animated. To avoid this behaviour, we change the `content-visibility` to
|
|
19
|
+
* default value, force a layer repaint and then, evaluate the `scrollProperty` value which
|
|
20
|
+
* now has value. Then we restore the `content-visibility` value to its previous state.
|
|
21
|
+
*
|
|
15
22
|
* @param element - The DOM element that is going to be animated.
|
|
16
23
|
* @internal
|
|
17
24
|
*/
|
|
18
25
|
expand(element) {
|
|
19
26
|
element.style[property] = '0';
|
|
27
|
+
const originalValue = element.style['content-visibility'];
|
|
28
|
+
element.style['content-visibility'] = 'visible';
|
|
29
|
+
element.getBoundingClientRect();
|
|
20
30
|
element.style[property] = `${element[scrollProperty]}px`;
|
|
31
|
+
element.style['content-visibility'] = originalValue;
|
|
21
32
|
},
|
|
22
33
|
/**
|
|
23
34
|
* Removes the animated property from the element.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animations.mixin.js","sources":["../../../../src/components/animations/animations.mixin.ts"],"sourcesContent":["import Vue, { ComponentOptions } from 'vue';\n\n/**\n * Type options for the property that will be animated.\n */\ntype AnimatedProperty = 'height' | 'width';\n\n/**\n * Adds parametrized methods to a component to allow the collapsing of the provided property.\n *\n * @param property - The property that will be animated.\n * @returns Mixin for the module.\n * @public\n */\nexport function createCollapseAnimationMixin(property: AnimatedProperty): ComponentOptions<Vue> {\n const scrollProperty = property === 'width' ? 'scrollWidth' : 'scrollHeight';\n\n return {\n methods: {\n /**\n * Changes the element's animated property from 0 to the element's content size.\n *\n * @param element - The DOM element that is going to be animated.\n * @internal\n */\n expand(element: HTMLElement): void {\n element.style[property] = '0';\n element.style[property] = `${element[scrollProperty]}px`;\n },\n /**\n * Removes the animated property from the element.\n *\n * @param element - The DOM element that is going to be animated.\n * @internal\n */\n cleanUpAnimationStyles(element: HTMLElement): void {\n element.style.removeProperty(property);\n },\n /**\n * Changes the element's animated property from the element's content size to 0.\n *\n * @param element - The DOM element that is going to be animated.\n * @internal\n */\n collapse(element: HTMLElement): void {\n element.style[property] = `${element[scrollProperty]}px`;\n // This is intended. We want to provoke a layer repaint to apply this style.\n element.getBoundingClientRect();\n element.style[property] = '0';\n }\n }\n };\n}\n"],"names":[],"mappings":"AAOA;;;;;;;SAOgB,4BAA4B,CAAC,QAA0B;IACrE,MAAM,cAAc,GAAG,QAAQ,KAAK,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC;IAE7E,OAAO;QACL,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"animations.mixin.js","sources":["../../../../src/components/animations/animations.mixin.ts"],"sourcesContent":["import Vue, { ComponentOptions } from 'vue';\n\n/**\n * Type options for the property that will be animated.\n */\ntype AnimatedProperty = 'height' | 'width';\n\n/**\n * Adds parametrized methods to a component to allow the collapsing of the provided property.\n *\n * @param property - The property that will be animated.\n * @returns Mixin for the module.\n * @public\n */\nexport function createCollapseAnimationMixin(property: AnimatedProperty): ComponentOptions<Vue> {\n const scrollProperty = property === 'width' ? 'scrollWidth' : 'scrollHeight';\n\n return {\n methods: {\n /**\n * Changes the element's animated property from 0 to the element's content size.\n *\n * @remarks `content-visibility` CSS property boosts the rendering performance waiting to be\n * needed until rendering the content. This behaviour collides with this animation method.\n * When the `scrollProperty` is evaluated, the content has not been rendered yet and the value\n * is 0 so nothing is animated. To avoid this behaviour, we change the `content-visibility` to\n * default value, force a layer repaint and then, evaluate the `scrollProperty` value which\n * now has value. Then we restore the `content-visibility` value to its previous state.\n *\n * @param element - The DOM element that is going to be animated.\n * @internal\n */\n expand(element: HTMLElement): void {\n element.style[property] = '0';\n const originalValue = (element.style as any)['content-visibility'];\n (element.style as any)['content-visibility'] = 'visible';\n element.getBoundingClientRect();\n element.style[property] = `${element[scrollProperty]}px`;\n (element.style as any)['content-visibility'] = originalValue;\n },\n /**\n * Removes the animated property from the element.\n *\n * @param element - The DOM element that is going to be animated.\n * @internal\n */\n cleanUpAnimationStyles(element: HTMLElement): void {\n element.style.removeProperty(property);\n },\n /**\n * Changes the element's animated property from the element's content size to 0.\n *\n * @param element - The DOM element that is going to be animated.\n * @internal\n */\n collapse(element: HTMLElement): void {\n element.style[property] = `${element[scrollProperty]}px`;\n // This is intended. We want to provoke a layer repaint to apply this style.\n element.getBoundingClientRect();\n element.style[property] = '0';\n }\n }\n };\n}\n"],"names":[],"mappings":"AAOA;;;;;;;SAOgB,4BAA4B,CAAC,QAA0B;IACrE,MAAM,cAAc,GAAG,QAAQ,KAAK,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC;IAE7E,OAAO;QACL,OAAO,EAAE;;;;;;;;;;;;;;YAcP,MAAM,CAAC,OAAoB;gBACzB,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;gBAC9B,MAAM,aAAa,GAAI,OAAO,CAAC,KAAa,CAAC,oBAAoB,CAAC,CAAC;gBAClE,OAAO,CAAC,KAAa,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;gBACzD,OAAO,CAAC,qBAAqB,EAAE,CAAC;gBAChC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC;gBACxD,OAAO,CAAC,KAAa,CAAC,oBAAoB,CAAC,GAAG,aAAa,CAAC;aAC9D;;;;;;;YAOD,sBAAsB,CAAC,OAAoB;gBACzC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;aACxC;;;;;;;YAOD,QAAQ,CAAC,OAAoB;gBAC3B,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC;;gBAEzD,OAAO,CAAC,qBAAqB,EAAE,CAAC;gBAChC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;aAC/B;SACF;KACF,CAAC;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.225",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@cypress/vue": "~2.2.4",
|
|
86
86
|
"@cypress/webpack-dev-server": "~1.8.4",
|
|
87
87
|
"@empathyco/x-adapter-platform": "^1.0.0-alpha.43",
|
|
88
|
-
"@empathyco/x-tailwindcss": "^0.2.0-alpha.
|
|
88
|
+
"@empathyco/x-tailwindcss": "^0.2.0-alpha.28",
|
|
89
89
|
"@microsoft/api-documenter": "~7.15.3",
|
|
90
90
|
"@microsoft/api-extractor": "~7.19.4",
|
|
91
91
|
"@rollup/plugin-commonjs": "~21.0.1",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"access": "public",
|
|
136
136
|
"directory": "dist"
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "d763da706faf0b24b1c56051acc914416ac02fc0"
|
|
139
139
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animations.mixin.d.ts","sourceRoot":"","sources":["../../../../src/components/animations/animations.mixin.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAE5C;;GAEG;AACH,aAAK,gBAAgB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"animations.mixin.d.ts","sourceRoot":"","sources":["../../../../src/components/animations/animations.mixin.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAE5C;;GAEG;AACH,aAAK,gBAAgB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAiD9F"}
|