@paperless/core 0.1.0-alpha.92 → 0.1.0-alpha.95

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 (181) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/build/{p-130cf3bf.entry.js → p-0d70c55f.entry.js} +1 -1
  3. package/dist/build/{p-b0e40788.entry.js → p-1b98288f.entry.js} +1 -1
  4. package/dist/build/{p-4bdad085.entry.js → p-25198b24.entry.js} +1 -1
  5. package/dist/build/{p-b907dfa2.entry.js → p-2a0959e5.entry.js} +1 -1
  6. package/dist/build/{p-57ab2dca.entry.js → p-2dd556e2.entry.js} +1 -1
  7. package/dist/build/{p-525e869e.entry.js → p-407db966.entry.js} +1 -1
  8. package/dist/build/p-4d70ec7d.js +2 -0
  9. package/dist/{paperless/p-d840b591.entry.js → build/p-5a1c29a0.entry.js} +1 -1
  10. package/dist/{paperless/p-e1fb3cc4.entry.js → build/p-5ad4da43.entry.js} +1 -1
  11. package/dist/build/p-5b6fe00f.entry.js +1 -0
  12. package/dist/build/{p-605baf6b.entry.js → p-5cf00406.entry.js} +1 -1
  13. package/dist/build/{p-493f54f5.entry.js → p-647a5ce0.entry.js} +1 -1
  14. package/dist/build/{p-98cbd176.entry.js → p-699ee4c5.entry.js} +1 -1
  15. package/dist/build/{p-63707c21.entry.js → p-727d7075.entry.js} +1 -1
  16. package/dist/build/{p-e0e4c3a1.entry.js → p-737b61be.entry.js} +1 -1
  17. package/dist/build/p-769abdaf.entry.js +1 -0
  18. package/dist/build/{p-92b7c5bf.entry.js → p-99fbfb12.entry.js} +1 -1
  19. package/dist/build/{p-8c86e126.entry.js → p-9dc4800e.entry.js} +1 -1
  20. package/dist/build/p-9ed56df0.entry.js +1 -0
  21. package/dist/build/{p-95040ae6.entry.js → p-a8f73335.entry.js} +1 -1
  22. package/dist/{paperless/p-1b07a1d7.entry.js → build/p-b4afb81b.entry.js} +1 -1
  23. package/dist/build/{p-328a57e3.entry.js → p-b54edf07.entry.js} +1 -1
  24. package/dist/build/{p-88ba16f2.entry.js → p-b626b4bc.entry.js} +1 -1
  25. package/dist/build/{p-bf7c23b9.entry.js → p-baba639b.entry.js} +1 -1
  26. package/dist/build/{p-04fe5795.entry.js → p-c4c7c07b.entry.js} +1 -1
  27. package/dist/{paperless/p-9336b7d2.entry.js → build/p-d676fecf.entry.js} +1 -1
  28. package/dist/build/{p-8fc9ce8a.entry.js → p-d7f022ac.entry.js} +1 -1
  29. package/dist/{paperless/p-d0fa1db4.entry.js → build/p-db62fa0f.entry.js} +1 -1
  30. package/dist/build/{p-6f1f7e07.entry.js → p-e1937315.entry.js} +1 -1
  31. package/dist/build/{p-f8a80027.entry.js → p-eedc960d.entry.js} +1 -1
  32. package/dist/build/{p-144b1a05.entry.js → p-f560b80f.entry.js} +1 -1
  33. package/dist/build/p-f82c9ab6.entry.js +1 -0
  34. package/dist/build/{p-9cf9c628.entry.js → p-f9ef9d25.entry.js} +1 -1
  35. package/dist/build/{p-59b10536.entry.js → p-fa6d3cee.entry.js} +1 -1
  36. package/dist/build/{p-ab459d05.entry.js → p-faf607d9.entry.js} +1 -1
  37. package/dist/build/paperless.esm.js +1 -1
  38. package/dist/cjs/{index-0aa7c87d.js → index-5fdb82a1.js} +37 -4
  39. package/dist/cjs/loader.cjs.js +3 -3
  40. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  41. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  42. package/dist/cjs/p-avatar_2.cjs.entry.js +1 -1
  43. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  44. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  45. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  46. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  47. package/dist/cjs/p-content-slider.cjs.entry.js +91 -8
  48. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  49. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  50. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +1 -1
  51. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +1 -1
  52. package/dist/cjs/p-helper.cjs.entry.js +1 -1
  53. package/dist/cjs/p-illustration.cjs.entry.js +1 -1
  54. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  55. package/dist/cjs/p-input-group.cjs.entry.js +1 -1
  56. package/dist/cjs/p-layout.cjs.entry.js +2 -2
  57. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +1 -1
  58. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  59. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  60. package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
  61. package/dist/cjs/p-pagination-item.cjs.entry.js +1 -1
  62. package/dist/cjs/p-pagination.cjs.entry.js +1 -1
  63. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  64. package/dist/cjs/p-segment-container.cjs.entry.js +1 -1
  65. package/dist/cjs/p-segment-item.cjs.entry.js +1 -1
  66. package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
  67. package/dist/cjs/p-status.cjs.entry.js +1 -1
  68. package/dist/cjs/p-stepper-item_2.cjs.entry.js +1 -1
  69. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  70. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  71. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  72. package/dist/cjs/p-tag.cjs.entry.js +1 -1
  73. package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
  74. package/dist/cjs/paperless.cjs.js +3 -3
  75. package/dist/collection/collection-manifest.json +1 -1
  76. package/dist/collection/components/atoms/card-container/card-container.component.css +3 -3
  77. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -1
  78. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  79. package/dist/collection/components/atoms/layout/layout.component.css +1 -1
  80. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  81. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
  82. package/dist/collection/components/molecules/content-slider/content-slider.component.css +16 -6
  83. package/dist/collection/components/molecules/content-slider/content-slider.component.js +146 -10
  84. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  85. package/dist/collection/tailwind/shadows.js +9 -5
  86. package/dist/components/index.d.ts +42 -42
  87. package/dist/components/p-card-container.js +1 -1
  88. package/dist/components/p-card-header.js +1 -1
  89. package/dist/components/p-content-slider.js +97 -9
  90. package/dist/components/p-layout.js +1 -1
  91. package/dist/components/slider-indicator.component.js +1 -1
  92. package/dist/esm/{index-877dd68e.js → index-ba915982.js} +37 -4
  93. package/dist/esm/loader.js +3 -3
  94. package/dist/esm/p-accordion.entry.js +1 -1
  95. package/dist/esm/p-avatar-group.entry.js +1 -1
  96. package/dist/esm/p-avatar_2.entry.js +1 -1
  97. package/dist/esm/p-button_3.entry.js +1 -1
  98. package/dist/esm/p-card-body.entry.js +1 -1
  99. package/dist/esm/p-card-container.entry.js +2 -2
  100. package/dist/esm/p-card-header.entry.js +2 -2
  101. package/dist/esm/p-content-slider.entry.js +91 -8
  102. package/dist/esm/p-counter.entry.js +1 -1
  103. package/dist/esm/p-divider.entry.js +1 -1
  104. package/dist/esm/p-dropdown-menu-container.entry.js +1 -1
  105. package/dist/esm/p-dropdown-menu-item.entry.js +1 -1
  106. package/dist/esm/p-helper.entry.js +1 -1
  107. package/dist/esm/p-illustration.entry.js +1 -1
  108. package/dist/esm/p-info-panel.entry.js +1 -1
  109. package/dist/esm/p-input-group.entry.js +1 -1
  110. package/dist/esm/p-layout.entry.js +2 -2
  111. package/dist/esm/p-modal-backdrop_5.entry.js +1 -1
  112. package/dist/esm/p-modal.entry.js +1 -1
  113. package/dist/esm/p-navbar.entry.js +1 -1
  114. package/dist/esm/p-navigation-item.entry.js +1 -1
  115. package/dist/esm/p-pagination-item.entry.js +1 -1
  116. package/dist/esm/p-pagination.entry.js +1 -1
  117. package/dist/esm/p-profile.entry.js +1 -1
  118. package/dist/esm/p-segment-container.entry.js +1 -1
  119. package/dist/esm/p-segment-item.entry.js +1 -1
  120. package/dist/esm/p-slider-indicator.entry.js +2 -2
  121. package/dist/esm/p-status.entry.js +1 -1
  122. package/dist/esm/p-stepper-item_2.entry.js +1 -1
  123. package/dist/esm/p-stepper.entry.js +1 -1
  124. package/dist/esm/p-tab-group.entry.js +1 -1
  125. package/dist/esm/p-tab-item.entry.js +1 -1
  126. package/dist/esm/p-tag.entry.js +1 -1
  127. package/dist/esm/p-tooltip.entry.js +1 -1
  128. package/dist/esm/paperless.js +3 -3
  129. package/dist/index.html +1 -1
  130. package/dist/paperless/{p-130cf3bf.entry.js → p-0d70c55f.entry.js} +1 -1
  131. package/dist/paperless/{p-b0e40788.entry.js → p-1b98288f.entry.js} +1 -1
  132. package/dist/paperless/{p-4bdad085.entry.js → p-25198b24.entry.js} +1 -1
  133. package/dist/paperless/{p-b907dfa2.entry.js → p-2a0959e5.entry.js} +1 -1
  134. package/dist/paperless/{p-57ab2dca.entry.js → p-2dd556e2.entry.js} +1 -1
  135. package/dist/paperless/{p-525e869e.entry.js → p-407db966.entry.js} +1 -1
  136. package/dist/paperless/p-4d70ec7d.js +2 -0
  137. package/dist/{build/p-d840b591.entry.js → paperless/p-5a1c29a0.entry.js} +1 -1
  138. package/dist/{build/p-e1fb3cc4.entry.js → paperless/p-5ad4da43.entry.js} +1 -1
  139. package/dist/paperless/p-5b6fe00f.entry.js +1 -0
  140. package/dist/paperless/{p-605baf6b.entry.js → p-5cf00406.entry.js} +1 -1
  141. package/dist/paperless/{p-493f54f5.entry.js → p-647a5ce0.entry.js} +1 -1
  142. package/dist/paperless/{p-98cbd176.entry.js → p-699ee4c5.entry.js} +1 -1
  143. package/dist/paperless/{p-63707c21.entry.js → p-727d7075.entry.js} +1 -1
  144. package/dist/paperless/{p-e0e4c3a1.entry.js → p-737b61be.entry.js} +1 -1
  145. package/dist/paperless/p-769abdaf.entry.js +1 -0
  146. package/dist/paperless/{p-92b7c5bf.entry.js → p-99fbfb12.entry.js} +1 -1
  147. package/dist/paperless/{p-8c86e126.entry.js → p-9dc4800e.entry.js} +1 -1
  148. package/dist/paperless/p-9ed56df0.entry.js +1 -0
  149. package/dist/paperless/{p-95040ae6.entry.js → p-a8f73335.entry.js} +1 -1
  150. package/dist/{build/p-1b07a1d7.entry.js → paperless/p-b4afb81b.entry.js} +1 -1
  151. package/dist/paperless/{p-328a57e3.entry.js → p-b54edf07.entry.js} +1 -1
  152. package/dist/paperless/{p-88ba16f2.entry.js → p-b626b4bc.entry.js} +1 -1
  153. package/dist/paperless/{p-bf7c23b9.entry.js → p-baba639b.entry.js} +1 -1
  154. package/dist/paperless/{p-04fe5795.entry.js → p-c4c7c07b.entry.js} +1 -1
  155. package/dist/{build/p-9336b7d2.entry.js → paperless/p-d676fecf.entry.js} +1 -1
  156. package/dist/paperless/{p-8fc9ce8a.entry.js → p-d7f022ac.entry.js} +1 -1
  157. package/dist/{build/p-d0fa1db4.entry.js → paperless/p-db62fa0f.entry.js} +1 -1
  158. package/dist/paperless/{p-6f1f7e07.entry.js → p-e1937315.entry.js} +1 -1
  159. package/dist/paperless/{p-f8a80027.entry.js → p-eedc960d.entry.js} +1 -1
  160. package/dist/paperless/{p-144b1a05.entry.js → p-f560b80f.entry.js} +1 -1
  161. package/dist/paperless/p-f82c9ab6.entry.js +1 -0
  162. package/dist/paperless/{p-9cf9c628.entry.js → p-f9ef9d25.entry.js} +1 -1
  163. package/dist/paperless/{p-59b10536.entry.js → p-fa6d3cee.entry.js} +1 -1
  164. package/dist/paperless/{p-ab459d05.entry.js → p-faf607d9.entry.js} +1 -1
  165. package/dist/paperless/paperless.esm.js +1 -1
  166. package/dist/sw.js +1 -1
  167. package/dist/sw.js.map +1 -1
  168. package/dist/tailwind/shadows.js +9 -5
  169. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +22 -1
  170. package/dist/types/components.d.ts +16 -0
  171. package/package.json +8 -8
  172. package/dist/build/p-2a29bf31.entry.js +0 -1
  173. package/dist/build/p-2cd125cc.js +0 -2
  174. package/dist/build/p-33564739.entry.js +0 -1
  175. package/dist/build/p-33dac034.entry.js +0 -1
  176. package/dist/build/p-e5456909.entry.js +0 -1
  177. package/dist/paperless/p-2a29bf31.entry.js +0 -1
  178. package/dist/paperless/p-2cd125cc.js +0 -2
  179. package/dist/paperless/p-33564739.entry.js +0 -1
  180. package/dist/paperless/p-33dac034.entry.js +0 -1
  181. package/dist/paperless/p-e5456909.entry.js +0 -1
