@empathyco/x-components 6.0.0-alpha.71 → 6.0.0-alpha.73

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,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
+ ## [6.0.0-alpha.73](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.72...@empathyco/x-components@6.0.0-alpha.73) (2025-05-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * add ios-utils to x-components (#1766) ([1ffcc56](https://github.com/empathyco/x/commit/1ffcc5688e66d535ff477c334bcd9356b1071c1b))
12
+
13
+
14
+
15
+ ## [6.0.0-alpha.72](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.71...@empathyco/x-components@6.0.0-alpha.72) (2025-04-30)
16
+
17
+
18
+ ### Features
19
+
20
+ * **base-teleport:** improve base teleport (#1762) ([f0f53f4](https://github.com/empathyco/x/commit/f0f53f452d5cc7ff3f4dc9baa368057b59ab4a64))
21
+
22
+
23
+
6
24
  ## [6.0.0-alpha.71](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.70...@empathyco/x-components@6.0.0-alpha.71) (2025-04-30)
7
25
 
8
26
 
package/core/index.js CHANGED
@@ -179,6 +179,7 @@ export { FOCUSABLE_SELECTORS } from '../js/utils/focus.js';
179
179
  export { noOp } from '../js/utils/function.js';
180
180
  export { getURLParameter } from '../js/utils/get-url-parameters.js';
181
181
  export { getActiveElement, getTargetElement, isElementEqualOrContained } from '../js/utils/html.js';
182
+ export { isIOS, removeSearchInputFocus } from '../js/utils/ios-utils.js';
182
183
  export { SPLIT_WORDS_REGEX, isNewQuery } from '../js/utils/is-new-query.js';
183
184
  export { normalizeString } from '../js/utils/normalize.js';
184
185
  export { isInRange } from '../js/utils/number.js';
package/core/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3417,9 +3417,6 @@
3417
3417
  :root {
3418
3418
  --x-color-text-secondary: var(--x-color-base-neutral-35);
3419
3419
  }
3420
- .x-text--secondary {
3421
- --x-color-text-default: var(--x-color-text-secondary);
3422
- }
3423
3420
  .x-text--light.x-text {
3424
3421
  --x-number-font-weight-text: var(--x-number-font-weight-base-light);
3425
3422
  }
@@ -3435,6 +3432,9 @@
3435
3432
  .x-text--light.x-small {
3436
3433
  --x-number-font-weight-small: var(--x-number-font-weight-base-light);
3437
3434
  }
3435
+ .x-text--secondary {
3436
+ --x-color-text-default: var(--x-color-text-secondary);
3437
+ }
3438
3438
  :root {
3439
3439
  --x-font-family-base: "Montserrat", sans-serif;
3440
3440
  --x-size-font-base-xs: 12px;
@@ -3939,6 +3939,24 @@
3939
3939
  --x-size-border-radius-bottom-right-tag-card: var(--x-size-border-radius-tag-card);
3940
3940
  --x-size-border-radius-bottom-left-tag-card: var(--x-size-border-radius-tag-card);
3941
3941
  }
3942
+ :root {
3943
+ --x-size-border-radius-tag-card: var(--x-size-border-radius-base-s);
3944
+ --x-size-border-radius-top-left-tag-card: var(--x-size-border-radius-tag-card);
3945
+ --x-size-border-radius-top-right-tag-card: var(--x-size-border-radius-tag-card);
3946
+ --x-size-border-radius-bottom-right-tag-card: var(--x-size-border-radius-tag-card);
3947
+ --x-size-border-radius-bottom-left-tag-card: var(--x-size-border-radius-tag-card);
3948
+ }
3949
+
3950
+ .x-tag--card.x-tag,
3951
+ .x-tag--card .x-tag {
3952
+ --x-size-border-radius-tag-default: var(--x-size-border-radius-tag-card);
3953
+ --x-size-border-radius-top-left-tag-default: var(--x-size-border-radius-top-left-tag-card);
3954
+ --x-size-border-radius-top-right-tag-default: var(--x-size-border-radius-top-right-tag-card);
3955
+ --x-size-border-radius-bottom-right-tag-default: var(
3956
+ --x-size-border-radius-bottom-right-tag-card
3957
+ );
3958
+ --x-size-border-radius-bottom-left-tag-default: var(--x-size-border-radius-bottom-left-tag-card);
3959
+ }
3942
3960
  :root {
3943
3961
  --x-color-text-suggestion-group-default: var(--x-color-text-suggestion-default);
3944
3962
  --x-color-text-suggestion-group-matching-part-default: var(
@@ -4096,24 +4114,6 @@
4096
4114
  --x-size-padding-left-button-default: 0;
4097
4115
  border: none;
4098
4116
  }
4099
- :root {
4100
- --x-size-border-radius-tag-card: var(--x-size-border-radius-base-s);
4101
- --x-size-border-radius-top-left-tag-card: var(--x-size-border-radius-tag-card);
4102
- --x-size-border-radius-top-right-tag-card: var(--x-size-border-radius-tag-card);
4103
- --x-size-border-radius-bottom-right-tag-card: var(--x-size-border-radius-tag-card);
4104
- --x-size-border-radius-bottom-left-tag-card: var(--x-size-border-radius-tag-card);
4105
- }
4106
-
4107
- .x-tag--card.x-tag,
4108
- .x-tag--card .x-tag {
4109
- --x-size-border-radius-tag-default: var(--x-size-border-radius-tag-card);
4110
- --x-size-border-radius-top-left-tag-default: var(--x-size-border-radius-top-left-tag-card);
4111
- --x-size-border-radius-top-right-tag-default: var(--x-size-border-radius-top-right-tag-card);
4112
- --x-size-border-radius-bottom-right-tag-default: var(
4113
- --x-size-border-radius-bottom-right-tag-card
4114
- );
4115
- --x-size-border-radius-bottom-left-tag-default: var(--x-size-border-radius-bottom-left-tag-card);
4116
- }
4117
4117
  :root {
4118
4118
  --x-string-align-items-suggestion-default: center;
4119
4119
  --x-color-text-suggestion-default: var(--x-color-text-default);
@@ -4204,73 +4204,6 @@
4204
4204
  --x-number-font-weight-suggestion-default-matching
4205
4205
  );
4206
4206
  }
4207
- :root {
4208
- --x-color-background-sliding-panel: var(--x-color-base-neutral-100);
4209
- --x-size-width-sliding-panel-gradient: var(--x-size-base-09);
4210
- --x-size-padding-sliding-panel-button: var(--x-size-base-03);
4211
- --x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
4212
- }
4213
- .x-sliding-panel {
4214
- z-index: 0;
4215
- background-color: var(--x-color-background-sliding-panel);
4216
- }
4217
- .x-sliding-panel__button.x-button {
4218
- --x-size-padding-button: var(--x-size-padding-sliding-panel-button);
4219
- pointer-events: none;
4220
- }
4221
- .x-sliding-panel.x-sliding-panel--buttons-overflow .x-sliding-panel__button {
4222
- pointer-events: all;
4223
- }
4224
- .x-sliding-panel.x-sliding-panel--buttons-overflow .x-sliding-panel-button-left {
4225
- transform: translateX(calc(-100% - var(--x-size-horizontal-margin-sliding-panel-button-overflow)));
4226
- }
4227
- .x-sliding-panel.x-sliding-panel--buttons-overflow .x-sliding-panel-button-right {
4228
- transform: translateX(calc(100% + var(--x-size-horizontal-margin-sliding-panel-button-overflow)));
4229
- }
4230
- .x-sliding-panel.x-sliding-panel--show-buttons-on-hover .x-sliding-panel__button {
4231
- opacity: 0;
4232
- }
4233
- .x-sliding-panel.x-sliding-panel--show-buttons-on-hover:not(.x-sliding-panel-at-start):hover .x-sliding-panel-button-left {
4234
- opacity: 1;
4235
- pointer-events: all;
4236
- }
4237
- .x-sliding-panel.x-sliding-panel--show-buttons-on-hover:not(.x-sliding-panel-at-end):hover .x-sliding-panel-button-right {
4238
- opacity: 1;
4239
- pointer-events: all;
4240
- }
4241
- .x-sliding-panel:not(.x-sliding-panel--no-gradient) .x-sliding-panel__scroll {
4242
- mask: linear-gradient(to right, transparent calc(0.43 * var(--x-size-width-sliding-panel-gradient)), rgba(0, 0, 0, 0.8) calc(0.67 * var(--x-size-width-sliding-panel-gradient)), black var(--x-size-width-sliding-panel-gradient), rgba(0, 0, 0, 0.8) calc(100% - 0.67 * var(--x-size-width-sliding-panel-gradient)), transparent calc(100% - 0.43 * var(--x-size-width-sliding-panel-gradient)));
4243
- }
4244
- .x-sliding-panel:not(.x-sliding-panel--no-gradient).x-sliding-panel-at-start .x-sliding-panel__scroll {
4245
- mask: linear-gradient(to left, transparent calc(0.43 * var(--x-size-width-sliding-panel-gradient)), rgba(0, 0, 0, 0.8) calc(0.67 * var(--x-size-width-sliding-panel-gradient)), black var(--x-size-width-sliding-panel-gradient));
4246
- }
4247
- .x-sliding-panel:not(.x-sliding-panel--no-gradient).x-sliding-panel-at-end .x-sliding-panel__scroll {
4248
- mask: linear-gradient(to right, transparent calc(0.43 * var(--x-size-width-sliding-panel-gradient)), rgba(0, 0, 0, 0.8) calc(0.67 * var(--x-size-width-sliding-panel-gradient)), black var(--x-size-width-sliding-panel-gradient));
4249
- }
4250
- .x-sliding-panel:not(.x-sliding-panel--no-gradient).x-sliding-panel-at-start.x-sliding-panel-at-end .x-sliding-panel__scroll {
4251
- mask: none;
4252
- }
4253
- .x-sliding-panel__scroll > * {
4254
- flex: 0 0 auto;
4255
- }
4256
- .x-sliding-panel__scroll > .x-list {
4257
- --x-string-flow-list: row nowrap;
4258
- }
4259
- .x-sliding-panel:not(.x-sliding-panel--show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left {
4260
- opacity: 1;
4261
- pointer-events: all;
4262
- }
4263
- .x-sliding-panel:not(.x-sliding-panel--show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right {
4264
- opacity: 1;
4265
- pointer-events: all;
4266
- }
4267
- :root {
4268
- --x-string-overflow-scroll: auto;
4269
- --x-color-background-scroll-bar: transparent;
4270
- --x-color-thumb-scroll-bar: var(--x-color-base-neutral-95);
4271
- --x-color-background-scroll-bar-hover: transparent;
4272
- --x-color-thumb-scroll-bar-hover: var(--x-color-base-neutral-70);
4273
- }
4274
4207
  :root {
4275
4208
  --x-string-align-items-suggestion-default: center;
4276
4209
  --x-color-text-suggestion-default: var(--x-color-text-default);
@@ -4493,6 +4426,73 @@
4493
4426
  --x-color-text-suggestion-default-matching-curated
4494
4427
  );
4495
4428
  }
4429
+ :root {
4430
+ --x-color-background-sliding-panel: var(--x-color-base-neutral-100);
4431
+ --x-size-width-sliding-panel-gradient: var(--x-size-base-09);
4432
+ --x-size-padding-sliding-panel-button: var(--x-size-base-03);
4433
+ --x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
4434
+ }
4435
+ .x-sliding-panel {
4436
+ z-index: 0;
4437
+ background-color: var(--x-color-background-sliding-panel);
4438
+ }
4439
+ .x-sliding-panel__button.x-button {
4440
+ --x-size-padding-button: var(--x-size-padding-sliding-panel-button);
4441
+ pointer-events: none;
4442
+ }
4443
+ .x-sliding-panel.x-sliding-panel--buttons-overflow .x-sliding-panel__button {
4444
+ pointer-events: all;
4445
+ }
4446
+ .x-sliding-panel.x-sliding-panel--buttons-overflow .x-sliding-panel-button-left {
4447
+ transform: translateX(calc(-100% - var(--x-size-horizontal-margin-sliding-panel-button-overflow)));
4448
+ }
4449
+ .x-sliding-panel.x-sliding-panel--buttons-overflow .x-sliding-panel-button-right {
4450
+ transform: translateX(calc(100% + var(--x-size-horizontal-margin-sliding-panel-button-overflow)));
4451
+ }
4452
+ .x-sliding-panel.x-sliding-panel--show-buttons-on-hover .x-sliding-panel__button {
4453
+ opacity: 0;
4454
+ }
4455
+ .x-sliding-panel.x-sliding-panel--show-buttons-on-hover:not(.x-sliding-panel-at-start):hover .x-sliding-panel-button-left {
4456
+ opacity: 1;
4457
+ pointer-events: all;
4458
+ }
4459
+ .x-sliding-panel.x-sliding-panel--show-buttons-on-hover:not(.x-sliding-panel-at-end):hover .x-sliding-panel-button-right {
4460
+ opacity: 1;
4461
+ pointer-events: all;
4462
+ }
4463
+ .x-sliding-panel:not(.x-sliding-panel--no-gradient) .x-sliding-panel__scroll {
4464
+ mask: linear-gradient(to right, transparent calc(0.43 * var(--x-size-width-sliding-panel-gradient)), rgba(0, 0, 0, 0.8) calc(0.67 * var(--x-size-width-sliding-panel-gradient)), black var(--x-size-width-sliding-panel-gradient), rgba(0, 0, 0, 0.8) calc(100% - 0.67 * var(--x-size-width-sliding-panel-gradient)), transparent calc(100% - 0.43 * var(--x-size-width-sliding-panel-gradient)));
4465
+ }
4466
+ .x-sliding-panel:not(.x-sliding-panel--no-gradient).x-sliding-panel-at-start .x-sliding-panel__scroll {
4467
+ mask: linear-gradient(to left, transparent calc(0.43 * var(--x-size-width-sliding-panel-gradient)), rgba(0, 0, 0, 0.8) calc(0.67 * var(--x-size-width-sliding-panel-gradient)), black var(--x-size-width-sliding-panel-gradient));
4468
+ }
4469
+ .x-sliding-panel:not(.x-sliding-panel--no-gradient).x-sliding-panel-at-end .x-sliding-panel__scroll {
4470
+ mask: linear-gradient(to right, transparent calc(0.43 * var(--x-size-width-sliding-panel-gradient)), rgba(0, 0, 0, 0.8) calc(0.67 * var(--x-size-width-sliding-panel-gradient)), black var(--x-size-width-sliding-panel-gradient));
4471
+ }
4472
+ .x-sliding-panel:not(.x-sliding-panel--no-gradient).x-sliding-panel-at-start.x-sliding-panel-at-end .x-sliding-panel__scroll {
4473
+ mask: none;
4474
+ }
4475
+ .x-sliding-panel__scroll > * {
4476
+ flex: 0 0 auto;
4477
+ }
4478
+ .x-sliding-panel__scroll > .x-list {
4479
+ --x-string-flow-list: row nowrap;
4480
+ }
4481
+ .x-sliding-panel:not(.x-sliding-panel--show-buttons-on-hover):not(.x-sliding-panel-at-start) .x-sliding-panel-button-left {
4482
+ opacity: 1;
4483
+ pointer-events: all;
4484
+ }
4485
+ .x-sliding-panel:not(.x-sliding-panel--show-buttons-on-hover):not(.x-sliding-panel-at-end) .x-sliding-panel-button-right {
4486
+ opacity: 1;
4487
+ pointer-events: all;
4488
+ }
4489
+ :root {
4490
+ --x-string-overflow-scroll: auto;
4491
+ --x-color-background-scroll-bar: transparent;
4492
+ --x-color-thumb-scroll-bar: var(--x-color-base-neutral-95);
4493
+ --x-color-background-scroll-bar-hover: transparent;
4494
+ --x-color-thumb-scroll-bar-hover: var(--x-color-base-neutral-70);
4495
+ }
4496
4496
  :root {
4497
4497
  --x-string-overflow-scroll: auto;
4498
4498
  --x-color-background-scroll-bar: transparent;
@@ -4700,6 +4700,14 @@
4700
4700
  --x-size-span-row-item: 1;
4701
4701
  --x-size-start-row-item: 0;
4702
4702
  }
4703
+ :root {
4704
+ --x-size-gap-row: 0;
4705
+ --x-size-padding-row: 0;
4706
+ --x-size-justify-row: stretch;
4707
+ --x-size-align-row: center;
4708
+ --x-size-span-row-item: 1;
4709
+ --x-size-start-row-item: 0;
4710
+ }
4703
4711
 
4704
4712
  .x-row {
4705
4713
  display: grid;
@@ -4837,14 +4845,6 @@
4837
4845
  --x-size-border-width-result-description-default: 0;
4838
4846
  --x-size-border-width-result-picture-default: 0;
4839
4847
  }
4840
- :root {
4841
- --x-size-gap-row: 0;
4842
- --x-size-padding-row: 0;
4843
- --x-size-justify-row: stretch;
4844
- --x-size-align-row: center;
4845
- --x-size-span-row-item: 1;
4846
- --x-size-start-row-item: 0;
4847
- }
4848
4848
  :root {
4849
4849
  --x-color-border-result-default: var(--x-color-base-lead);
4850
4850
  --x-color-border-result-overlay-default: var(--x-color-border-result-default);
@@ -4964,6 +4964,9 @@
4964
4964
  --x-number-zoom-scale-picture: 1.1;
4965
4965
  --x-number-zoom-duration-picture: 0.3s;
4966
4966
  }
4967
+ :root {
4968
+ --x-number-aspect-ratio-picture: 1;
4969
+ }
4967
4970
  :root {
4968
4971
  --x-number-zoom-scale-picture: 1.1;
4969
4972
  --x-number-zoom-duration-picture: 0.3s;
@@ -4978,9 +4981,6 @@
4978
4981
  :root {
4979
4982
  --x-number-aspect-ratio-picture: 1;
4980
4983
  }
4981
- :root {
4982
- --x-number-aspect-ratio-picture: 1;
4983
- }
4984
4984
 
4985
4985
  .x-picture--fixed-ratio.x-picture {
4986
4986
  aspect-ratio: var(--x-number-aspect-ratio-picture);
@@ -5004,10 +5004,6 @@
5004
5004
  --x-mix-blend-mode-picture-fallback-default: var(--x-mix-blend-mode-picture-default);
5005
5005
  --x-mix-blend-mode-picture-placeholder-default: var(--x-mix-blend-mode-picture-default);
5006
5006
  }
5007
- :root {
5008
- --x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
5009
- --x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
5010
- }
5011
5007
  :root {
5012
5008
  --x-size-border-radius-picture-default: 0;
5013
5009
  --x-size-border-radius-top-picture-default: var(--x-size-border-radius-picture-default);
@@ -5068,6 +5064,10 @@
5068
5064
  --x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
5069
5065
  --x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
5070
5066
  }
5067
+ :root {
5068
+ --x-color-background-picture-cover-hover-from: rgba(0, 0, 0, 0);
5069
+ --x-color-background-picture-cover-hover-to: rgba(0, 0, 0, 0.5);
5070
+ }
5071
5071
 
5072
5072
  .x-picture--cover.x-picture {
5073
5073
  position: relative;
@@ -7375,6 +7375,15 @@
7375
7375
  --x-string-stroke-linejoin-icon-default: mitter;
7376
7376
  --x-size-stroke-width-icon-default: 1px;
7377
7377
  }
7378
+ :root {
7379
+ --x-color-stroke-icon-default: currentColor;
7380
+ --x-color-fill-icon-default: none;
7381
+ --x-size-width-icon-default: var(--x-size-width-icon-m);
7382
+ --x-size-height-icon-default: var(--x-size-height-icon-m);
7383
+ --x-string-stroke-linecap-icon-default: butt;
7384
+ --x-string-stroke-linejoin-icon-default: mitter;
7385
+ --x-size-stroke-width-icon-default: 1px;
7386
+ }
7378
7387
 
7379
7388
  .x-icon {
7380
7389
  stroke: var(--x-color-stroke-icon-default);
@@ -7401,15 +7410,6 @@
7401
7410
  --x-size-gap-grid: var(--x-size-base-03);
7402
7411
  --x-size-min-width-grid-item: 150px;
7403
7412
  }
7404
- :root {
7405
- --x-color-stroke-icon-default: currentColor;
7406
- --x-color-fill-icon-default: none;
7407
- --x-size-width-icon-default: var(--x-size-width-icon-m);
7408
- --x-size-height-icon-default: var(--x-size-height-icon-m);
7409
- --x-string-stroke-linecap-icon-default: butt;
7410
- --x-string-stroke-linejoin-icon-default: mitter;
7411
- --x-size-stroke-width-icon-default: 1px;
7412
- }
7413
7413
  :root {
7414
7414
  --x-size-padding-grid: 0;
7415
7415
  --x-size-gap-grid: var(--x-size-base-03);
@@ -7436,6 +7436,12 @@
7436
7436
  .x-grid-list--cols-auto .x-grid-list__item {
7437
7437
  min-width: var(--x-size-min-width-grid-item);
7438
7438
  }
7439
+ .x-filter--justified.x-filter > *:last-child:not(.x-filter__label),
7440
+ .x-filter--justified.x-facet-filter > *:last-child:not(.x-filter__label),
7441
+ .x-filter--justified .x-filter > *:last-child:not(.x-filter__label),
7442
+ .x-filter--justified .x-facet-filter > *:last-child:not(.x-filter__label) {
7443
+ margin-left: auto;
7444
+ }
7439
7445
  :root {
7440
7446
  --x-size-margin-filter-children: 0;
7441
7447
  --x-size-padding-top-filter-children: 0;
@@ -7476,12 +7482,6 @@
7476
7482
  .x-hierarchical-filter-container .x-facet-filter {
7477
7483
  width: 100%;
7478
7484
  }
7479
- .x-filter--justified.x-filter > *:last-child:not(.x-filter__label),
7480
- .x-filter--justified.x-facet-filter > *:last-child:not(.x-filter__label),
7481
- .x-filter--justified .x-filter > *:last-child:not(.x-filter__label),
7482
- .x-filter--justified .x-facet-filter > *:last-child:not(.x-filter__label) {
7483
- margin-left: auto;
7484
- }
7485
7485
  :root {
7486
7486
  --x-color-background-filter-default: transparent;
7487
7487
  --x-color-border-filter-default: var(--x-color-background-filter-default);
@@ -7656,38 +7656,6 @@
7656
7656
  --x-size-padding-bottom-facet-header-outlined: var(--x-size-padding-facet-header-outlined);
7657
7657
  --x-size-padding-left-facet-header-outlined: var(--x-size-padding-facet-header-outlined);
7658
7658
  }
7659
- :root {
7660
- --x-color-border-facet-header-line: var(--x-color-base-neutral-10);
7661
- --x-size-border-width-facet-header-line: var(--x-size-border-width-base);
7662
- --x-size-border-width-top-facet-header-line: 0;
7663
- --x-size-border-width-right-facet-header-line: 0;
7664
- --x-size-border-width-bottom-facet-header-line: var(--x-size-border-width-facet-header-line);
7665
- --x-size-border-width-left-facet-header-line: 0;
7666
- }
7667
- :root {
7668
- --x-color-border-facet-header-line: var(--x-color-base-neutral-10);
7669
- --x-size-border-width-facet-header-line: var(--x-size-border-width-base);
7670
- --x-size-border-width-top-facet-header-line: 0;
7671
- --x-size-border-width-right-facet-header-line: 0;
7672
- --x-size-border-width-bottom-facet-header-line: var(--x-size-border-width-facet-header-line);
7673
- --x-size-border-width-left-facet-header-line: 0;
7674
- }
7675
-
7676
- .x-facet--line.x-facet,
7677
- .x-facet--line .x-facet {
7678
- --x-color-border-facet-header-default: var(--x-color-border-facet-header-line);
7679
- --x-size-border-width-facet-header-default: var(--x-size-border-width-facet-header-line);
7680
- --x-size-border-width-top-facet-header-default: var(--x-size-border-width-top-facet-header-line);
7681
- --x-size-border-width-right-facet-header-default: var(
7682
- --x-size-border-width-right-facet-header-line
7683
- );
7684
- --x-size-border-width-bottom-facet-header-default: var(
7685
- --x-size-border-width-bottom-facet-header-line
7686
- );
7687
- --x-size-border-width-left-facet-header-default: var(
7688
- --x-size-border-width-left-facet-header-line
7689
- );
7690
- }
7691
7659
  :root {
7692
7660
  --x-color-border-facet-outlined: var(--x-color-base-neutral-70);
7693
7661
  --x-size-border-width-facet-outlined: var(--x-size-border-width-base);
@@ -7716,6 +7684,38 @@
7716
7684
  --x-size-padding-bottom-facet-header-default: var(--x-size-padding-bottom-facet-header-outlined);
7717
7685
  --x-size-padding-left-facet-header-default: var(--x-size-padding-left-facet-header-outlined);
7718
7686
  }
7687
+ :root {
7688
+ --x-color-border-facet-header-line: var(--x-color-base-neutral-10);
7689
+ --x-size-border-width-facet-header-line: var(--x-size-border-width-base);
7690
+ --x-size-border-width-top-facet-header-line: 0;
7691
+ --x-size-border-width-right-facet-header-line: 0;
7692
+ --x-size-border-width-bottom-facet-header-line: var(--x-size-border-width-facet-header-line);
7693
+ --x-size-border-width-left-facet-header-line: 0;
7694
+ }
7695
+
7696
+ .x-facet--line.x-facet,
7697
+ .x-facet--line .x-facet {
7698
+ --x-color-border-facet-header-default: var(--x-color-border-facet-header-line);
7699
+ --x-size-border-width-facet-header-default: var(--x-size-border-width-facet-header-line);
7700
+ --x-size-border-width-top-facet-header-default: var(--x-size-border-width-top-facet-header-line);
7701
+ --x-size-border-width-right-facet-header-default: var(
7702
+ --x-size-border-width-right-facet-header-line
7703
+ );
7704
+ --x-size-border-width-bottom-facet-header-default: var(
7705
+ --x-size-border-width-bottom-facet-header-line
7706
+ );
7707
+ --x-size-border-width-left-facet-header-default: var(
7708
+ --x-size-border-width-left-facet-header-line
7709
+ );
7710
+ }
7711
+ :root {
7712
+ --x-color-border-facet-header-line: var(--x-color-base-neutral-10);
7713
+ --x-size-border-width-facet-header-line: var(--x-size-border-width-base);
7714
+ --x-size-border-width-top-facet-header-line: 0;
7715
+ --x-size-border-width-right-facet-header-line: 0;
7716
+ --x-size-border-width-bottom-facet-header-line: var(--x-size-border-width-facet-header-line);
7717
+ --x-size-border-width-left-facet-header-line: 0;
7718
+ }
7719
7719
  :root {
7720
7720
  --x-color-background-facet-default: transparent;
7721
7721
  --x-color-border-facet-default: var(--x-color-background-facet-default);
@@ -7917,13 +7917,13 @@
7917
7917
  :root {
7918
7918
  --x-size-width-dropdown-xl: 282px;
7919
7919
  }
7920
- :root {
7921
- --x-size-width-dropdown-xl: 282px;
7922
- }
7923
7920
 
7924
7921
  .x-dropdown.x-dropdown--xl {
7925
7922
  --x-size-width-dropdown-toggle-default: var(--x-size-width-dropdown-xl);
7926
7923
  }
7924
+ :root {
7925
+ --x-size-width-dropdown-xl: 282px;
7926
+ }
7927
7927
  :root {
7928
7928
  --x-size-width-dropdown-s: 74px;
7929
7929
  }
@@ -8475,17 +8475,6 @@
8475
8475
  --x-size-border-width-bottom-button-tertiary: var(--x-size-border-width-button-tertiary);
8476
8476
  --x-size-border-width-left-button-tertiary: var(--x-size-border-width-button-tertiary);
8477
8477
  }
8478
- :root {
8479
- --x-color-background-button-secondary: transparent;
8480
- --x-color-border-button-secondary: var(--x-color-border-button-default);
8481
- --x-color-text-button-secondary: var(--x-color-border-button-default);
8482
- --x-size-border-width-button-secondary: var(--x-size-border-width-base);
8483
- --x-size-border-width-top-button-secondary: var(--x-size-border-width-button-secondary);
8484
- --x-size-border-width-right-button-secondary: var(--x-size-border-width-button-secondary);
8485
- --x-size-border-width-bottom-button-secondary: var(--x-size-border-width-button-secondary);
8486
- --x-size-border-width-left-button-secondary: var(--x-size-border-width-button-secondary);
8487
- }
8488
-
8489
8478
  :root {
8490
8479
  --x-color-background-button-tertiary: var(--x-color-base-neutral-95);
8491
8480
  --x-color-border-button-tertiary: var(--x-color-base-neutral-70);
@@ -8507,6 +8496,37 @@
8507
8496
  --x-size-border-width-bottom-button-default: var(--x-size-border-width-bottom-button-tertiary);
8508
8497
  --x-size-border-width-left-button-default: var(--x-size-border-width-left-button-tertiary);
8509
8498
  }
8499
+ :root {
8500
+ --x-color-background-button-secondary: transparent;
8501
+ --x-color-border-button-secondary: var(--x-color-border-button-default);
8502
+ --x-color-text-button-secondary: var(--x-color-border-button-default);
8503
+ --x-size-border-width-button-secondary: var(--x-size-border-width-base);
8504
+ --x-size-border-width-top-button-secondary: var(--x-size-border-width-button-secondary);
8505
+ --x-size-border-width-right-button-secondary: var(--x-size-border-width-button-secondary);
8506
+ --x-size-border-width-bottom-button-secondary: var(--x-size-border-width-button-secondary);
8507
+ --x-size-border-width-left-button-secondary: var(--x-size-border-width-button-secondary);
8508
+ }
8509
+ :root {
8510
+ --x-color-background-button-secondary: transparent;
8511
+ --x-color-border-button-secondary: var(--x-color-border-button-default);
8512
+ --x-color-text-button-secondary: var(--x-color-border-button-default);
8513
+ --x-size-border-width-button-secondary: var(--x-size-border-width-base);
8514
+ --x-size-border-width-top-button-secondary: var(--x-size-border-width-button-secondary);
8515
+ --x-size-border-width-right-button-secondary: var(--x-size-border-width-button-secondary);
8516
+ --x-size-border-width-bottom-button-secondary: var(--x-size-border-width-button-secondary);
8517
+ --x-size-border-width-left-button-secondary: var(--x-size-border-width-button-secondary);
8518
+ }
8519
+
8520
+ .x-button--secondary.x-button,
8521
+ .x-button--secondary .x-button {
8522
+ --x-color-background-button-default: var(--x-color-background-button-secondary);
8523
+ --x-color-border-button-default: var(--x-color-border-button-secondary);
8524
+ --x-color-text-button-default: var(--x-color-text-button-secondary);
8525
+ --x-size-border-width-top-button-default: var(--x-size-border-width-top-button-secondary);
8526
+ --x-size-border-width-right-button-default: var(--x-size-border-width-right-button-secondary);
8527
+ --x-size-border-width-bottom-button-default: var(--x-size-border-width-bottom-button-secondary);
8528
+ --x-size-border-width-left-button-default: var(--x-size-border-width-left-button-secondary);
8529
+ }
8510
8530
  :root {
8511
8531
  --x-size-border-radius-button-round: var(--x-size-border-radius-base-pill);
8512
8532
  --x-size-border-radius-top-left-button-round: var(--x-size-border-radius-button-round);
@@ -8577,6 +8597,13 @@
8577
8597
  --x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
8578
8598
  --x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
8579
8599
  }
8600
+ :root {
8601
+ --x-size-border-radius-button-pill: var(--x-size-border-radius-base-pill);
8602
+ --x-size-border-radius-top-left-button-pill: var(--x-size-border-radius-button-pill);
8603
+ --x-size-border-radius-top-right-button-pill: var(--x-size-border-radius-button-pill);
8604
+ --x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
8605
+ --x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
8606
+ }
8580
8607
 
8581
8608
  .x-button--pill.x-button,
8582
8609
  .x-button--pill .x-button {
@@ -8597,13 +8624,6 @@
8597
8624
  --x-color-border-button-ghost: transparent;
8598
8625
  --x-color-text-button-ghost: var(--x-color-base-lead);
8599
8626
  }
8600
- :root {
8601
- --x-size-border-radius-button-pill: var(--x-size-border-radius-base-pill);
8602
- --x-size-border-radius-top-left-button-pill: var(--x-size-border-radius-button-pill);
8603
- --x-size-border-radius-top-right-button-pill: var(--x-size-border-radius-button-pill);
8604
- --x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
8605
- --x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
8606
- }
8607
8627
  :root {
8608
8628
  --x-color-background-button-ghost: transparent;
8609
8629
  --x-color-border-button-ghost: transparent;
@@ -8864,24 +8884,3 @@
8864
8884
  --x-size-border-radius-base-pill: 99999px;
8865
8885
  --x-size-border-width-base: 1px;
8866
8886
  }
8867
- :root {
8868
- --x-color-background-button-secondary: transparent;
8869
- --x-color-border-button-secondary: var(--x-color-border-button-default);
8870
- --x-color-text-button-secondary: var(--x-color-border-button-default);
8871
- --x-size-border-width-button-secondary: var(--x-size-border-width-base);
8872
- --x-size-border-width-top-button-secondary: var(--x-size-border-width-button-secondary);
8873
- --x-size-border-width-right-button-secondary: var(--x-size-border-width-button-secondary);
8874
- --x-size-border-width-bottom-button-secondary: var(--x-size-border-width-button-secondary);
8875
- --x-size-border-width-left-button-secondary: var(--x-size-border-width-button-secondary);
8876
- }
8877
-
8878
- .x-button--secondary.x-button,
8879
- .x-button--secondary .x-button {
8880
- --x-color-background-button-default: var(--x-color-background-button-secondary);
8881
- --x-color-border-button-default: var(--x-color-border-button-secondary);
8882
- --x-color-text-button-default: var(--x-color-text-button-secondary);
8883
- --x-size-border-width-top-button-default: var(--x-size-border-width-top-button-secondary);
8884
- --x-size-border-width-right-button-default: var(--x-size-border-width-right-button-secondary);
8885
- --x-size-border-width-bottom-button-default: var(--x-size-border-width-bottom-button-secondary);
8886
- --x-size-border-width-left-button-default: var(--x-size-border-width-left-button-secondary);
8887
- }
@@ -9,33 +9,34 @@
9
9
  ```typescript
10
10
  _default: import("vue").DefineComponent<{
11
11
  target: {
12
- type: StringConstructor;
12
+ type: PropType<string | Element>;
13
13
  required: true;
14
14
  };
15
- hideSiblings: {
15
+ position: {
16
+ type: PropType<"beforebegin" | "afterbegin" | "beforeend" | "afterend" | "onlychild">;
17
+ default: string;
18
+ };
19
+ disabled: {
16
20
  type: BooleanConstructor;
17
21
  default: boolean;
18
22
  };
19
- position: {
20
- type: NumberConstructor;
21
- required: false;
22
- };
23
23
  }, {
24
- teleportTarget: import("vue").ComputedRef<string>;
24
+ teleportHost: HTMLDivElement;
25
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
26
  target: {
27
- type: StringConstructor;
27
+ type: PropType<string | Element>;
28
28
  required: true;
29
29
  };
30
- hideSiblings: {
30
+ position: {
31
+ type: PropType<"beforebegin" | "afterbegin" | "beforeend" | "afterend" | "onlychild">;
32
+ default: string;
33
+ };
34
+ disabled: {
31
35
  type: BooleanConstructor;
32
36
  default: boolean;
33
37
  };
34
- position: {
35
- type: NumberConstructor;
36
- required: false;
37
- };
38
38
  }>>, {
39
- hideSiblings: boolean;
39
+ position: "beforebegin" | "afterbegin" | "beforeend" | "afterend" | "onlychild";
40
+ disabled: boolean;
40
41
  }, {}>
41
42
  ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [isIOS](./x-components.isios.md)
4
+
5
+ ## isIOS variable
6
+
7
+ Checks if the user is on an iOS device (iPhone, iPad, or iPod).
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ isIOS: () => boolean
13
+ ```
@@ -444,6 +444,7 @@ X-Components is a library usable everywhere not only for search experiences.
444
444
  | [increasePageAppendingResults](./x-components.increasepageappendingresults.md) | Default implementation for the [SearchActions.increasePageAppendingResults](./x-components.searchactions.increasepageappendingresults.md)<!-- -->. |
445
445
  | [increasePageAppendingResultsWire](./x-components.increasepageappendingresultswire.md) | Increases the current search state <code>page</code> by one. |
446
446
  | [infiniteScroll](./x-components.infinitescroll.md) | <p>Custom Vue directive for infinite scroll.</p><p>This directive uses the IntersectionObserver API to handle the intersection between the children and the scrollable container. The content of the children moves up on scroll and when it reaches the end, the IntersectionObserver triggers that both elements are intersecting.</p><p>How it works.</p><p>As a summary, if the scroll reaches the end, <code>UserReachedResultsListEnd</code> event is emitted to the xBus. If you provide a margin in the directive options, this function is triggered when the scroll reaches the end minus that amount of pixels. A default margin of 200px is set.</p><p>Usage.</p><p>The directive has to be set in the target element. It can receive an argument which will be used to determine the scrollable container. Possible values: <code>html</code>: will set the <html> as the scrollable container. <code>body</code>: will set the <body> as the scrollable container. ID: will set the DOM element with the provided id as the scrollable container.</p><p>If no argument is provided the scrollable container fallbacks to the viewport.</p> |
447
+ | [isIOS](./x-components.isios.md) | Checks if the user is on an iOS device (iPhone, iPad, or iPod). |
447
448
  | [ItemsList](./x-components.itemslist.md) | It renders a list of [ListItem](./x-components.listitem.md) providing a slot for each <code>slotName</code> which depends on the <code>modelName</code>of the item. |
448
449
  | [loadHistoryQueriesFromBrowserStorage](./x-components.loadhistoryqueriesfrombrowserstorage.md) | Default implementation for the [HistoryQueriesActions.loadHistoryQueriesFromBrowserStorage](./x-components.historyqueriesactions.loadhistoryqueriesfrombrowserstorage.md) action. |
449
450
  | [loadHistoryQueriesFromBrowserStorageWire](./x-components.loadhistoryqueriesfrombrowserstoragewire.md) | Loads the history queries from the browser storage, saving them to the [HistoryQueriesState.historyQueries](./x-components.historyqueriesstate.historyqueries.md)<!-- -->. |
@@ -507,6 +508,7 @@ X-Components is a library usable everywhere not only for search experiences.
507
508
  | [removeHistoryQuery](./x-components.removehistoryquery.md) | Removes a single history query from the history queries. |
508
509
  | [RemoveHistoryQuery](./x-components.removehistoryquery.md) | Button that when it is pressed emits the [HistoryQueriesXEvents.UserPressedRemoveHistoryQuery](./x-components.historyqueriesxevents.userpressedremovehistoryquery.md) event, expressing the user intention to remove a query in the history. |
509
510
  | [removeQueryPreviewInstanceWire](./x-components.removequerypreviewinstancewire.md) | Removes an instance in a query preview. |
511
+ | [removeSearchInputFocus](./x-components.removesearchinputfocus.md) | Removes focus from the search input element if it is currently focused. This function checks if the active element in the document matches the selector '.x-search-input' and, if so, blurs the element to remove focus. |
510
512
  | [RenderlessExtraParams](./x-components.renderlessextraparams.md) | It emits a [ExtraParamsXEvents.UserChangedExtraParams](./x-components.extraparamsxevents.userchangedextraparams.md) when the <code>updateValue</code> is called. |
511
513
  | [RenderlessFilter](./x-components.renderlessfilter.md) | Renders default slot content. It binds to the default slot a [BooleanFilter](./x-types.booleanfilter.md)<!-- -->, the [XEvent](./x-components.xevent.md) that will be emitted when clicking the content, the CSS classes and if the content should be deactivated. |
512
514
  | [resetAppending](./x-components.resetappending.md) | Resets the search state <code>isAppendingResults</code>. |