@empathyco/x-components 5.0.0-alpha.20 → 5.0.0-alpha.22
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 +18 -0
- package/design-system/deprecated-full-theme.css +172 -172
- package/docs/API-reference/api/x-components.basevariablecolumngrid.md +30 -11
- package/docs/API-reference/api/x-components.mainscroll.md +1 -1
- package/docs/API-reference/api/x-components.md +1 -1
- package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +5 -5
- package/js/components/base-variable-column-grid.vue.js +1 -1
- package/js/components/base-variable-column-grid.vue.js.map +1 -1
- package/js/components/base-variable-column-grid.vue2.js +63 -49
- package/js/components/base-variable-column-grid.vue2.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue.js +33 -35
- package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue2.js +3 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue.js +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue2.js +13 -6
- package/js/x-modules/scroll/components/main-scroll.vue2.js.map +1 -1
- package/js/x-modules/search/components/banners-list.vue.js +33 -35
- package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
- package/js/x-modules/search/components/banners-list.vue2.js +3 -1
- package/js/x-modules/search/components/banners-list.vue2.js.map +1 -1
- package/js/x-modules/search/components/promoteds-list.vue.js +33 -35
- package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
- package/js/x-modules/search/components/promoteds-list.vue2.js +3 -1
- package/js/x-modules/search/components/promoteds-list.vue2.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue.js +33 -35
- package/js/x-modules/search/components/results-list.vue.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue2.js +3 -1
- package/js/x-modules/search/components/results-list.vue2.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +622 -89
- package/report/x-components.api.md +30 -13
- package/types/components/base-variable-column-grid.vue.d.ts +38 -17
- package/types/components/base-variable-column-grid.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts +1 -1
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/banners-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/promoteds-list.vue.d.ts.map +1 -1
- package/types/x-modules/search/components/results-list.vue.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.basevariablecolumngrid.animation.md +0 -13
- package/docs/API-reference/api/x-components.basevariablecolumngrid.items.md +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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
|
+
## [5.0.0-alpha.22](https://github.com/empathyco/x/compare/@empathyco/x-components@5.0.0-alpha.21...@empathyco/x-components@5.0.0-alpha.22) (2024-05-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Code Refactoring
|
|
10
|
+
|
|
11
|
+
* migrate `BaseVariableColumnGrid` to Composition API (#1482) ([b7e292a](https://github.com/empathyco/x/commit/b7e292ae55560f557dd7db3cfbceed993c7b318e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [5.0.0-alpha.21](https://github.com/empathyco/x/compare/@empathyco/x-components@5.0.0-alpha.20...@empathyco/x-components@5.0.0-alpha.21) (2024-05-28)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* replace extra divs with `NoElement` (#1484) ([cc7042e](https://github.com/empathyco/x/commit/cc7042e5f144f2abc9eb39e3834c8a153795f558))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [5.0.0-alpha.20](https://github.com/empathyco/x/compare/@empathyco/x-components@5.0.0-alpha.19...@empathyco/x-components@5.0.0-alpha.20) (2024-05-28)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
2
|
.x-uppercase {
|
|
4
3
|
text-transform: uppercase;
|
|
5
4
|
}
|
|
@@ -15,6 +14,7 @@
|
|
|
15
14
|
.x-normal-case {
|
|
16
15
|
text-transform: none;
|
|
17
16
|
}
|
|
17
|
+
|
|
18
18
|
.x-underline {
|
|
19
19
|
-webkit-text-decoration-line: underline;
|
|
20
20
|
text-decoration-line: underline;
|
|
@@ -3550,6 +3550,24 @@
|
|
|
3550
3550
|
overflow: hidden;
|
|
3551
3551
|
white-space: nowrap;
|
|
3552
3552
|
}
|
|
3553
|
+
.x-text--bold.x-text {
|
|
3554
|
+
--x-number-font-weight-text: var(--x-number-font-weight-base-bold);
|
|
3555
|
+
}
|
|
3556
|
+
.x-text--bold.x-title1 {
|
|
3557
|
+
--x-number-font-weight-title1: var(--x-number-font-weight-base-bold);
|
|
3558
|
+
}
|
|
3559
|
+
.x-text--bold.x-title2 {
|
|
3560
|
+
--x-number-font-weight-title2: var(--x-number-font-weight-base-bold);
|
|
3561
|
+
}
|
|
3562
|
+
.x-text--bold.x-title3 {
|
|
3563
|
+
--x-number-font-weight-title3: var(--x-number-font-weight-base-bold);
|
|
3564
|
+
}
|
|
3565
|
+
.x-text--bold.x-small {
|
|
3566
|
+
--x-number-font-weight-small: var(--x-number-font-weight-base-bold);
|
|
3567
|
+
}
|
|
3568
|
+
:root {
|
|
3569
|
+
--x-color-text-accent: var(--x-color-base-accent);
|
|
3570
|
+
}
|
|
3553
3571
|
.x-text--accent {
|
|
3554
3572
|
--x-color-text-default: var(--x-color-text-accent);
|
|
3555
3573
|
}
|
|
@@ -3620,9 +3638,6 @@
|
|
|
3620
3638
|
--x-number-font-weight-tag-curated-selected-ghost
|
|
3621
3639
|
);
|
|
3622
3640
|
}
|
|
3623
|
-
:root {
|
|
3624
|
-
--x-color-text-accent: var(--x-color-base-accent);
|
|
3625
|
-
}
|
|
3626
3641
|
:root {
|
|
3627
3642
|
--x-color-background-tag-default: var(--x-color-base-neutral-100);
|
|
3628
3643
|
--x-color-border-tag-default: var(--x-color-text-tag-default);
|
|
@@ -4880,22 +4895,13 @@
|
|
|
4880
4895
|
:root {
|
|
4881
4896
|
--x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
|
|
4882
4897
|
}
|
|
4883
|
-
:root {
|
|
4884
|
-
--x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
|
|
4885
|
-
}
|
|
4886
4898
|
|
|
4887
4899
|
.x-result.x-result--card {
|
|
4888
4900
|
overflow: hidden;
|
|
4889
4901
|
--x-size-border-radius-result-default: var(--x-size-border-radius-result-card);
|
|
4890
4902
|
}
|
|
4891
4903
|
:root {
|
|
4892
|
-
--x-size-
|
|
4893
|
-
--x-size-width-progress-bar-line-default: var(--x-size-base-20);
|
|
4894
|
-
--x-color-background-progress-bar-default: var(--x-color-base-neutral-70);
|
|
4895
|
-
--x-color-border-progress-bar-default: var(--x-color-background-progress-bar-default);
|
|
4896
|
-
--x-color-background-progress-bar-line-default: var(--x-color-base-neutral-10);
|
|
4897
|
-
--x-size-border-radius-progress-bar-default: var(--x-size-border-radius-base-pill);
|
|
4898
|
-
--x-size-border-width-progress-bar-default: 0;
|
|
4904
|
+
--x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
|
|
4899
4905
|
}
|
|
4900
4906
|
:root {
|
|
4901
4907
|
--x-size-height-progress-bar-line-default: var(--x-size-base-02);
|
|
@@ -4922,6 +4928,15 @@
|
|
|
4922
4928
|
border-radius: var(--x-size-border-radius-progress-bar-default);
|
|
4923
4929
|
background-color: var(--x-color-background-progress-bar-line-default);
|
|
4924
4930
|
}
|
|
4931
|
+
:root {
|
|
4932
|
+
--x-size-height-progress-bar-line-default: var(--x-size-base-02);
|
|
4933
|
+
--x-size-width-progress-bar-line-default: var(--x-size-base-20);
|
|
4934
|
+
--x-color-background-progress-bar-default: var(--x-color-base-neutral-70);
|
|
4935
|
+
--x-color-border-progress-bar-default: var(--x-color-background-progress-bar-default);
|
|
4936
|
+
--x-color-background-progress-bar-line-default: var(--x-color-base-neutral-10);
|
|
4937
|
+
--x-size-border-radius-progress-bar-default: var(--x-size-border-radius-base-pill);
|
|
4938
|
+
--x-size-border-width-progress-bar-default: 0;
|
|
4939
|
+
}
|
|
4925
4940
|
:root {
|
|
4926
4941
|
--x-number-zoom-scale-picture: 1.1;
|
|
4927
4942
|
--x-number-zoom-duration-picture: 0.3s;
|
|
@@ -5026,10 +5041,6 @@
|
|
|
5026
5041
|
--x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
|
|
5027
5042
|
--x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
|
|
5028
5043
|
}
|
|
5029
|
-
:root {
|
|
5030
|
-
--x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
|
|
5031
|
-
--x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
|
|
5032
|
-
}
|
|
5033
5044
|
|
|
5034
5045
|
.x-picture--cover.x-picture {
|
|
5035
5046
|
position: relative;
|
|
@@ -5046,6 +5057,10 @@
|
|
|
5046
5057
|
width: 100%;
|
|
5047
5058
|
height: 100%;
|
|
5048
5059
|
}
|
|
5060
|
+
:root {
|
|
5061
|
+
--x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
|
|
5062
|
+
--x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
|
|
5063
|
+
}
|
|
5049
5064
|
:root {
|
|
5050
5065
|
--x-color-background-picture-colored: var(--x-color-base-neutral-95);
|
|
5051
5066
|
--x-mix-blend-mode-picture-colored: multiply;
|
|
@@ -5078,6 +5093,21 @@
|
|
|
5078
5093
|
--x-size-border-radius-bottom-picture-card: var(--x-size-border-radius-picture-card);
|
|
5079
5094
|
--x-size-border-radius-left-picture-card: var(--x-size-border-radius-picture-card);
|
|
5080
5095
|
}
|
|
5096
|
+
|
|
5097
|
+
.x-picture--card.x-picture {
|
|
5098
|
+
--x-size-border-radius-picture-default: var(--x-size-border-radius-picture-card);
|
|
5099
|
+
--x-size-border-radius-top-picture-default: var(--x-size-border-radius-top-picture-card);
|
|
5100
|
+
--x-size-border-radius-right-picture-default: var(--x-size-border-radius-right-picture-card);
|
|
5101
|
+
--x-size-border-radius-bottom-picture-default: var(--x-size-border-radius-bottom-picture-card);
|
|
5102
|
+
--x-size-border-radius-left-picture-default: var(--x-size-border-radius-left-picture-card);
|
|
5103
|
+
}
|
|
5104
|
+
:root {
|
|
5105
|
+
--x-size-border-radius-picture-card: var(--x-size-border-radius-base-s);
|
|
5106
|
+
--x-size-border-radius-top-picture-card: var(--x-size-border-radius-picture-card);
|
|
5107
|
+
--x-size-border-radius-right-picture-card: var(--x-size-border-radius-picture-card);
|
|
5108
|
+
--x-size-border-radius-bottom-picture-card: var(--x-size-border-radius-picture-card);
|
|
5109
|
+
--x-size-border-radius-left-picture-card: var(--x-size-border-radius-picture-card);
|
|
5110
|
+
}
|
|
5081
5111
|
:root {
|
|
5082
5112
|
--x-color-background-option-list-button-default: transparent;
|
|
5083
5113
|
--x-color-border-option-list-button-default: transparent;
|
|
@@ -5158,21 +5188,6 @@
|
|
|
5158
5188
|
--x-number-font-weight-option-list-button-default: var(--x-number-font-weight-base-regular);
|
|
5159
5189
|
--x-number-font-weight-option-list-button-default-selected: var(--x-number-font-weight-base-bold);
|
|
5160
5190
|
}
|
|
5161
|
-
:root {
|
|
5162
|
-
--x-size-border-radius-picture-card: var(--x-size-border-radius-base-s);
|
|
5163
|
-
--x-size-border-radius-top-picture-card: var(--x-size-border-radius-picture-card);
|
|
5164
|
-
--x-size-border-radius-right-picture-card: var(--x-size-border-radius-picture-card);
|
|
5165
|
-
--x-size-border-radius-bottom-picture-card: var(--x-size-border-radius-picture-card);
|
|
5166
|
-
--x-size-border-radius-left-picture-card: var(--x-size-border-radius-picture-card);
|
|
5167
|
-
}
|
|
5168
|
-
|
|
5169
|
-
.x-picture--card.x-picture {
|
|
5170
|
-
--x-size-border-radius-picture-default: var(--x-size-border-radius-picture-card);
|
|
5171
|
-
--x-size-border-radius-top-picture-default: var(--x-size-border-radius-top-picture-card);
|
|
5172
|
-
--x-size-border-radius-right-picture-default: var(--x-size-border-radius-right-picture-card);
|
|
5173
|
-
--x-size-border-radius-bottom-picture-default: var(--x-size-border-radius-bottom-picture-card);
|
|
5174
|
-
--x-size-border-radius-left-picture-default: var(--x-size-border-radius-left-picture-card);
|
|
5175
|
-
}
|
|
5176
5191
|
:root {
|
|
5177
5192
|
--x-color-background-option-list-button-default: transparent;
|
|
5178
5193
|
--x-color-border-option-list-button-default: transparent;
|
|
@@ -5545,15 +5560,15 @@
|
|
|
5545
5560
|
--x-modal-overlay-color: rgb(0, 0, 0);
|
|
5546
5561
|
--x-modal-overlay-opacity: 0.7;
|
|
5547
5562
|
}
|
|
5548
|
-
:root {
|
|
5549
|
-
--x-modal-overlay-color: rgb(0, 0, 0);
|
|
5550
|
-
--x-modal-overlay-opacity: 0.7;
|
|
5551
|
-
}
|
|
5552
5563
|
|
|
5553
5564
|
.x-modal__overlay {
|
|
5554
5565
|
background-color: var(--x-modal-overlay-color) !important;
|
|
5555
5566
|
opacity: var(--x-modal-overlay-opacity) !important;
|
|
5556
5567
|
}
|
|
5568
|
+
:root {
|
|
5569
|
+
--x-modal-overlay-color: rgb(0, 0, 0);
|
|
5570
|
+
--x-modal-overlay-opacity: 0.7;
|
|
5571
|
+
}
|
|
5557
5572
|
:root {
|
|
5558
5573
|
--x-string-justify-message-default: center;
|
|
5559
5574
|
--x-size-gap-message-default: var(--x-size-base-03);
|
|
@@ -5662,22 +5677,6 @@
|
|
|
5662
5677
|
--x-size-padding-list-12: var(--x-size-base-12);
|
|
5663
5678
|
--x-size-padding-list-13: var(--x-size-base-13);
|
|
5664
5679
|
}
|
|
5665
|
-
/* @deprecated */
|
|
5666
|
-
:root {
|
|
5667
|
-
--x-size-padding-list-01: var(--x-size-base-01);
|
|
5668
|
-
--x-size-padding-list-02: var(--x-size-base-02);
|
|
5669
|
-
--x-size-padding-list-03: var(--x-size-base-03);
|
|
5670
|
-
--x-size-padding-list-04: var(--x-size-base-04);
|
|
5671
|
-
--x-size-padding-list-05: var(--x-size-base-05);
|
|
5672
|
-
--x-size-padding-list-06: var(--x-size-base-06);
|
|
5673
|
-
--x-size-padding-list-07: var(--x-size-base-07);
|
|
5674
|
-
--x-size-padding-list-08: var(--x-size-base-08);
|
|
5675
|
-
--x-size-padding-list-09: var(--x-size-base-09);
|
|
5676
|
-
--x-size-padding-list-10: var(--x-size-base-10);
|
|
5677
|
-
--x-size-padding-list-11: var(--x-size-base-11);
|
|
5678
|
-
--x-size-padding-list-12: var(--x-size-base-12);
|
|
5679
|
-
--x-size-padding-list-13: var(--x-size-base-13);
|
|
5680
|
-
}
|
|
5681
5680
|
|
|
5682
5681
|
/* @deprecated */
|
|
5683
5682
|
[class*=x-list--padding-].x-list.x-list--padding-top:not(.x-list--padding-right) {
|
|
@@ -6002,6 +6001,22 @@
|
|
|
6002
6001
|
margin-right: var(--x-size-gap-list-13);
|
|
6003
6002
|
}
|
|
6004
6003
|
}
|
|
6004
|
+
/* @deprecated */
|
|
6005
|
+
:root {
|
|
6006
|
+
--x-size-padding-list-01: var(--x-size-base-01);
|
|
6007
|
+
--x-size-padding-list-02: var(--x-size-base-02);
|
|
6008
|
+
--x-size-padding-list-03: var(--x-size-base-03);
|
|
6009
|
+
--x-size-padding-list-04: var(--x-size-base-04);
|
|
6010
|
+
--x-size-padding-list-05: var(--x-size-base-05);
|
|
6011
|
+
--x-size-padding-list-06: var(--x-size-base-06);
|
|
6012
|
+
--x-size-padding-list-07: var(--x-size-base-07);
|
|
6013
|
+
--x-size-padding-list-08: var(--x-size-base-08);
|
|
6014
|
+
--x-size-padding-list-09: var(--x-size-base-09);
|
|
6015
|
+
--x-size-padding-list-10: var(--x-size-base-10);
|
|
6016
|
+
--x-size-padding-list-11: var(--x-size-base-11);
|
|
6017
|
+
--x-size-padding-list-12: var(--x-size-base-12);
|
|
6018
|
+
--x-size-padding-list-13: var(--x-size-base-13);
|
|
6019
|
+
}
|
|
6005
6020
|
:root {
|
|
6006
6021
|
--x-size-gap-list-01: var(--x-size-base-01);
|
|
6007
6022
|
--x-size-gap-list-02: var(--x-size-base-02);
|
|
@@ -6554,14 +6569,6 @@
|
|
|
6554
6569
|
--x-size-align-list: stretch;
|
|
6555
6570
|
--x-size-align-list-stretch: stretch;
|
|
6556
6571
|
}
|
|
6557
|
-
:root {
|
|
6558
|
-
--x-string-flow-list: column nowrap;
|
|
6559
|
-
--x-size-padding-list: 0;
|
|
6560
|
-
--x-size-gap-list: 0;
|
|
6561
|
-
--x-size-justify-list: stretch;
|
|
6562
|
-
--x-size-align-list: stretch;
|
|
6563
|
-
--x-size-align-list-stretch: stretch;
|
|
6564
|
-
}
|
|
6565
6572
|
|
|
6566
6573
|
.x-list {
|
|
6567
6574
|
display: flex;
|
|
@@ -6702,6 +6709,14 @@
|
|
|
6702
6709
|
.x-list > .x-list__item--12 {
|
|
6703
6710
|
flex: 12 1 auto;
|
|
6704
6711
|
}
|
|
6712
|
+
:root {
|
|
6713
|
+
--x-string-flow-list: column nowrap;
|
|
6714
|
+
--x-size-padding-list: 0;
|
|
6715
|
+
--x-size-gap-list: 0;
|
|
6716
|
+
--x-size-justify-list: stretch;
|
|
6717
|
+
--x-size-align-list: stretch;
|
|
6718
|
+
--x-size-align-list-stretch: stretch;
|
|
6719
|
+
}
|
|
6705
6720
|
:root {
|
|
6706
6721
|
--x-size-border-radius-input-group-pill: var(--x-size-border-radius-base-pill);
|
|
6707
6722
|
--x-size-border-radius-top-left-input-group-pill: var(--x-size-border-radius-input-group-pill);
|
|
@@ -6746,15 +6761,6 @@
|
|
|
6746
6761
|
--x-size-border-width-bottom-input-group-line: var(--x-size-border-width-input-group-line);
|
|
6747
6762
|
--x-size-border-width-left-input-group-line: 0;
|
|
6748
6763
|
}
|
|
6749
|
-
:root {
|
|
6750
|
-
--x-size-padding-left-input-group-line: 0;
|
|
6751
|
-
--x-size-padding-right-input-group-line: 0;
|
|
6752
|
-
--x-size-border-width-input-group-line: var(--x-size-border-width-input-group-default);
|
|
6753
|
-
--x-size-border-width-top-input-group-line: 0;
|
|
6754
|
-
--x-size-border-width-right-input-group-line: 0;
|
|
6755
|
-
--x-size-border-width-bottom-input-group-line: var(--x-size-border-width-input-group-line);
|
|
6756
|
-
--x-size-border-width-left-input-group-line: 0;
|
|
6757
|
-
}
|
|
6758
6764
|
|
|
6759
6765
|
.x-input-group--line .x-input-group,
|
|
6760
6766
|
.x-input-group--line.x-input-group {
|
|
@@ -6793,6 +6799,15 @@
|
|
|
6793
6799
|
margin-top: calc(var(--x-size-border-width-top-input-group-line) * -1) !important;
|
|
6794
6800
|
margin-bottom: calc(var(--x-size-border-width-bottom-input-group-line) * -1) !important;
|
|
6795
6801
|
}
|
|
6802
|
+
:root {
|
|
6803
|
+
--x-size-padding-left-input-group-line: 0;
|
|
6804
|
+
--x-size-padding-right-input-group-line: 0;
|
|
6805
|
+
--x-size-border-width-input-group-line: var(--x-size-border-width-input-group-default);
|
|
6806
|
+
--x-size-border-width-top-input-group-line: 0;
|
|
6807
|
+
--x-size-border-width-right-input-group-line: 0;
|
|
6808
|
+
--x-size-border-width-bottom-input-group-line: var(--x-size-border-width-input-group-line);
|
|
6809
|
+
--x-size-border-width-left-input-group-line: 0;
|
|
6810
|
+
}
|
|
6796
6811
|
:root {
|
|
6797
6812
|
--x-color-background-input-group-default: var(--x-color-background-input-default);
|
|
6798
6813
|
--x-color-border-input-group-default: var(--x-color-border-input-default);
|
|
@@ -7022,15 +7037,6 @@
|
|
|
7022
7037
|
);
|
|
7023
7038
|
--x-size-border-radius-bottom-left-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7024
7039
|
}
|
|
7025
|
-
:root {
|
|
7026
|
-
--x-size-border-radius-input-group-card: var(--x-size-border-radius-base-s);
|
|
7027
|
-
--x-size-border-radius-top-left-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7028
|
-
--x-size-border-radius-top-right-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7029
|
-
--x-size-border-radius-bottom-right-input-group-card: var(
|
|
7030
|
-
--x-size-border-radius-input-group-card
|
|
7031
|
-
);
|
|
7032
|
-
--x-size-border-radius-bottom-left-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7033
|
-
}
|
|
7034
7040
|
|
|
7035
7041
|
.x-input-group--card.x-input-group,
|
|
7036
7042
|
.x-input-group--card .x-input-group {
|
|
@@ -7058,6 +7064,15 @@
|
|
|
7058
7064
|
--x-size-border-radius-top-left-input-group-default: 0;
|
|
7059
7065
|
--x-size-border-radius-bottom-left-input-group-default: 0;
|
|
7060
7066
|
}
|
|
7067
|
+
:root {
|
|
7068
|
+
--x-size-border-radius-input-group-card: var(--x-size-border-radius-base-s);
|
|
7069
|
+
--x-size-border-radius-top-left-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7070
|
+
--x-size-border-radius-top-right-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7071
|
+
--x-size-border-radius-bottom-right-input-group-card: var(
|
|
7072
|
+
--x-size-border-radius-input-group-card
|
|
7073
|
+
);
|
|
7074
|
+
--x-size-border-radius-bottom-left-input-group-card: var(--x-size-border-radius-input-group-card);
|
|
7075
|
+
}
|
|
7061
7076
|
:root {
|
|
7062
7077
|
--x-size-border-radius-input-pill: var(--x-size-border-radius-base-pill);
|
|
7063
7078
|
--x-size-border-radius-top-left-input-pill: var(--x-size-border-radius-input-pill);
|
|
@@ -7091,16 +7106,6 @@
|
|
|
7091
7106
|
--x-size-border-width-bottom-input-line: var(--x-size-border-width-base);
|
|
7092
7107
|
--x-size-border-width-left-input-line: 0;
|
|
7093
7108
|
}
|
|
7094
|
-
:root {
|
|
7095
|
-
--x-size-padding-top-input-line: var(--x-size-base-03);
|
|
7096
|
-
--x-size-padding-right-input-line: 0;
|
|
7097
|
-
--x-size-padding-bottom-input-line: var(--x-size-base-03);
|
|
7098
|
-
--x-size-padding-left-input-line: 0;
|
|
7099
|
-
--x-size-border-width-top-input-line: 0;
|
|
7100
|
-
--x-size-border-width-right-input-line: 0;
|
|
7101
|
-
--x-size-border-width-bottom-input-line: var(--x-size-border-width-base);
|
|
7102
|
-
--x-size-border-width-left-input-line: 0;
|
|
7103
|
-
}
|
|
7104
7109
|
|
|
7105
7110
|
.x-input--line .x-input,
|
|
7106
7111
|
.x-input--line.x-input {
|
|
@@ -7113,6 +7118,16 @@
|
|
|
7113
7118
|
--x-size-border-width-bottom-input-default: var(--x-size-border-width-bottom-input-line);
|
|
7114
7119
|
--x-size-border-width-left-input-default: var(--x-size-border-width-left-input-line);
|
|
7115
7120
|
}
|
|
7121
|
+
:root {
|
|
7122
|
+
--x-size-padding-top-input-line: var(--x-size-base-03);
|
|
7123
|
+
--x-size-padding-right-input-line: 0;
|
|
7124
|
+
--x-size-padding-bottom-input-line: var(--x-size-base-03);
|
|
7125
|
+
--x-size-padding-left-input-line: 0;
|
|
7126
|
+
--x-size-border-width-top-input-line: 0;
|
|
7127
|
+
--x-size-border-width-right-input-line: 0;
|
|
7128
|
+
--x-size-border-width-bottom-input-line: var(--x-size-border-width-base);
|
|
7129
|
+
--x-size-border-width-left-input-line: 0;
|
|
7130
|
+
}
|
|
7116
7131
|
:root {
|
|
7117
7132
|
--x-color-background-input-default: var(--x-color-base-neutral-100);
|
|
7118
7133
|
--x-color-border-input-default: var(--x-color-base-neutral-70);
|
|
@@ -7337,20 +7352,6 @@
|
|
|
7337
7352
|
--x-string-stroke-linejoin-icon-default: mitter;
|
|
7338
7353
|
--x-size-stroke-width-icon-default: 1px;
|
|
7339
7354
|
}
|
|
7340
|
-
:root {
|
|
7341
|
-
--x-size-padding-grid: 0;
|
|
7342
|
-
--x-size-gap-grid: var(--x-size-base-03);
|
|
7343
|
-
--x-size-min-width-grid-item: 150px;
|
|
7344
|
-
}
|
|
7345
|
-
:root {
|
|
7346
|
-
--x-color-stroke-icon-default: currentColor;
|
|
7347
|
-
--x-color-fill-icon-default: none;
|
|
7348
|
-
--x-size-width-icon-default: var(--x-size-width-icon-m);
|
|
7349
|
-
--x-size-height-icon-default: var(--x-size-height-icon-m);
|
|
7350
|
-
--x-string-stroke-linecap-icon-default: butt;
|
|
7351
|
-
--x-string-stroke-linejoin-icon-default: mitter;
|
|
7352
|
-
--x-size-stroke-width-icon-default: 1px;
|
|
7353
|
-
}
|
|
7354
7355
|
|
|
7355
7356
|
.x-icon {
|
|
7356
7357
|
stroke: var(--x-color-stroke-icon-default);
|
|
@@ -7372,6 +7373,20 @@
|
|
|
7372
7373
|
stroke: none;
|
|
7373
7374
|
fill: var(--x-color-stroke-icon-default);
|
|
7374
7375
|
}
|
|
7376
|
+
:root {
|
|
7377
|
+
--x-color-stroke-icon-default: currentColor;
|
|
7378
|
+
--x-color-fill-icon-default: none;
|
|
7379
|
+
--x-size-width-icon-default: var(--x-size-width-icon-m);
|
|
7380
|
+
--x-size-height-icon-default: var(--x-size-height-icon-m);
|
|
7381
|
+
--x-string-stroke-linecap-icon-default: butt;
|
|
7382
|
+
--x-string-stroke-linejoin-icon-default: mitter;
|
|
7383
|
+
--x-size-stroke-width-icon-default: 1px;
|
|
7384
|
+
}
|
|
7385
|
+
:root {
|
|
7386
|
+
--x-size-padding-grid: 0;
|
|
7387
|
+
--x-size-gap-grid: var(--x-size-base-03);
|
|
7388
|
+
--x-size-min-width-grid-item: 150px;
|
|
7389
|
+
}
|
|
7375
7390
|
:root {
|
|
7376
7391
|
--x-size-padding-grid: 0;
|
|
7377
7392
|
--x-size-gap-grid: var(--x-size-base-03);
|
|
@@ -7411,38 +7426,6 @@
|
|
|
7411
7426
|
--x-size-padding-bottom-filter-children: 0;
|
|
7412
7427
|
--x-size-padding-left-filter-children: var(--x-size-base-05);
|
|
7413
7428
|
}
|
|
7414
|
-
:root {
|
|
7415
|
-
--x-size-margin-filter-children: 0;
|
|
7416
|
-
--x-size-padding-top-filter-children: 0;
|
|
7417
|
-
--x-size-padding-right-filter-children: 0;
|
|
7418
|
-
--x-size-padding-bottom-filter-children: 0;
|
|
7419
|
-
--x-size-padding-left-filter-children: var(--x-size-base-05);
|
|
7420
|
-
}
|
|
7421
|
-
|
|
7422
|
-
.x-hierarchical-filter-container {
|
|
7423
|
-
list-style: none;
|
|
7424
|
-
}
|
|
7425
|
-
[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7426
|
-
padding-left: var(--x-size-padding-left-filter-children);
|
|
7427
|
-
}
|
|
7428
|
-
[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7429
|
-
padding-right: var(--x-size-padding-left-filter-children);
|
|
7430
|
-
}
|
|
7431
|
-
[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7432
|
-
padding-right: var(--x-size-padding-right-filter-children);
|
|
7433
|
-
}
|
|
7434
|
-
[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7435
|
-
padding-left: var(--x-size-padding-right-filter-children);
|
|
7436
|
-
}
|
|
7437
|
-
.x-hierarchical-filter-container .x-hierarchical-filter__children, .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7438
|
-
margin: var(--x-size-margin-filter-children);
|
|
7439
|
-
padding-top: var(--x-size-padding-top-filter-children);
|
|
7440
|
-
padding-bottom: var(--x-size-padding-bottom-filter-children);
|
|
7441
|
-
}
|
|
7442
|
-
.x-hierarchical-filter-container .x-hierarchical-filter-container,
|
|
7443
|
-
.x-hierarchical-filter-container .x-filter, .x-hierarchical-filter-container .x-facet-filter {
|
|
7444
|
-
width: 100%;
|
|
7445
|
-
}
|
|
7446
7429
|
:root {
|
|
7447
7430
|
--x-color-background-filter-default: transparent;
|
|
7448
7431
|
--x-color-border-filter-default: var(--x-color-background-filter-default);
|
|
@@ -7475,6 +7458,38 @@
|
|
|
7475
7458
|
);
|
|
7476
7459
|
--x-size-line-height-filter-default: var(--x-size-line-height-text);
|
|
7477
7460
|
}
|
|
7461
|
+
:root {
|
|
7462
|
+
--x-size-margin-filter-children: 0;
|
|
7463
|
+
--x-size-padding-top-filter-children: 0;
|
|
7464
|
+
--x-size-padding-right-filter-children: 0;
|
|
7465
|
+
--x-size-padding-bottom-filter-children: 0;
|
|
7466
|
+
--x-size-padding-left-filter-children: var(--x-size-base-05);
|
|
7467
|
+
}
|
|
7468
|
+
|
|
7469
|
+
.x-hierarchical-filter-container {
|
|
7470
|
+
list-style: none;
|
|
7471
|
+
}
|
|
7472
|
+
[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7473
|
+
padding-left: var(--x-size-padding-left-filter-children);
|
|
7474
|
+
}
|
|
7475
|
+
[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7476
|
+
padding-right: var(--x-size-padding-left-filter-children);
|
|
7477
|
+
}
|
|
7478
|
+
[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="ltr"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7479
|
+
padding-right: var(--x-size-padding-right-filter-children);
|
|
7480
|
+
}
|
|
7481
|
+
[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children,[dir="rtl"] .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7482
|
+
padding-left: var(--x-size-padding-right-filter-children);
|
|
7483
|
+
}
|
|
7484
|
+
.x-hierarchical-filter-container .x-hierarchical-filter__children, .x-hierarchical-filter-container .x-hierarchical-filter__children.x-list {
|
|
7485
|
+
margin: var(--x-size-margin-filter-children);
|
|
7486
|
+
padding-top: var(--x-size-padding-top-filter-children);
|
|
7487
|
+
padding-bottom: var(--x-size-padding-bottom-filter-children);
|
|
7488
|
+
}
|
|
7489
|
+
.x-hierarchical-filter-container .x-hierarchical-filter-container,
|
|
7490
|
+
.x-hierarchical-filter-container .x-filter, .x-hierarchical-filter-container .x-facet-filter {
|
|
7491
|
+
width: 100%;
|
|
7492
|
+
}
|
|
7478
7493
|
:root {
|
|
7479
7494
|
--x-color-background-filter-default: transparent;
|
|
7480
7495
|
--x-color-border-filter-default: var(--x-color-background-filter-default);
|
|
@@ -7887,9 +7902,6 @@
|
|
|
7887
7902
|
--x-size-border-width-bottom-dropdown-list-pill: var(--x-size-border-width-dropdown-list-pill);
|
|
7888
7903
|
--x-size-border-width-left-dropdown-list-pill: var(--x-size-border-width-dropdown-list-pill);
|
|
7889
7904
|
}
|
|
7890
|
-
:root {
|
|
7891
|
-
--x-size-width-dropdown-m: 130px;
|
|
7892
|
-
}
|
|
7893
7905
|
:root {
|
|
7894
7906
|
--x-size-gap-dropdown-pill: var(--x-size-base-03);
|
|
7895
7907
|
--x-size-border-width-dropdown-list-pill: var(--x-size-border-width-base);
|
|
@@ -7936,6 +7948,9 @@
|
|
|
7936
7948
|
:root {
|
|
7937
7949
|
--x-size-width-dropdown-m: 130px;
|
|
7938
7950
|
}
|
|
7951
|
+
:root {
|
|
7952
|
+
--x-size-width-dropdown-m: 130px;
|
|
7953
|
+
}
|
|
7939
7954
|
|
|
7940
7955
|
.x-dropdown.x-dropdown--m {
|
|
7941
7956
|
--x-size-width-dropdown-toggle-default: var(--x-size-width-dropdown-m);
|
|
@@ -8477,13 +8492,6 @@
|
|
|
8477
8492
|
--x-size-border-radius-bottom-right-button-round: var(--x-size-border-radius-button-round);
|
|
8478
8493
|
--x-size-border-radius-bottom-left-button-round: var(--x-size-border-radius-button-round);
|
|
8479
8494
|
}
|
|
8480
|
-
:root {
|
|
8481
|
-
--x-size-border-radius-button-round: var(--x-size-border-radius-base-pill);
|
|
8482
|
-
--x-size-border-radius-top-left-button-round: var(--x-size-border-radius-button-round);
|
|
8483
|
-
--x-size-border-radius-top-right-button-round: var(--x-size-border-radius-button-round);
|
|
8484
|
-
--x-size-border-radius-bottom-right-button-round: var(--x-size-border-radius-button-round);
|
|
8485
|
-
--x-size-border-radius-bottom-left-button-round: var(--x-size-border-radius-button-round);
|
|
8486
|
-
}
|
|
8487
8495
|
|
|
8488
8496
|
.x-button--round.x-button,
|
|
8489
8497
|
.x-button--round .x-button {
|
|
@@ -8502,6 +8510,13 @@
|
|
|
8502
8510
|
--x-size-padding-left-button-default: 0;
|
|
8503
8511
|
--x-size-padding-right-button-default: 0;
|
|
8504
8512
|
}
|
|
8513
|
+
:root {
|
|
8514
|
+
--x-size-border-radius-button-round: var(--x-size-border-radius-base-pill);
|
|
8515
|
+
--x-size-border-radius-top-left-button-round: var(--x-size-border-radius-button-round);
|
|
8516
|
+
--x-size-border-radius-top-right-button-round: var(--x-size-border-radius-button-round);
|
|
8517
|
+
--x-size-border-radius-bottom-right-button-round: var(--x-size-border-radius-button-round);
|
|
8518
|
+
--x-size-border-radius-bottom-left-button-round: var(--x-size-border-radius-button-round);
|
|
8519
|
+
}
|
|
8505
8520
|
:root {
|
|
8506
8521
|
--x-color-background-button-primary: var(--x-color-background-button-default);
|
|
8507
8522
|
--x-color-border-button-primary: var(--x-color-border-button-default);
|
|
@@ -8567,11 +8582,6 @@
|
|
|
8567
8582
|
--x-color-border-button-ghost: transparent;
|
|
8568
8583
|
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8569
8584
|
}
|
|
8570
|
-
:root {
|
|
8571
|
-
--x-color-background-button-ghost: transparent;
|
|
8572
|
-
--x-color-border-button-ghost: transparent;
|
|
8573
|
-
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8574
|
-
}
|
|
8575
8585
|
|
|
8576
8586
|
.x-button--ghost.x-button,
|
|
8577
8587
|
.x-button--ghost .x-button {
|
|
@@ -8589,6 +8599,11 @@
|
|
|
8589
8599
|
.x-button--ghost.x-button--ghost-end .x-button {
|
|
8590
8600
|
--x-size-padding-right-button-default: 0;
|
|
8591
8601
|
}
|
|
8602
|
+
:root {
|
|
8603
|
+
--x-color-background-button-ghost: transparent;
|
|
8604
|
+
--x-color-border-button-ghost: transparent;
|
|
8605
|
+
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8606
|
+
}
|
|
8592
8607
|
:root {
|
|
8593
8608
|
--x-color-background-button-default: var(--x-color-base-lead);
|
|
8594
8609
|
--x-color-border-button-default: var(--x-color-background-button-default);
|
|
@@ -8704,13 +8719,6 @@
|
|
|
8704
8719
|
--x-size-border-radius-bottom-right-button-card: var(--x-size-border-radius-button-card);
|
|
8705
8720
|
--x-size-border-radius-bottom-left-button-card: var(--x-size-border-radius-button-card);
|
|
8706
8721
|
}
|
|
8707
|
-
:root {
|
|
8708
|
-
--x-size-border-radius-button-card: var(--x-size-border-radius-base-s);
|
|
8709
|
-
--x-size-border-radius-top-left-button-card: var(--x-size-border-radius-button-card);
|
|
8710
|
-
--x-size-border-radius-top-right-button-card: var(--x-size-border-radius-button-card);
|
|
8711
|
-
--x-size-border-radius-bottom-right-button-card: var(--x-size-border-radius-button-card);
|
|
8712
|
-
--x-size-border-radius-bottom-left-button-card: var(--x-size-border-radius-button-card);
|
|
8713
|
-
}
|
|
8714
8722
|
|
|
8715
8723
|
.x-button--card.x-button,
|
|
8716
8724
|
.x-button--card .x-button {
|
|
@@ -8726,6 +8734,13 @@
|
|
|
8726
8734
|
--x-size-border-radius-bottom-left-button-card
|
|
8727
8735
|
);
|
|
8728
8736
|
}
|
|
8737
|
+
:root {
|
|
8738
|
+
--x-size-border-radius-button-card: var(--x-size-border-radius-base-s);
|
|
8739
|
+
--x-size-border-radius-top-left-button-card: var(--x-size-border-radius-button-card);
|
|
8740
|
+
--x-size-border-radius-top-right-button-card: var(--x-size-border-radius-button-card);
|
|
8741
|
+
--x-size-border-radius-bottom-right-button-card: var(--x-size-border-radius-button-card);
|
|
8742
|
+
--x-size-border-radius-bottom-left-button-card: var(--x-size-border-radius-button-card);
|
|
8743
|
+
}
|
|
8729
8744
|
:root {
|
|
8730
8745
|
--x-color-background-badge-default: var(--x-color-base-neutral-10);
|
|
8731
8746
|
--x-color-text-badge-default: var(--x-color-base-neutral-100);
|
|
@@ -8826,19 +8841,4 @@
|
|
|
8826
8841
|
--x-size-border-radius-base-m: var(--x-size-base-06);
|
|
8827
8842
|
--x-size-border-radius-base-pill: 99999px;
|
|
8828
8843
|
--x-size-border-width-base: 1px;
|
|
8829
|
-
}
|
|
8830
|
-
.x-text--bold.x-text {
|
|
8831
|
-
--x-number-font-weight-text: var(--x-number-font-weight-base-bold);
|
|
8832
|
-
}
|
|
8833
|
-
.x-text--bold.x-title1 {
|
|
8834
|
-
--x-number-font-weight-title1: var(--x-number-font-weight-base-bold);
|
|
8835
|
-
}
|
|
8836
|
-
.x-text--bold.x-title2 {
|
|
8837
|
-
--x-number-font-weight-title2: var(--x-number-font-weight-base-bold);
|
|
8838
|
-
}
|
|
8839
|
-
.x-text--bold.x-title3 {
|
|
8840
|
-
--x-number-font-weight-title3: var(--x-number-font-weight-base-bold);
|
|
8841
|
-
}
|
|
8842
|
-
.x-text--bold.x-small {
|
|
8843
|
-
--x-number-font-weight-small: var(--x-number-font-weight-base-bold);
|
|
8844
8844
|
}
|
|
@@ -2,21 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseVariableColumnGrid](./x-components.basevariablecolumngrid.md)
|
|
4
4
|
|
|
5
|
-
## BaseVariableColumnGrid
|
|
5
|
+
## BaseVariableColumnGrid variable
|
|
6
6
|
|
|
7
7
|
The `BaseVariableColumnGrid` component is a wrapper of the `BaseGrid` component that listens to the `UserClickedColumnPicker` and the `ColumnsNumberProvided` events and passes the selected number of columns to the grid. It also allows to customize the grid items using the available `scopedSlots`<!-- -->.
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
|
|
12
|
+
_default: import("vue").DefineComponent<{
|
|
13
|
+
animation: {
|
|
14
|
+
type: PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
items: PropType<ListItem[]>;
|
|
18
|
+
columns: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
columnsToRender: import("vue").ComputedRef<number>;
|
|
24
|
+
slots: import("vue/types/v3-setup-context").Slots;
|
|
25
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
animation: {
|
|
27
|
+
type: PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
items: PropType<ListItem[]>;
|
|
31
|
+
columns: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}> | (import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{}, Readonly<import("vue").ExtractPropTypes<{}>>, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue").ExtractPropTypes<{}>>> & import("vue").ShallowUnwrapRef<{}> & import("vue/types/v3-component-options").ExtractComputedReturns<import("vue").ComponentComputedOptions> & import("vue").ComponentMethodOptions & import("vue").ComponentCustomProperties & Readonly<import("vue").ExtractPropTypes<{}>>, any, any, any, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {}> & {
|
|
37
|
+
props: {};
|
|
38
|
+
});
|
|
39
|
+
columns: number;
|
|
40
|
+
}>
|
|
13
41
|
```
|
|
14
|
-
**Extends:** Vue
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
| Property | Modifiers | Type | Description |
|
|
19
|
-
| --- | --- | --- | --- |
|
|
20
|
-
| [animation](./x-components.basevariablecolumngrid.animation.md) | <code>protected</code> | Vue \| string | Animation component that will be used to animate the grid. |
|
|
21
|
-
| [items?](./x-components.basevariablecolumngrid.items.md) | <code>protected</code> | [ListItem](./x-components.listitem.md)<!-- -->\[\] | _(Optional)_ The list of items to be rendered. |
|
|
22
|
-
|
|
@@ -29,7 +29,7 @@ _default: import("vue").DefineComponent<{
|
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
}, {
|
|
32
|
-
rootRef: import("vue").Ref<
|
|
32
|
+
rootRef: import("vue").Ref<import("vue").DefineComponent<{}, () => import("vue").VNode | import("vue").VNode[], {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}> | null>;
|
|
33
33
|
dynamicClasses: import("vue").ComputedRef<VueCSSClasses>;
|
|
34
34
|
firstVisibleElement: import("vue").ComputedRef<string>;
|
|
35
35
|
visibleElementsObserver: import("vue").ComputedRef<ScrollVisibilityObserver | null>;
|
|
@@ -22,7 +22,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
22
22
|
| [BaseModal](./x-components.basemodal.md) | Base component with no XPlugin dependencies that serves as a utility for constructing more complex modals. |
|
|
23
23
|
| [BaseSuggestions](./x-components.basesuggestions.md) | Paints a list of suggestions passed in by prop. Requires a component for a single suggestion in the default slot for working. |
|
|
24
24
|
| [BaseTabsPanel](./x-components.basetabspanel.md) | Base Tabs Panel. |
|
|
25
|
-
| [BaseVariableColumnGrid](./x-components.basevariablecolumngrid.md) | The <code>BaseVariableColumnGrid</code> component is a wrapper of the <code>BaseGrid</code> component that listens to the <code>UserClickedColumnPicker</code> and the <code>ColumnsNumberProvided</code> events and passes the selected number of columns to the grid. It also allows to customize the grid items using the available <code>scopedSlots</code>. |
|
|
26
25
|
| [BaseXAPI](./x-components.basexapi.md) | Default implementation for [XAPI](./x-components.xapi.md)<!-- -->. |
|
|
27
26
|
| [ClearHistoryQueries](./x-components.clearhistoryqueries.md) | A button that when is pressed, emits the [HistoryQueriesXEvents.UserPressedClearHistoryQueries](./x-components.historyqueriesxevents.userpressedclearhistoryqueries.md) event, expressing the user intention to clear the whole history of queries. |
|
|
28
27
|
| [DefaultFacetsService](./x-components.defaultfacetsservice.md) | Default implementation for the [FacetsService](./x-components.facetsservice.md)<!-- -->. |
|
|
@@ -384,6 +383,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
384
383
|
| [BaseSuggestion](./x-components.basesuggestion.md) | <p>Renders a button with a default slot. It receives a query, which should be the query of the module using this component, a suggestion, the [XEvent](./x-components.xevent.md) that will be emitted on click with a given feature.</p><p>The default slot receives the suggestion and the matched query has props.</p> |
|
|
385
384
|
| [BaseSwitch](./x-components.baseswitch.md) | Basic switch component to handle boolean values. This component receives its selected state using a prop, and emits a Vue event whenever the user clicks it. |
|
|
386
385
|
| [BaseTogglePanel](./x-components.basetogglepanel.md) | Simple panel that receives its open state via prop, which is responsible of rendering default slot inside a configurable transition. |
|
|
386
|
+
| [BaseVariableColumnGrid](./x-components.basevariablecolumngrid.md) | The <code>BaseVariableColumnGrid</code> component is a wrapper of the <code>BaseGrid</code> component that listens to the <code>UserClickedColumnPicker</code> and the <code>ColumnsNumberProvided</code> events and passes the selected number of columns to the grid. It also allows to customize the grid items using the available <code>scopedSlots</code>. |
|
|
387
387
|
| [bus](./x-components.bus.md) | Default implementation. |
|
|
388
388
|
| [cancelFetchAndSaveControls](./x-components.cancelfetchandsavecontrols.md) | Default implementation for fetchAndSaveExperienceControls action. |
|
|
389
389
|
| [cancelFetchAndSaveIdentifierResults](./x-components.cancelfetchandsaveidentifierresults.md) | Default implementation for [IdentifierResultsActions.cancelFetchAndSaveIdentifierResults()](./x-components.identifierresultsactions.cancelfetchandsaveidentifierresults.md) action. |
|