@@ -1,24 +1,45 @@
1
- import { Component, Element, h, Host, Prop, State } from '@stencil/core';
1
+ import { Component, Element, h, Host, Listen, Prop, State } from '@stencil/core';
2
2
  export class ContentSlider {
3
3
  constructor() {
4
4
  /**
5
5
  * Wether to hide the indicator on mobile
6
6
  */
7
7
  this.hideMobileIndicator = false;
8
+ /**
9
+ * Wether to disable dragging the content
10
+ */
11
+ this.disableDrag = false;
12
+ /**
13
+ * Wether to disable clicking the indicator scrolls content
14
+ */
15
+ this.disableIndicatorClick = false;
16
+ this._outerHeight = 0;
17
+ this._totalWidth = 0;
8
18
  this._items = [];
19
+ this._dragging = false;
9
20
  }
10
21
  componentWillRender() {
11
22
  const items = this._el.querySelectorAll(':scope > *');
12
23
  this._items = Array.from(items);
13
24
  }
25
+ componentDidRender() {
26
+ const outerHeight = this._items.at(0).getBoundingClientRect().height;
27
+ if (outerHeight != this._outerHeight) {
28
+ this._outerHeight = outerHeight;
29
+ }
30
+ }
14
31
  componentDidLoad() {
32
+ this._calculateWidth();
15
33
  this._calculateIndicator();
16
34
  }
17
35
  render() {
18
36
  return (h(Host, { class: "p-content-slider" },
19
- h("div", { class: "content", ref: (el) => (this._contentRef = el), onScroll: () => this._handleScroll() },
20
- h("slot", null)),
21
- h("div", { class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("p-slider-indicator", { active: i === this._visibleIndex }))))));
37
+ h("div", { class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
38
+ height: `${this._outerHeight}px`,
39
+ }, ref: (el) => (this._sliderRef = el), onScroll: () => this._handleScroll(), onMouseDown: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e) },
40
+ h("div", { class: "inner-slider", ref: (ref) => (this._innerSliderRef = ref) },
41
+ h("slot", null))),
42
+ h("div", { class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("p-slider-indicator", { class: !this.disableIndicatorClick && 'cursor-pointer', onClick: () => this._scrollTo(i), active: i === this._visibleIndex }))))));
22
43
  }
