@empathyco/x-components 5.0.0-alpha.21 → 5.0.0-alpha.23

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/design-system/deprecated-full-theme.css +634 -634
  3. package/docs/API-reference/api/x-components.basemodal.md +51 -25
  4. package/docs/API-reference/api/x-components.basevariablecolumngrid.md +30 -11
  5. package/docs/API-reference/api/x-components.md +3 -3
  6. package/docs/API-reference/api/x-components.slidingpanel.md +46 -12
  7. package/docs/API-reference/components/common/modals/x-components.base-modal.md +9 -7
  8. package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +5 -5
  9. package/docs/API-reference/components/common/x-components.sliding-panel.md +2 -0
  10. package/js/components/animations/fade.vue.js +1 -1
  11. package/js/components/animations/fade.vue.js.map +1 -1
  12. package/js/components/animations/fade.vue3.js +1 -1
  13. package/js/components/base-variable-column-grid.vue.js +1 -1
  14. package/js/components/base-variable-column-grid.vue.js.map +1 -1
  15. package/js/components/base-variable-column-grid.vue2.js +63 -49
  16. package/js/components/base-variable-column-grid.vue2.js.map +1 -1
  17. package/js/components/dynamic-props.mixin.js +1 -1
  18. package/js/components/dynamic-props.mixin.js.map +1 -1
  19. package/js/components/modals/base-modal.vue.js +3 -3
  20. package/js/components/modals/base-modal.vue.js.map +1 -1
  21. package/js/components/modals/base-modal.vue2.js +160 -166
  22. package/js/components/modals/base-modal.vue2.js.map +1 -1
  23. package/js/components/modals/base-modal.vue3.js +1 -1
  24. package/js/components/sliding-panel.vue.js +6 -6
  25. package/js/components/sliding-panel.vue.js.map +1 -1
  26. package/js/components/sliding-panel.vue2.js +112 -136
  27. package/js/components/sliding-panel.vue2.js.map +1 -1
  28. package/js/components/sliding-panel.vue3.js +1 -1
  29. package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
  30. package/js/x-modules/facets/components/lists/sliced-filters.vue2.js +1 -7
  31. package/js/x-modules/facets/components/lists/sliced-filters.vue2.js.map +1 -1
  32. package/package.json +2 -2
  33. package/report/x-components.api.json +2339 -1293
  34. package/report/x-components.api.md +124 -81
  35. package/types/components/base-variable-column-grid.vue.d.ts +38 -17
  36. package/types/components/base-variable-column-grid.vue.d.ts.map +1 -1
  37. package/types/components/dynamic-props.mixin.d.ts +1 -1
  38. package/types/components/modals/base-modal.vue.d.ts +68 -97
  39. package/types/components/modals/base-modal.vue.d.ts.map +1 -1
  40. package/types/components/sliding-panel.vue.d.ts +50 -87
  41. package/types/components/sliding-panel.vue.d.ts.map +1 -1
  42. package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts +2 -14
  43. package/types/x-modules/facets/components/lists/sliced-filters.vue.d.ts.map +1 -1
  44. package/docs/API-reference/api/x-components.basemodal._refs.md +0 -14
  45. package/docs/API-reference/api/x-components.basemodal.animation.md +0 -13
  46. package/docs/API-reference/api/x-components.basemodal.focusonopen.md +0 -13
  47. package/docs/API-reference/api/x-components.basemodal.iswaitingforleave.md +0 -13
  48. package/docs/API-reference/api/x-components.basemodal.mounted.md +0 -15
  49. package/docs/API-reference/api/x-components.basemodal.open.md +0 -13
  50. package/docs/API-reference/api/x-components.basemodal.overlayanimation.md +0 -13
  51. package/docs/API-reference/api/x-components.basemodal.previousbodyoverflow.md +0 -13
  52. package/docs/API-reference/api/x-components.basemodal.previoushtmloverflow.md +0 -13
  53. package/docs/API-reference/api/x-components.basemodal.referenceelement.md +0 -13
  54. package/docs/API-reference/api/x-components.basemodal.referenceselector.md +0 -13
  55. package/docs/API-reference/api/x-components.basevariablecolumngrid.animation.md +0 -13
  56. package/docs/API-reference/api/x-components.basevariablecolumngrid.items.md +0 -18
  57. package/docs/API-reference/api/x-components.slidingpanel.resetoncontentchange.md +0 -13
  58. package/docs/API-reference/api/x-components.slidingpanel.scrollfactor.md +0 -13
  59. package/docs/API-reference/api/x-components.slidingpanel.showbuttons.md +0 -13