23
44
  _handleScroll() {
24
45
  if (this._scrollHandlerTimeout) {
@@ -26,6 +47,41 @@ export class ContentSlider {
26
47
  }
27
48
  this._scrollHandlerTimeout = setTimeout(() => this._calculateIndicator(), 200);
28
49
  }
50
+ _mouseDownHandler(e) {
51
+ if (this.disableDrag || this._dragging) {
52
+ return;
53
+ }
54
+ this._startX = e.offsetX - this._innerSliderRef.offsetLeft;
55
+ this._dragging = true;
56
+ }
57
+ _mouseMoveHandler(e) {
58
+ if (!e || !this._dragging || this.disableDrag) {
59
+ return;
60
+ }
61
+ e.preventDefault();
62
+ const x = e.offsetX;
63
+ this._innerSliderRef.style.left = `${x - this._startX}px`;
64
+ this._checkBoundary();
65
+ this._calculateIndicator();
66
+ }
67
+ _checkBoundary() {
68
+ let outer = this._sliderRef.getBoundingClientRect();
69
+ if (parseInt(this._innerSliderRef.style.left) > 0) {
70
+ this._innerSliderRef.style.left = '0px';
71
+ }
72
+ const maxLeft = (this._totalWidth - outer.width) * -1;
73
+ if (parseInt(this._innerSliderRef.style.left) < maxLeft) {
74
+ this._innerSliderRef.style.left = `${maxLeft}px`;
75
+ }
76
+ }
77
+ mouseUpHandler() {
78
+ this._dragging = false;
79
+ }
80
+ resizeHandler() {
81
+ this._innerSliderRef.style.left = '0px';
82
+ this._calculateWidth();
83
+ this._calculateIndicator();
84
+ }
29
85
  _calculateIndicator() {
30
86
  for (let i = 0; i < this._items.length; i++) {
31
87
  const item = this._items[i];
@@ -37,16 +93,44 @@ export class ContentSlider {
37
93
  break;
38
94
  }
39
95
  }
40
- console.log(this._visibleIndex);
41
96
  }
42
97
  _isVisible(el) {
43
- if (!this._contentRef || !el) {
98
+ if (!this._el || !el) {
44
99
  return false;
45
100
  }
46
101
  const elRect = el.getBoundingClientRect();
47
- const containerRect = this._el.getBoundingClientRect();
48
- return (elRect.left > containerRect.left &&
49
- elRect.right < containerRect.right);
102
+ const sliderRect = this._sliderRef.getBoundingClientRect();
103
+ return (elRect.left >= sliderRect.left && elRect.right <= sliderRect.right);
104
+ }
105
+ _scrollTo(i) {
106
+ if (this.disableIndicatorClick) {
107
+ return;
108
+ }
109
+ const el = this._items[i];
110
+ if (i === 0) {
111
+ this._innerSliderRef.style.left = '0px';
112
+ this._calculateIndicator();
113
+ return;
114
+ }
115
+ const sliderRect = this._sliderRef.getBoundingClientRect();
116
+ const elRect = el.getBoundingClientRect();
117
+ const centerOffset = el.offsetLeft + elRect.width / 2 - sliderRect.width / 2;
118
+ this._innerSliderRef.style.left = `-${centerOffset}px`;
119
+ this._checkBoundary();
120
+ this._calculateIndicator();
121
+ }
122
+ _calculateWidth() {
123
+ let totalWidth = 0;
124
+ for (let item of this._items) {
125
+ const rect = item.getBoundingClientRect();
126
+ totalWidth += rect.width;
127
+ }
128
+ const sliderStyle = getComputedStyle(this._sliderRef);
129
+ const padding = parseInt(sliderStyle.padding) * 2;
130
+ const innerSliderStyle = getComputedStyle(this._innerSliderRef);
131
+ const gap = parseInt(innerSliderStyle.gap) * (this._items.length - 1);
132
+ totalWidth += padding + gap;
133
+ this._totalWidth = totalWidth;
50
134
  }
51
135
  static get is() { return "p-content-slider"; }
52
136
  static get encapsulation() { return "shadow"; }
@@ -74,10 +158,62 @@ export class ContentSlider {
74
158
  "attribute": "hide-mobile-indicator",
75
159
  "reflect": false,
76
160
  "defaultValue": "false"
161
+ },
162
+ "disableDrag": {
163
+ "type": "boolean",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "boolean",
167
+ "resolved": "boolean",
168
+ "references": {}
169
+ },
170
+ "required": false,
171
+ "optional": false,
172
+ "docs": {
173
+ "tags": [],
174
+ "text": "Wether to disable dragging the content"
175
+ },
176
+ "attribute": "disable-drag",
177
+ "reflect": false,
178
+ "defaultValue": "false"
179
+ },
180
+ "disableIndicatorClick": {
181
+ "type": "boolean",
182
+ "mutable": false,
183
+ "complexType": {
184
+ "original": "boolean",
185
+ "resolved": "boolean",
186
+ "references": {}
187
+ },
188
+ "required": false,
189
+ "optional": false,
190
+ "docs": {
191
+ "tags": [],
192
+ "text": "Wether to disable clicking the indicator scrolls content"
193
+ },
194
+ "attribute": "disable-indicator-click",
195
+ "reflect": false,
196
+ "defaultValue": "false"
77
197
  }
78
198
  }; }
79
199
  static get states() { return {
80
- "_visibleIndex": {}
200
+ "_visibleIndex": {},
201
+ "_outerHeight": {},
202
+ "_totalWidth": {},
203
+ "_dragging": {}
81
204
  }; }
82
205
  static get elementRef() { return "_el"; }
206
+ static get listeners() { return [{
207
+ "name": "mouseup",
208
+ "method": "mouseUpHandler",
209
+ "target": "window",
210
+ "capture": false,
211
+ "passive": true
212
+ }, {
213
+ "name": "resize",
214
+ "method": "resizeHandler",
215
+ "target": "window",
216
+ "capture": false,
217
+ "passive": true
218
+ }]; }
83
219
  }
@@ -1,3 +1,3 @@
1
1
  p-pagination {
2
2
  @apply flex;
3
- } .static{position:static!important}*{box-sizing:border-box}
3
+ } .static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
@@ -1,7 +1,11 @@
1
1
  module.exports = {
2
- 1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',
3
- 2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',
4
- 3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',
5
- 4: ['0px 0.3125rem 1rem rgba(0,24,98, 0.08)', '0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)'],
6
- 5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',
2
+ 1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',
3
+ 2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',
4
+ 3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',
5
+ 4: [
6
+ '0px 0.3125rem 1rem rgba(0,24,98, 0.08)',
7
+ '0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)',
8
+ ],
9
+ 5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',
10
+ transparent: 'transparent',
7
11
  };
@@ -1,46 +1,46 @@
1
1
  /* paperless custom elements */