@@ -1,5 +1,3 @@
1
- import { VueCSSClasses } from '../utils/types';
2
- declare const SlidingPanel_base: import("vue-class-component/lib/declarations").VueClass<object & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & Record<never, any> & Partial<Record<"buttonClass" | "scrollContainerClass", string>> & import("vue").ShallowUnwrapRef<{}>>;
3
1
  /**
4
2
  * This component allows for any other component or element inside it to be horizontally
5
3
  * navigable. It also implements customizable buttons as well as other minor customizations to its
@@ -10,101 +8,66 @@ declare const SlidingPanel_base: import("vue-class-component/lib/declarations").
10
8
  *
11
9
  * @public
12
10
  */
13
- export default class SlidingPanel extends SlidingPanel_base {
11
+ declare const _default: import("vue").DefineComponent<{
14
12
  /**
15
13
  * Scroll factor that will dictate how much the scroll moves when pressing a navigation button.
16
- *
17
- * @public
18
14
  */
19
- scrollFactor: number;
20
- /**
21
- * Would make the navigation buttons visible when they're needed or always hide them.
22
- *
23
- * @public
24
- */
25
- showButtons: boolean;
15
+ scrollFactor: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ /** Would make the navigation buttons visible when they're needed or always hide them. */
20
+ showButtons: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
26
24
  /**
27
25
  * When true, whenever the DOM content in the sliding panel slot changes, it will reset
28
26
  * the scroll position to 0.
29
- *
30
- * @public
31
- */
32
- resetOnContentChange: boolean;
33
- /**
34
- * Indicates if the scroll is at the start of the sliding panel.
35
- *
36
- * @internal
37
27
  */
38
- protected isScrollAtStart: boolean;
39
- /**
40
- * Indicates if the scroll is at the end of the sliding panel.
41
- *
42
- * @internal
43
- */
44
- protected isScrollAtEnd: boolean;
45
- /**
46
- * HTMLElement referencing the scroll of the component.
47
- *
48
- * @internal
49
- */
50
- $refs: {
51
- scrollContainer: HTMLElement;
28
+ resetOnContentChange: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
52
31
  };
32
+ buttonClass: StringConstructor;
33
+ scrollContainerClass: StringConstructor;
34
+ }, {
35
+ cssClasses: import("vue").ComputedRef<{
36
+ 'x-sliding-panel-at-start': boolean;
37
+ 'x-sliding-panel-at-end': boolean;
38
+ }>;
39
+ debouncedUpdateScroll: import("..").DebouncedFunction<[]>;
40
+ scrollContainerRef: import("vue").Ref<HTMLDivElement | undefined>;
41
+ scrollLeft: () => void;
42
+ scrollRight: () => void;
43
+ slots: import("vue/types/v3-setup-context").Slots;
44
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
53
45
  /**
54
- * CSS classes to apply based on the scroll position.
55
- *
56
- * @returns The CSS classes to apply.
57
- *
58
- * @internal
59
- */
60
- protected get cssClasses(): VueCSSClasses;
61
- /**
62
- * Initialises browser platform code:
63
- * - Creates a mutation observer to detect content changes and reset scroll position.
64
- * - Stores initial size and scroll position values.
65
- *
66
- * @internal
67
- */
68
- mounted(): void;
69
- /**
70
- * Resets the scroll and updates the values of the scroll for the buttons to react.
71
- *
72
- * @internal
73
- */
74
- restoreAndUpdateScroll(): void;
75
- /**
76
- * Updates the values of the scroll positions to show or hide the buttons depending on it.
77
- *
78
- * @internal
79
- */
80
- protected updateScrollPosition(): void;
81
- /**
82
- * Debounced version of the {@link SlidingPanel.updateScrollPosition}
83
- * method.
84
- *
85
- * @internal
86
- */
87
- debouncedUpdateScrollPosition(): void;
88
- /**
89
- * Scrolls the wrapper element to the left.
90
- *
91
- * @internal
92
- */
93
- protected scrollLeft(): void;
94
- /**
95
- * Scrolls the wrapper element to the right.
96
- *
97
- * @internal
46
+ * Scroll factor that will dictate how much the scroll moves when pressing a navigation button.
98
47
  */
99
- protected scrollRight(): void;
48
+ scrollFactor: {
49
+ type: NumberConstructor;
50
+ default: number;
51
+ };
52
+ /** Would make the navigation buttons visible when they're needed or always hide them. */
53
+ showButtons: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
100
57
  /**
101
- * Scrolls the wrapper element towards the provided scroll value.
102
- *
103
- * @param scrollValue - The value the scroll will go towards.
104
- *
105
- * @internal
58
+ * When true, whenever the DOM content in the sliding panel slot changes, it will reset
59
+ * the scroll position to 0.
106
60
  */
107
- protected scrollTo(scrollValue: number): void;
108
- }
109
- export {};
61
+ resetOnContentChange: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ buttonClass: StringConstructor;
66
+ scrollContainerClass: StringConstructor;
67
+ }>>, {
68
+ scrollFactor: number;
69
+ showButtons: boolean;
70
+ resetOnContentChange: boolean;
71
+ }>;
72
+ export default _default;
110
73
  //# sourceMappingURL=sliding-panel.vue?rollup-plugin-vue=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sliding-panel.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../src/components/sliding-panel.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAuCE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;;AAI/C;;;;;;;;;GASG;AAEH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,iBAEzC;IACC;;;;OAIG;IAEI,YAAY,EAAG,MAAM,CAAC;IAE7B;;;;OAIG;IAEI,WAAW,EAAG,OAAO,CAAC;IAE7B;;;;;OAKG;IAEI,oBAAoB,EAAG,OAAO,CAAC;IAEtC;;;;OAIG;IACH,SAAS,CAAC,eAAe,UAAQ;IAEjC;;;;OAIG;IACH,SAAS,CAAC,aAAa,UAAQ;IAE/B;;;;OAIG;IACI,KAAK,EAAG;QACb,eAAe,EAAE,WAAW,CAAC;KAC9B,CAAC;IAEF;;;;;;OAMG;IACH,SAAS,KAAK,UAAU,IAAI,aAAa,CAKxC;IAED;;;;;;OAMG;IACH,OAAO,IAAI,IAAI;IA8Bf;;;;OAIG;IAEH,sBAAsB,IAAI,IAAI;IAK9B;;;;OAIG;IACH,SAAS,CAAC,oBAAoB,IAAI,IAAI;IAUtC;;;;;OAKG;IAEH,6BAA6B,IAAI,IAAI;IAIrC;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAI5B;;;;OAIG;IACH,SAAS,CAAC,WAAW,IAAI,IAAI;IAI7B;;;;;;OAMG;IACH,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;CAM9C"}