2
- export { Accordion as PAccordion } from '../types/components/p-accordion/p-accordion';
3
- export { Avatar as PAvatar } from '../types/components/p-avatar/p-avatar';
4
- export { AvatarGroup as PAvatarGroup } from '../types/components/p-avatar-group/p-avatar-group';
5
- export { Button as PButton } from '../types/components/p-button/p-button';
6
- export { CardBody as PCardBody } from '../types/components/p-card-body/p-card-body';
7
- export { CardContainer as PCardContainer } from '../types/components/p-card-container/p-card-container';
8
- export { CardHeader as PCardHeader } from '../types/components/p-card-header/p-card-header';
9
- export { ContentSlider as PContentSlider } from '../types/components/p-content-slider/p-content-slider';
10
- export { Counter as PCounter } from '../types/components/p-counter/p-counter';
11
- export { Divider as PDivider } from '../types/components/p-divider/p-divider';
12
- export { Dropdown as PDropdown } from '../types/components/p-dropdown/p-dropdown';
13
- export { DropdownMenuContainer as PDropdownMenuContainer } from '../types/components/p-dropdown-menu-container/p-dropdown-menu-container';
14
- export { DropdownMenuItem as PDropdownMenuItem } from '../types/components/p-dropdown-menu-item/p-dropdown-menu-item';
15
- export { Helper as PHelper } from '../types/components/p-helper/p-helper';
16
- export { Icon as PIcon } from '../types/components/p-icon/p-icon';
17
- export { Illustration as PIllustration } from '../types/components/p-illustration/p-illustration';
18
- export { InfoPanel as PInfoPanel } from '../types/components/p-info-panel/p-info-panel';
19
- export { InputGroup as PInputGroup } from '../types/components/p-input-group/p-input-group';
20
- export { Layout as PLayout } from '../types/components/p-layout/p-layout';
21
- export { Loader as PLoader } from '../types/components/p-loader/p-loader';
22
- export { Modal as PModal } from '../types/components/p-modal/p-modal';
23
- export { ModalBackdrop as PModalBackdrop } from '../types/components/p-modal-backdrop/p-modal-backdrop';
24
- export { ModalBody as PModalBody } from '../types/components/p-modal-body/p-modal-body';
25
- export { ModalContainer as PModalContainer } from '../types/components/p-modal-container/p-modal-container';
26
- export { ModalFooter as PModalFooter } from '../types/components/p-modal-footer/p-modal-footer';
27
- export { ModalHeader as PModalHeader } from '../types/components/p-modal-header/p-modal-header';
28
- export { Navbar as PNavbar } from '../types/components/p-navbar/p-navbar';
29
- export { NavigationItem as PNavigationItem } from '../types/components/p-navigation-item/p-navigation-item';
30
- export { Pagination as PPagination } from '../types/components/p-pagination/p-pagination';
31
- export { PaginationItem as PPaginationItem } from '../types/components/p-pagination-item/p-pagination-item';
32
- export { Profile as PProfile } from '../types/components/p-profile/p-profile';
33
- export { SegmentContainer as PSegmentContainer } from '../types/components/p-segment-container/p-segment-container';
34
- export { SegmentItem as PSegmentItem } from '../types/components/p-segment-item/p-segment-item';
35
- export { SliderIndicator as PSliderIndicator } from '../types/components/p-slider-indicator/p-slider-indicator';
36
- export { Status as PStatus } from '../types/components/p-status/p-status';
37
- export { Stepper as PStepper } from '../types/components/p-stepper/p-stepper';
38
- export { StepperItem as PStepperItem } from '../types/components/p-stepper-item/p-stepper-item';
39
- export { StepperLine as PStepperLine } from '../types/components/p-stepper-line/p-stepper-line';
40
- export { TabGroup as PTabGroup } from '../types/components/p-tab-group/p-tab-group';
41
- export { TabItem as PTabItem } from '../types/components/p-tab-item/p-tab-item';
42
- export { Tag as PTag } from '../types/components/p-tag/p-tag';
43
- export { Tooltip as PTooltip } from '../types/components/p-tooltip/p-tooltip';
2
+ export { Accordion as PAccordion } from '../types/components/molecules/accordion/accordion.component';
3
+ export { Avatar as PAvatar } from '../types/components/atoms/avatar/avatar.component';
4
+ export { AvatarGroup as PAvatarGroup } from '../types/components/atoms/avatar-group/avatar-group.component';
5
+ export { Button as PButton } from '../types/components/atoms/button/button.component';
6
+ export { CardBody as PCardBody } from '../types/components/atoms/card-body/card-body.component';
7
+ export { CardContainer as PCardContainer } from '../types/components/atoms/card-container/card-container.component';
8
+ export { CardHeader as PCardHeader } from '../types/components/atoms/card-header/card-header.component';
9
+ export { ContentSlider as PContentSlider } from '../types/components/molecules/content-slider/content-slider.component';
10
+ export { Counter as PCounter } from '../types/components/atoms/counter/counter.component';
11
+ export { Divider as PDivider } from '../types/components/atoms/divider/divider.component';
12
+ export { Dropdown as PDropdown } from '../types/components/molecules/dropdown/dropdown.component';
13
+ export { DropdownMenuContainer as PDropdownMenuContainer } from '../types/components/atoms/dropdown-menu-container/dropdown-menu-container.component';
14
+ export { DropdownMenuItem as PDropdownMenuItem } from '../types/components/atoms/dropdown-menu-item/dropdown-menu-item.component';
15
+ export { Helper as PHelper } from '../types/components/atoms/helper/helper.component';
16
+ export { Icon as PIcon } from '../types/components/atoms/icon/icon.component';
17
+ export { Illustration as PIllustration } from '../types/components/atoms/illustration/illustration.component';
18
+ export { InfoPanel as PInfoPanel } from '../types/components/atoms/info-panel/info-panel.component';
19
+ export { InputGroup as PInputGroup } from '../types/components/molecules/input-group/input-group.component';
20
+ export { Layout as PLayout } from '../types/components/atoms/layout/layout.component';
21
+ export { Loader as PLoader } from '../types/components/atoms/loader/loader.component';
22
+ export { Modal as PModal } from '../types/components/organisms/modal/modal.component';
23
+ export { ModalBackdrop as PModalBackdrop } from '../types/components/atoms/modal-backdrop/modal-backdrop.component';
24
+ export { ModalBody as PModalBody } from '../types/components/atoms/modal-body/modal-body.component';
25
+ export { ModalContainer as PModalContainer } from '../types/components/atoms/modal-container/modal-container.component';
26
+ export { ModalFooter as PModalFooter } from '../types/components/atoms/modal-footer/modal-footer.component';
27
+ export { ModalHeader as PModalHeader } from '../types/components/atoms/modal-header/modal-header.component';
28
+ export { Navbar as PNavbar } from '../types/components/organisms/navbar/navbar.component';
29
+ export { NavigationItem as PNavigationItem } from '../types/components/molecules/navigation-item/navigation-item.component';
30
+ export { Pagination as PPagination } from '../types/components/molecules/pagination/pagination.component';
31
+ export { PaginationItem as PPaginationItem } from '../types/components/atoms/pagination-item/pagination-item.component';
32
+ export { Profile as PProfile } from '../types/components/molecules/profile/profile.component';
33
+ export { SegmentContainer as PSegmentContainer } from '../types/components/atoms/segment-container/segment-container.component';
34
+ export { SegmentItem as PSegmentItem } from '../types/components/atoms/segment-item/segment-item.component';
35
+ export { SliderIndicator as PSliderIndicator } from '../types/components/atoms/slider-indicator/slider-indicator.component';
36
+ export { Status as PStatus } from '../types/components/atoms/status/status.component';
37
+ export { Stepper as PStepper } from '../types/components/molecules/stepper/stepper.component';
38
+ export { StepperItem as PStepperItem } from '../types/components/atoms/stepper-item/stepper-item.component';
39
+ export { StepperLine as PStepperLine } from '../types/components/atoms/stepper-line/stepper-line.component';
40
+ export { TabGroup as PTabGroup } from '../types/components/atoms/tab-group/tab-group.component';
41
+ export { TabItem as PTabItem } from '../types/components/atoms/tab-item/tab-item.component';
42
+ export { Tag as PTag } from '../types/components/atoms/tag/tag.component';
43
+ export { Tooltip as PTooltip } from '../types/components/atoms/tooltip/tooltip.component';
44
44
 
45
45
  /**
46
46
  * Used to manually set the base path where assets can be found.
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const cardContainerComponentCss = ".static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.shadow-4{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important}.shadow-4,.shadow-5{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow-5{--tw-shadow:0px 0.1875rem 1rem rgba(0,24,98,.3)!important;--tw-shadow-colored:0px 0.1875rem 1rem var(--tw-shadow-color)!important}.shadow-transparent{--tw-shadow-color:transparent!important;--tw-shadow:var(--tw-shadow-colored)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;width:100%}:host([hoverable]){cursor:pointer}:host([hoverable]:hover){--tw-shadow:0px 0.1875rem 1rem rgba(0,24,98,.3)!important;--tw-shadow-colored:0px 0.1875rem 1rem var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}:host([shadow=false]){--tw-shadow-color:transparent!important;--tw-shadow:var(--tw-shadow-colored)!important}";
3
+ const cardContainerComponentCss = ".static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.drop-shadow-4{--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13))!important}.drop-shadow-4,.drop-shadow-5{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-5{--tw-drop-shadow:drop-shadow(0px 0.1875rem 1rem rgba(0,24,98,.3))!important}.drop-shadow-transparent{--tw-drop-shadow:drop-shadow(transparent)!important}.drop-shadow-transparent,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13))!important;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;display:flex;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important;flex-direction:column;width:100%}:host([hoverable]){cursor:pointer}:host([hoverable]:hover){--tw-drop-shadow:drop-shadow(0px 0.1875rem 1rem rgba(0,24,98,.3))!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}:host([shadow=false]){--tw-drop-shadow:drop-shadow(transparent)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
4
4
 
5
5
  const CardContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$2 } from './icon.component.js';
3
3
 
4
- const cardHeaderComponentCss = ".static{position:static!important}.mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.gap-3{gap:.75rem!important}.border-b{border-bottom-width:1px!important}.border-b-mystic-medium{--tw-border-opacity:1!important;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}*{box-sizing:border-box}p-card-header{--tw-text-opacity:1;--tw-border-opacity:1!important;align-items:center;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important;border-bottom-width:1px!important;color:rgb(128 130 158/var(--tw-text-opacity));display:flex;gap:.75rem;margin-left:1.5rem;margin-right:1.5rem;padding-bottom:.75rem;padding-top:.75rem}p-card-header .title{align-items:center;display:flex;font-weight:600}p-card-header .title>p-icon{--tw-text-opacity:1;color:rgb(218 230 240/var(--tw-text-opacity));margin-left:.5rem}p-card-container.has-hover:hover p-card-header .title>p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}";
4
+ const cardHeaderComponentCss = ".static{position:static!important}.mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-center{align-items:center!important}.gap-3{gap:.75rem!important}.border-b{border-bottom-width:1px!important}.border-b-mystic-medium{--tw-border-opacity:1!important;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}*{box-sizing:border-box}p-card-header{--tw-text-opacity:1;--tw-border-opacity:1!important;align-items:center;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important;border-bottom-width:1px!important;color:rgb(128 130 158/var(--tw-text-opacity));display:flex;gap:.75rem;margin-left:1.5rem;margin-right:1.5rem;padding-bottom:.75rem;padding-top:.75rem}p-card-header .title{--tw-text-opacity:1;align-items:center;color:rgb(81 83 107/var(--tw-text-opacity));display:flex;font-weight:600}p-card-header .title>p-icon{--tw-text-opacity:1;color:rgb(218 230 240/var(--tw-text-opacity));margin-left:.5rem}p-card-container.has-hover:hover p-card-header .title>p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}";
5
5
 
6
6
  const CardHeader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$2 } from './slider-indicator.component.js';
3
3
 
4
- const contentSliderComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.flex-shrink-0{flex-shrink:0!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.gap-2{gap:.5rem!important}.overflow-auto{overflow:auto!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;gap:1rem;margin-left:-1rem;margin-right:-1rem;overflow:hidden}@media (min-width:64rem){:host{margin-left:0;margin-right:0}}:host .content{display:flex;flex-wrap:nowrap;gap:.5rem;overflow:auto;padding-left:1rem;padding-right:1rem}@media (min-width:40rem){:host .content{gap:1rem}}@media (min-width:64rem){:host .content{flex-wrap:wrap;padding-left:0;padding-right:0}}:host .content>::slotted(*){flex-shrink:0;width:100%}@media (min-width:40rem){:host .content>::slotted(*){width:45%}}@media (min-width:64rem){:host .content>::slotted(*){flex:1 1 0%;width:100%}}:host .indicator{align-items:center;display:flex;gap:.5rem;justify-content:center}@media (min-width:64rem){:host .indicator{display:none}}@media (min-width:40rem){.tablet\\:w-\\[45\\%\\]{width:45%!important}.tablet\\:gap-4{gap:1rem!important}}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}}";
4
+ const contentSliderComponentCss = ".pointer-events-none{pointer-events:none!important}.visible{visibility:visible!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.flex-shrink-0{flex-shrink:0!important}.cursor-grab{cursor:-webkit-grab!important;cursor:grab!important}.cursor-grabbing{cursor:-webkit-grabbing!important;cursor:grabbing!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.gap-2{gap:.5rem!important}.overflow-visible{overflow:visible!important}.p-10{padding:2.5rem!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;gap:1rem;margin:-2.5rem;overflow:hidden;padding:2.5rem}:host .slider{box-sizing:content-box;overflow:visible;position:relative}:host .slider.draggable{cursor:-webkit-grab;cursor:grab}@media (min-width:64rem){:host .slider.draggable{cursor:default}}:host .slider.draggable.dragging{cursor:-webkit-grabbing;cursor:grabbing}@media (min-width:64rem){:host .slider.draggable.dragging{cursor:default}}:host .slider .inner-slider{align-items:stretch;display:flex;flex-wrap:nowrap;gap:.5rem;pointer-events:none;position:absolute;width:100%}@media (min-width:40rem){:host .slider .inner-slider{gap:1rem}}@media (min-width:64rem){:host .slider .inner-slider{flex-wrap:wrap}}:host .slider .inner-slider>::slotted(*){flex-shrink:0;position:relative;width:100%;z-index:10}@media (min-width:40rem){:host .slider .inner-slider>::slotted(*){width:45%}}@media (min-width:64rem){:host .slider .inner-slider>::slotted(*){flex:1 1 0%;width:100%}}:host .indicator{align-items:center;display:flex;gap:.5rem;justify-content:center}@media (min-width:64rem){:host .indicator{display:none}}@media (min-width:40rem){.tablet\\:w-\\[45\\%\\]{width:45%!important}.tablet\\:gap-4{gap:1rem!important}}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}}";
5
5
 
6
6
  const ContentSlider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() {
@@ -12,17 +12,37 @@ const ContentSlider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
12
12
  * Wether to hide the indicator on mobile
13
13
  */
14
14
  this.hideMobileIndicator = false;
15
+ /**
16
+ * Wether to disable dragging the content
17
+ */
18
+ this.disableDrag = false;
19
+ /**
20
+ * Wether to disable clicking the indicator scrolls content
21
+ */
22
+ this.disableIndicatorClick = false;
23
+ this._outerHeight = 0;
24
+ this._totalWidth = 0;
15
25
  this._items = [];
26
+ this._dragging = false;
16
27
  }
17
28
  componentWillRender() {
18
29
  const items = this._el.querySelectorAll(':scope > *');
19
30
  this._items = Array.from(items);
20
31
  }
32
+ componentDidRender() {
33
+ const outerHeight = this._items.at(0).getBoundingClientRect().height;
34
+ if (outerHeight != this._outerHeight) {
35
+ this._outerHeight = outerHeight;
36
+ }
37
+ }
21
38
  componentDidLoad() {
39
+ this._calculateWidth();
22
40
  this._calculateIndicator();
23
41
  }