1
+ {"version":3,"file":"sliding-panel.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../src/components/sliding-panel.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAyCE;;;;;;;;;GASG;;IAIC;;OAEG;;;;;IAKH,yFAAyF;;;;;IAKzF;;;OAGG;;;;;;;;;;;;;;;;;;IAfH;;OAEG;;;;;IAKH,yFAAyF;;;;;IAKzF;;;OAGG;;;;;;;;;;;;AAlBP,wBA2IG"}
@@ -18,18 +18,12 @@ declare const _default: import("vue").DefineComponent<{
18
18
  /**
19
19
  * This prop is used in the `HierarchicalFilter` component and only in that case. It is necessary
20
20
  * to make the `renderedFilters` to return only the filters of each level of the hierarchy.
21
- *
22
- * @public
23
21
  */
24
22
  parentId: {
25
23
  type: PropType<string | number>;
26
24
  required: false;
27
25
  };
28
- /**
29
- * The maximum number of filters to show.
30
- *
31
- * @public
32
- */
26
+ /** The maximum number of filters to show. */
33
27
  max: {
34
28
  type: NumberConstructor;
35
29
  required: true;
@@ -52,18 +46,12 @@ declare const _default: import("vue").DefineComponent<{
52
46
  /**
53
47
  * This prop is used in the `HierarchicalFilter` component and only in that case. It is necessary
54
48
  * to make the `renderedFilters` to return only the filters of each level of the hierarchy.
55
- *
56
- * @public
57
49
  */
58
50
  parentId: {
59
51
  type: PropType<string | number>;
60
52
  required: false;
61
53
  };
62
- /**
63
- * The maximum number of filters to show.
64
- *
65
- * @public
66
- */
54
+ /** The maximum number of filters to show. */
67
55
  max: {
68
56
  type: NumberConstructor;
69
57
  required: true;
@@ -1 +1 @@
1
- {"version":3,"file":"sliced-filters.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/lists/sliced-filters.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AA+CE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAA6B,QAAQ,EAAgB,MAAM,KAAK,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKlD;;;;;;GAMG;;IAKC;;;;OAIG;;IAGH;;;;;OAKG;;;;;IAMH;;;;OAIG;;;;;;;;mCAqDmC,UAAU,KAAG,IAAI;;;;;;IA3EvD;;;;OAIG;;IAGH;;;;;OAKG;;;;;IAMH;;;;OAIG;;;;;;;AA1BP,wBAyGG"}
1
+ {"version":3,"file":"sliced-filters.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/lists/sliced-filters.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AA+CE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAA6B,QAAQ,EAAgB,MAAM,KAAK,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKlD;;;;;;GAMG;;IAKC;;;;OAIG;;IAEH;;;OAGG;;;;;IAKH,6CAA6C;;;;;;;;mCAoDP,UAAU,KAAG,IAAI;;;;;;IAlEvD;;;;OAIG;;IAEH;;;OAGG;;;;;IAKH,6CAA6C;;;;;;;AAlBjD,wBAgGG"}
@@ -1,14 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [$refs](./x-components.basemodal._refs.md)
4
-
5
- ## BaseModal.$refs property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- $refs: {
11
- modal: HTMLDivElement;
12
- modalContent: HTMLDivElement;
13
- };
14
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [animation](./x-components.basemodal.animation.md)
4
-
5
- ## BaseModal.animation property
6
-
7
- Animation to use for opening/closing the modal. This animation only affects the content.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- animation: Vue | string;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [focusOnOpen](./x-components.basemodal.focusonopen.md)
4
-
5
- ## BaseModal.focusOnOpen property
6
-
7
- Determines if the focused element changes to one inside the modal when it opens. Either the first element with a positive tabindex or just the first focusable element.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- focusOnOpen: boolean;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [isWaitingForLeave](./x-components.basemodal.iswaitingforleave.md)
4
-
5
- ## BaseModal.isWaitingForLeave property
6
-
7
- Boolean to delay the leave animation until it has completed.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected isWaitingForLeave: boolean;
13
- ```
@@ -1,15 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [mounted](./x-components.basemodal.mounted.md)
4
-
5
- ## BaseModal.mounted() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected mounted(): void;
11
- ```
12
- **Returns:**
13
-
14
- void
15
-
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [open](./x-components.basemodal.open.md)
4
-
5
- ## BaseModal.open property
6
-
7
- Determines if the modal is open or not.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- open: boolean;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [overlayAnimation](./x-components.basemodal.overlayanimation.md)
4
-
5
- ## BaseModal.overlayAnimation property
6
-
7
- Animation to use for the overlay (backdrop) part of the modal. By default, it uses a fade transition.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- overlayAnimation: Vue | string;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [previousBodyOverflow](./x-components.basemodal.previousbodyoverflow.md)
4
-
5
- ## BaseModal.previousBodyOverflow property
6
-
7
- The previous value of the body overflow style.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected previousBodyOverflow: string;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [previousHTMLOverflow](./x-components.basemodal.previoushtmloverflow.md)
4
-
5
- ## BaseModal.previousHTMLOverflow property
6
-
7
- The previous value of the HTML element overflow style.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected previousHTMLOverflow: string;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [referenceElement](./x-components.basemodal.referenceelement.md)
4
-
5
- ## BaseModal.referenceElement property
6
-
7
- The reference element to use to find the modal's position.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected referenceElement: HTMLElement;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseModal](./x-components.basemodal.md) &gt; [referenceSelector](./x-components.basemodal.referenceselector.md)
4
-
5
- ## BaseModal.referenceSelector property
6
-
7
- The reference selector of a DOM element to use as reference to position the modal. This selector can be an ID or a class, if it is a class, it will use the first element that matches.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- referenceSelector?: string;
13
- ```
@@ -1,13 +0,0 @@
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; [BaseVariableColumnGrid](./x-components.basevariablecolumngrid.md) &gt; [animation](./x-components.basevariablecolumngrid.animation.md)
4
-
5
- ## BaseVariableColumnGrid.animation property
6
-
7
- Animation component that will be used to animate the grid.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected animation: Vue | string;
13
- ```
@@ -1,18 +0,0 @@
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; [BaseVariableColumnGrid](./x-components.basevariablecolumngrid.md) &gt; [items](./x-components.basevariablecolumngrid.items.md)
4
-
5
- ## BaseVariableColumnGrid.items property
6
-
7
- The list of items to be rendered.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected items?: ListItem[];
13
- ```
14
-
15
- ## Remarks
16
-
17
- The items must have an id property.
18
-
@@ -1,13 +0,0 @@
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; [SlidingPanel](./x-components.slidingpanel.md) &gt; [resetOnContentChange](./x-components.slidingpanel.resetoncontentchange.md)
4
-
5
- ## SlidingPanel.resetOnContentChange property
6
-
7
- When true, whenever the DOM content in the sliding panel slot changes, it will reset the scroll position to 0.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- resetOnContentChange: boolean;
13
- ```
@@ -1,13 +0,0 @@
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; [SlidingPanel](./x-components.slidingpanel.md) &gt; [scrollFactor](./x-components.slidingpanel.scrollfactor.md)
4
-
5
- ## SlidingPanel.scrollFactor property
6
-
7
- Scroll factor that will dictate how much the scroll moves when pressing a navigation button.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- scrollFactor: number;
13
- ```
@@ -1,13 +0,0 @@
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; [SlidingPanel](./x-components.slidingpanel.md) &gt; [showButtons](./x-components.slidingpanel.showbuttons.md)
4
-
5
- ## SlidingPanel.showButtons property
6
-
7
- Would make the navigation buttons visible when they're needed or always hide them.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- showButtons: boolean;
13
- ```