24
42
  render() {
25
- return (h(Host, { class: "p-content-slider" }, h("div", { class: "content", ref: (el) => (this._contentRef = el), onScroll: () => this._handleScroll() }, h("slot", null)), h("div", { class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("p-slider-indicator", { active: i === this._visibleIndex }))))));
43
+ return (h(Host, { class: "p-content-slider" }, h("div", { class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
44
+ height: `${this._outerHeight}px`,
45
+ }, ref: (el) => (this._sliderRef = el), onScroll: () => this._handleScroll(), onMouseDown: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e) }, h("div", { class: "inner-slider", ref: (ref) => (this._innerSliderRef = ref) }, h("slot", null))), h("div", { class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("p-slider-indicator", { class: !this.disableIndicatorClick && 'cursor-pointer', onClick: () => this._scrollTo(i), active: i === this._visibleIndex }))))));
26
46
  }
27
47
  _handleScroll() {
28
48
  if (this._scrollHandlerTimeout) {
@@ -30,6 +50,41 @@ const ContentSlider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
30
50
  }
31
51
  this._scrollHandlerTimeout = setTimeout(() => this._calculateIndicator(), 200);
32
52
  }
53
+ _mouseDownHandler(e) {
54
+ if (this.disableDrag || this._dragging) {
55
+ return;
56
+ }
57
+ this._startX = e.offsetX - this._innerSliderRef.offsetLeft;
58
+ this._dragging = true;
59
+ }
60
+ _mouseMoveHandler(e) {
61
+ if (!e || !this._dragging || this.disableDrag) {
62
+ return;
63
+ }
64
+ e.preventDefault();
65
+ const x = e.offsetX;
66
+ this._innerSliderRef.style.left = `${x - this._startX}px`;
67
+ this._checkBoundary();
68
+ this._calculateIndicator();
69
+ }
70
+ _checkBoundary() {
71
+ let outer = this._sliderRef.getBoundingClientRect();
72
+ if (parseInt(this._innerSliderRef.style.left) > 0) {
73
+ this._innerSliderRef.style.left = '0px';
74
+ }
75
+ const maxLeft = (this._totalWidth - outer.width) * -1;
76
+ if (parseInt(this._innerSliderRef.style.left) < maxLeft) {
77
+ this._innerSliderRef.style.left = `${maxLeft}px`;
78
+ }
79
+ }
80
+ mouseUpHandler() {
81
+ this._dragging = false;
82
+ }
83
+ resizeHandler() {
84
+ this._innerSliderRef.style.left = '0px';
85
+ this._calculateWidth();
86
+ this._calculateIndicator();
87
+ }
33
88
  _calculateIndicator() {
34
89
  for (let i = 0; i < this._items.length; i++) {
35
90
  const item = this._items[i];
@@ -41,23 +96,56 @@ const ContentSlider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
41
96
  break;
42
97
  }
43
98
  }
44
- console.log(this._visibleIndex);
45
99
  }
46
100
  _isVisible(el) {
47
- if (!this._contentRef || !el) {
101
+ if (!this._el || !el) {
48
102
  return false;
49
103
  }
50
104
  const elRect = el.getBoundingClientRect();
51
- const containerRect = this._el.getBoundingClientRect();
52
- return (elRect.left > containerRect.left &&
53
- elRect.right < containerRect.right);
105
+ const sliderRect = this._sliderRef.getBoundingClientRect();
106
+ return (elRect.left >= sliderRect.left && elRect.right <= sliderRect.right);
107
+ }
108
+ _scrollTo(i) {
109
+ if (this.disableIndicatorClick) {
110
+ return;
111
+ }
112
+ const el = this._items[i];
113
+ if (i === 0) {
114
+ this._innerSliderRef.style.left = '0px';
115
+ this._calculateIndicator();
116
+ return;
117
+ }
118
+ const sliderRect = this._sliderRef.getBoundingClientRect();
119
+ const elRect = el.getBoundingClientRect();
120
+ const centerOffset = el.offsetLeft + elRect.width / 2 - sliderRect.width / 2;
121
+ this._innerSliderRef.style.left = `-${centerOffset}px`;
122
+ this._checkBoundary();
123
+ this._calculateIndicator();
124
+ }
125
+ _calculateWidth() {
126
+ let totalWidth = 0;
127
+ for (let item of this._items) {
128
+ const rect = item.getBoundingClientRect();
129
+ totalWidth += rect.width;
130
+ }
131
+ const sliderStyle = getComputedStyle(this._sliderRef);
132
+ const padding = parseInt(sliderStyle.padding) * 2;
133
+ const innerSliderStyle = getComputedStyle(this._innerSliderRef);
134
+ const gap = parseInt(innerSliderStyle.gap) * (this._items.length - 1);
135
+ totalWidth += padding + gap;
136
+ this._totalWidth = totalWidth;
54
137
  }
55
138
  get _el() { return this; }
56
139
  static get style() { return contentSliderComponentCss; }
57
140
  }, [1, "p-content-slider", {
58
141
  "hideMobileIndicator": [4, "hide-mobile-indicator"],
59
- "_visibleIndex": [32]
60
- }]);
142
+ "disableDrag": [4, "disable-drag"],
143
+ "disableIndicatorClick": [4, "disable-indicator-click"],
144
+ "_visibleIndex": [32],
145
+ "_outerHeight": [32],
146
+ "_totalWidth": [32],
147
+ "_dragging": [32]
148
+ }, [[9, "mouseup", "mouseUpHandler"], [9, "resize", "resizeHandler"]]]);
61
149
  function defineCustomElement$1() {
62
150
  if (typeof customElements === "undefined") {
63
151
  return;
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const layoutComponentCss = ".relative{position:relative!important}.sticky{position:-webkit-sticky!important;position:sticky!important}.order-2{order:2!important}.order-1{order:1!important}.order-3{order:3!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-screen{height:100vh!important}.h-full{height:100%!important}.w-screen{width:100vw!important}.w-full,.w-sidebar-mobile{width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.content-start{align-content:flex-start!important}.items-center{align-items:center!important}.px-content-mobile-x{padding-left:1rem!important;padding-right:1rem!important}.pt-14{padding-top:3.5rem!important}*{box-sizing:border-box}:host{align-content:flex-start;display:grid;gap:0;grid-template-areas:\"topbar\" \"sidebar\" \"content\";grid-template-columns:1fr;grid-template-rows:repeat(1fr,3);height:100vh;overflow:hidden;width:100vw}@media (min-width:64rem){:host{grid-template-areas:\"topbar topbar\" \"sidebar content\";grid-template-columns:auto 1fr;grid-template-rows:auto 1fr}}:host .content,:host .sidebar,:host .topbar{align-self:flex-start}:host .topbar{grid-area:topbar;order:2;position:-webkit-sticky;position:sticky;width:100%}@media (min-width:80rem){:host .topbar{order:1}}:host .sidebar{box-sizing:border-box;display:flex;grid-area:sidebar;height:100%;order:1;width:100%}@media (min-width:80rem){:host .sidebar{order:2;width:15rem}}:host .content{display:flex;flex-direction:column;grid-area:content;height:100%;order:3;overflow-y:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);position:relative}:host .content .inner-content{padding:1.5rem 1rem;position:relative}@media (min-width:80rem){:host .content .inner-content{padding:2rem;width:60rem}}@media (min-width:64rem){:host .content .inner-content{width:45rem}}@media (min-width:85.375rem){:host .content .inner-content{width:65rem}}@media (min-width:90rem){:host .content .inner-content{width:65rem}}@media (min-width:120rem){:host .content .inner-content{width:70rem}}:host(.variant-default) .content{flex:1 1 0%}:host(.variant-login){grid-template-areas:\"topbar topbar\" \"content content\"}@media (min-width:64rem){:host(.variant-login){grid-template-areas:\"topbar topbar\" \"content sidebar\"}}:host(.variant-login) .sidebar{display:none;flex:1 1 0%;order:3;overflow:hidden;padding:.5rem;width:unset}@media (min-width:64rem){:host(.variant-login) .sidebar{display:flex}}:host(.variant-login) .sidebar .inner-content{padding:.5rem}:host(.variant-login) .content{align-items:center;order:3}@media (min-width:64rem){:host(.variant-login) .content{justify-content:center;order:2}}:host(.variant-login) .content .inner-content{box-sizing:border-box;padding-top:3.5rem;width:100%}@media (min-width:64rem){:host(.variant-login) .content .inner-content{padding:1.5rem 4.5rem 0}}@media (min-width:40rem){:host(.variant-login) .content .inner-content{width:30rem}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:w-content-desktop-xs{width:45rem!important}.desktop-xs\\:py-0{padding-bottom:0!important;padding-top:0!important}}@media (min-width:80rem){.desktop-sm\\:w-content-desktop-sm{width:60rem!important}.desktop-sm\\:px-content-desktop-x{padding-left:2rem!important;padding-right:2rem!important}}@media (min-width:85.375rem){.desktop\\:w-content-desktop{width:65rem!important}}@media (min-width:90rem){.desktop-lg\\:w-content-desktop-lg{width:65rem!important}}";
3
+ const layoutComponentCss = ".static{position:static!important}.relative{position:relative!important}.sticky{position:-webkit-sticky!important;position:sticky!important}.order-2{order:2!important}.order-1{order:1!important}.order-3{order:3!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-screen{height:100vh!important}.h-full{height:100%!important}.w-screen{width:100vw!important}.w-full,.w-sidebar-mobile{width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.content-start{align-content:flex-start!important}.items-center{align-items:center!important}.px-content-mobile-x{padding-left:1rem!important;padding-right:1rem!important}.pt-14{padding-top:3.5rem!important}*{box-sizing:border-box}:host{align-content:flex-start;display:grid;gap:0;grid-template-areas:\"topbar\" \"sidebar\" \"content\";grid-template-columns:1fr;grid-template-rows:repeat(1fr,3);height:100vh;overflow:hidden;width:100vw}@media (min-width:64rem){:host{grid-template-areas:\"topbar topbar\" \"sidebar content\";grid-template-columns:auto 1fr;grid-template-rows:auto 1fr}}:host .content,:host .sidebar,:host .topbar{align-self:flex-start}:host .topbar{grid-area:topbar;order:2;position:-webkit-sticky;position:sticky;width:100%}@media (min-width:80rem){:host .topbar{order:1}}:host .sidebar{box-sizing:border-box;display:flex;grid-area:sidebar;height:100%;order:1;width:100%}@media (min-width:80rem){:host .sidebar{order:2;width:15rem}}:host .content{display:flex;flex-direction:column;grid-area:content;height:100%;order:3;overflow-y:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);position:relative}:host .content .inner-content{padding:1.5rem 1rem;position:relative}@media (min-width:80rem){:host .content .inner-content{padding:2rem;width:60rem}}@media (min-width:64rem){:host .content .inner-content{width:45rem}}@media (min-width:85.375rem){:host .content .inner-content{width:65rem}}@media (min-width:90rem){:host .content .inner-content{width:65rem}}@media (min-width:120rem){:host .content .inner-content{width:70rem}}:host(.variant-default) .content{flex:1 1 0%}:host(.variant-login){grid-template-areas:\"topbar topbar\" \"content content\"}@media (min-width:64rem){:host(.variant-login){grid-template-areas:\"topbar topbar\" \"content sidebar\"}}:host(.variant-login) .sidebar{display:none;flex:1 1 0%;order:3;overflow:hidden;padding:.5rem;width:unset}@media (min-width:64rem){:host(.variant-login) .sidebar{display:flex}}:host(.variant-login) .sidebar .inner-content{padding:.5rem}:host(.variant-login) .content{align-items:center;order:3}@media (min-width:64rem){:host(.variant-login) .content{justify-content:center;order:2}}:host(.variant-login) .content .inner-content{box-sizing:border-box;padding-top:3.5rem;width:100%}@media (min-width:64rem){:host(.variant-login) .content .inner-content{padding:1.5rem 4.5rem 0}}@media (min-width:40rem){:host(.variant-login) .content .inner-content{width:30rem}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:w-content-desktop-xs{width:45rem!important}.desktop-xs\\:py-0{padding-bottom:0!important;padding-top:0!important}}@media (min-width:80rem){.desktop-sm\\:w-content-desktop-sm{width:60rem!important}.desktop-sm\\:px-content-desktop-x{padding-left:2rem!important;padding-right:2rem!important}}@media (min-width:85.375rem){.desktop\\:w-content-desktop{width:65rem!important}}@media (min-width:90rem){.desktop-lg\\:w-content-desktop-lg{width:65rem!important}}";
4
4
 
5
5
  const Layout = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const sliderIndicatorComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.block{display:block!important}.hidden{display:none!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}";
3
+ const sliderIndicatorComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.block{display:block!important}.hidden{display:none!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}";
4
4
 
5
5
  const SliderIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {