@sankhyalabs/ezui 7.2.0-dev.2 → 7.2.0-dev.20

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 (259) hide show
  1. package/dist/cjs/{ApplicationUtils-006ca96f.js → ApplicationUtils-88dfe345.js} +1 -1
  2. package/dist/cjs/{app-globals-5cb12916.js → app-globals-c1d07d68.js} +1 -1
  3. package/dist/cjs/classic-search-list_7.cjs.entry.js +9 -4
  4. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -2
  5. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +2 -1
  9. package/dist/cjs/ez-classic-date-input.cjs.entry.js +2 -2
  10. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-classic-input.cjs.entry.js +49 -3
  12. package/dist/cjs/ez-classic-number-input.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +26 -13
  14. package/dist/cjs/ez-classic-search.cjs.entry.js +2 -2
  15. package/dist/cjs/ez-classic-time-input.cjs.entry.js +4 -3
  16. package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
  17. package/dist/cjs/ez-combo-box.cjs.entry.js +2 -2
  18. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-form.cjs.entry.js +3 -3
  27. package/dist/cjs/ez-grid-pagination.cjs.entry.js +227 -0
  28. package/dist/cjs/ez-grid.cjs.entry.js +45 -162
  29. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-popover-core.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-popup.cjs.entry.js +4 -4
  40. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  41. package/dist/cjs/ez-scroller_2.cjs.entry.js +81 -14
  42. package/dist/cjs/ez-search-plus.cjs.entry.js +13 -4
  43. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-search.cjs.entry.js +3 -3
  45. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
  48. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-split-button.cjs.entry.js +4 -4
  50. package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
  51. package/dist/cjs/ez-text-input.cjs.entry.js +21 -15
  52. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  56. package/dist/cjs/ezui.cjs.js +3 -3
  57. package/dist/cjs/filter-column.cjs.entry.js +2 -1
  58. package/dist/cjs/{floating-ui.dom.esm-f4d87617.js → floating-ui.dom.esm-bea31048.js} +165 -119
  59. package/dist/cjs/{index-350d0fa0.js → index-9739c242.js} +91 -30
  60. package/dist/cjs/index-a7b0c73d.js +8 -0
  61. package/dist/cjs/loader.cjs.js +3 -3
  62. package/dist/cjs/{search-column-fbf680d7.js → search-column-6e90fb19.js} +18 -9
  63. package/dist/collection/collection-manifest.json +7 -0
  64. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +2 -1
  65. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +1 -1
  66. package/dist/collection/components/ez-classic-input/ez-classic-input.js +47 -2
  67. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +2 -1
  68. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +22 -0
  69. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +26 -11
  70. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +3 -2
  71. package/dist/collection/components/ez-dropdown/ez-dropdown.css +1 -1
  72. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  73. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +25 -14
  74. package/dist/collection/components/ez-grid/ez-grid.css +1 -60
  75. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  76. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +1 -0
  77. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +111 -0
  78. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +410 -0
  79. package/dist/collection/components/ez-icon/ez-icon.css +1152 -1145
  80. package/dist/collection/components/ez-image-input/ez-image-input.css +24 -8
  81. package/dist/collection/components/ez-image-input/ez-image-input.js +6 -1
  82. package/dist/collection/components/ez-popup/ez-popup.js +3 -3
  83. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  84. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  85. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  86. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  87. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  88. package/dist/collection/components/ez-search/ez-search.css +4 -0
  89. package/dist/collection/components/ez-search-plus/ez-search-plus.js +11 -2
  90. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  91. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  92. package/dist/collection/components/ez-split-button/ez-split-button.js +2 -2
  93. package/dist/collection/components/ez-text-input/ez-text-input.js +21 -15
  94. package/dist/collection/utils/i18n/locales/en-us.js +27 -4
  95. package/dist/collection/utils/i18n/locales/es-es.js +27 -4
  96. package/dist/collection/utils/i18n/locales/pt-br.js +27 -4
  97. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +14 -2
  98. package/dist/collection/utils/searchColumn/search-column.js +2 -5
  99. package/dist/custom-elements/index.d.ts +12 -0
  100. package/dist/custom-elements/index.js +856 -371
  101. package/dist/esm/{ApplicationUtils-0c5cb207.js → ApplicationUtils-f7721533.js} +1 -1
  102. package/dist/esm/{app-globals-1db10325.js → app-globals-6e258867.js} +1 -1
  103. package/dist/esm/classic-search-list_7.entry.js +9 -4
  104. package/dist/esm/ez-actions-button.entry.js +2 -2
  105. package/dist/esm/ez-alert-list.entry.js +1 -1
  106. package/dist/esm/ez-avatar.entry.js +1 -1
  107. package/dist/esm/ez-calendar.entry.js +1 -1
  108. package/dist/esm/ez-classic-combo-box.entry.js +2 -1
  109. package/dist/esm/ez-classic-date-input.entry.js +2 -2
  110. package/dist/esm/ez-classic-date-time-input.entry.js +1 -1
  111. package/dist/esm/ez-classic-input.entry.js +49 -3
  112. package/dist/esm/ez-classic-number-input.entry.js +1 -1
  113. package/dist/esm/ez-classic-search-plus.entry.js +26 -13
  114. package/dist/esm/ez-classic-search.entry.js +2 -2
  115. package/dist/esm/ez-classic-time-input.entry.js +4 -3
  116. package/dist/esm/ez-collapsible-box.entry.js +2 -2
  117. package/dist/esm/ez-combo-box.entry.js +2 -2
  118. package/dist/esm/ez-date-input.entry.js +1 -1
  119. package/dist/esm/ez-date-time-input.entry.js +1 -1
  120. package/dist/esm/ez-dialog.entry.js +1 -1
  121. package/dist/esm/ez-double-list.entry.js +1 -1
  122. package/dist/esm/ez-dropdown.entry.js +1 -1
  123. package/dist/esm/ez-empty-card.entry.js +1 -1
  124. package/dist/esm/ez-file-item.entry.js +1 -1
  125. package/dist/esm/ez-form-view.entry.js +1 -1
  126. package/dist/esm/ez-form.entry.js +3 -3
  127. package/dist/esm/ez-grid-pagination.entry.js +223 -0
  128. package/dist/esm/ez-grid.entry.js +46 -163
  129. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  130. package/dist/esm/ez-icon.entry.js +1 -1
  131. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  132. package/dist/esm/ez-list.entry.js +1 -1
  133. package/dist/esm/ez-modal-container.entry.js +1 -1
  134. package/dist/esm/ez-modal.entry.js +1 -1
  135. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  136. package/dist/esm/ez-number-input.entry.js +1 -1
  137. package/dist/esm/ez-pagination.entry.js +1 -1
  138. package/dist/esm/ez-popover-core.entry.js +1 -1
  139. package/dist/esm/ez-popup.entry.js +4 -4
  140. package/dist/esm/ez-record-navigation.entry.js +117 -0
  141. package/dist/esm/ez-scroller_2.entry.js +81 -14
  142. package/dist/esm/ez-search-plus.entry.js +13 -4
  143. package/dist/esm/ez-search-result-list.entry.js +1 -1
  144. package/dist/esm/ez-search.entry.js +3 -3
  145. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  146. package/dist/esm/ez-skeleton.entry.js +1 -1
  147. package/dist/esm/ez-sortable-list.entry.js +2 -2
  148. package/dist/esm/ez-spinner.entry.js +1 -1
  149. package/dist/esm/ez-split-button.entry.js +4 -4
  150. package/dist/esm/ez-split-item.entry.js +2 -2
  151. package/dist/esm/ez-text-input.entry.js +21 -15
  152. package/dist/esm/ez-time-input.entry.js +1 -1
  153. package/dist/esm/ez-tooltip.entry.js +1 -1
  154. package/dist/esm/ez-tree.entry.js +1 -1
  155. package/dist/esm/ez-upload.entry.js +2 -2
  156. package/dist/esm/ezui.js +3 -3
  157. package/dist/esm/filter-column.entry.js +2 -1
  158. package/dist/esm/{floating-ui.dom.esm-ad30f2f0.js → floating-ui.dom.esm-2964eae1.js} +165 -119
  159. package/dist/esm/{index-225aa0c3.js → index-9e6dab5b.js} +91 -30
  160. package/dist/esm/index-baa5e267.js +8 -0
  161. package/dist/esm/loader.js +3 -3
  162. package/dist/esm/{search-column-40a78cac.js → search-column-7d7f0331.js} +18 -9
  163. package/dist/ezui/ezui.esm.js +1 -1
  164. package/dist/ezui/p-0592535f.entry.js +1 -0
  165. package/dist/ezui/{p-544605c4.entry.js → p-063bb342.entry.js} +1 -1
  166. package/dist/ezui/{p-c56ee8c0.entry.js → p-0ac8bd66.entry.js} +1 -1
  167. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  168. package/dist/ezui/{p-729bd1be.entry.js → p-108503ed.entry.js} +1 -1
  169. package/dist/ezui/{p-e3cd5080.entry.js → p-1166b2d5.entry.js} +1 -1
  170. package/dist/ezui/p-15873627.js +1 -0
  171. package/dist/ezui/p-178cb9df.entry.js +1 -0
  172. package/dist/ezui/p-1d253dd5.entry.js +1 -0
  173. package/dist/ezui/p-2856c545.entry.js +1 -0
  174. package/dist/ezui/{p-bea06aae.entry.js → p-28601589.entry.js} +46 -46
  175. package/dist/ezui/{p-df802548.entry.js → p-2ae127bc.entry.js} +1 -1
  176. package/dist/ezui/{p-556bf329.entry.js → p-2ebd7383.entry.js} +1 -1
  177. package/dist/ezui/{p-b36475f9.entry.js → p-30c5f48a.entry.js} +1 -1
  178. package/dist/ezui/{p-62c149cb.entry.js → p-3fae7072.entry.js} +1 -1
  179. package/dist/ezui/p-42e1e733.js +1 -0
  180. package/dist/ezui/{p-4e869617.entry.js → p-45245c32.entry.js} +1 -1
  181. package/dist/ezui/{p-a872c642.entry.js → p-46b1b2ac.entry.js} +1 -1
  182. package/dist/ezui/{p-5abb220b.entry.js → p-54af1af0.entry.js} +1 -1
  183. package/dist/ezui/p-55434123.entry.js +1 -0
  184. package/dist/ezui/{p-a4351519.entry.js → p-66455069.entry.js} +1 -1
  185. package/dist/ezui/p-6791d05f.entry.js +1 -0
  186. package/dist/ezui/p-72e77b45.entry.js +1 -0
  187. package/dist/ezui/{p-7edc3ef7.entry.js → p-73461028.entry.js} +1 -1
  188. package/dist/ezui/{p-f5552540.entry.js → p-7424d520.entry.js} +1 -1
  189. package/dist/ezui/{p-b705b342.entry.js → p-7a07c50f.entry.js} +1 -1
  190. package/dist/ezui/p-7b078125.entry.js +1 -0
  191. package/dist/ezui/{p-d5dc6b01.entry.js → p-7dad8018.entry.js} +1 -1
  192. package/dist/ezui/{p-b0a716ef.entry.js → p-881abc22.entry.js} +1 -1
  193. package/dist/ezui/{p-7953ecb9.entry.js → p-97fe3252.entry.js} +1 -1
  194. package/dist/ezui/{p-7134726a.entry.js → p-99556756.entry.js} +1 -1
  195. package/dist/ezui/{p-97312709.entry.js → p-9bd78d39.entry.js} +1 -1
  196. package/dist/ezui/{p-351fb12f.entry.js → p-a4735a12.entry.js} +1 -1
  197. package/dist/ezui/{p-9825c1d2.js → p-ad5e263d.js} +1 -1
  198. package/dist/ezui/{p-26cd4c2e.entry.js → p-b06294c9.entry.js} +1 -1
  199. package/dist/ezui/{p-2da9faf1.entry.js → p-b8cd501a.entry.js} +1 -1
  200. package/dist/ezui/{p-bf2a7f94.entry.js → p-b986da95.entry.js} +2 -2
  201. package/dist/ezui/{p-4c2a4435.entry.js → p-c25a4d30.entry.js} +1 -1
  202. package/dist/ezui/{p-4f7ad3ee.entry.js → p-c37fb359.entry.js} +1 -1
  203. package/dist/ezui/{p-e2972977.entry.js → p-cb00863d.entry.js} +1 -1
  204. package/dist/ezui/{p-4d30b703.entry.js → p-cf66ace0.entry.js} +1 -1
  205. package/dist/ezui/{p-e493ad57.entry.js → p-cfe41b07.entry.js} +1 -1
  206. package/dist/ezui/p-d2601b25.js +1 -0
  207. package/dist/ezui/{p-e3a42f47.entry.js → p-d5684cdc.entry.js} +1 -1
  208. package/dist/ezui/{p-6ac056d7.entry.js → p-d70805e4.entry.js} +1 -1
  209. package/dist/ezui/{p-a3bad8f8.entry.js → p-d75f583b.entry.js} +1 -1
  210. package/dist/ezui/p-d8b69419.entry.js +1 -0
  211. package/dist/ezui/p-df6173c8.entry.js +1 -0
  212. package/dist/ezui/{p-56565777.entry.js → p-dfced8c7.entry.js} +1 -1
  213. package/dist/ezui/{p-0248846f.entry.js → p-e3d6b544.entry.js} +1 -1
  214. package/dist/ezui/p-e63a0479.js +1 -0
  215. package/dist/ezui/{p-4c76b365.entry.js → p-e692c2a7.entry.js} +1 -1
  216. package/dist/ezui/{p-8e5f1c74.entry.js → p-e8cd003b.entry.js} +1 -1
  217. package/dist/ezui/p-ed790867.entry.js +1 -0
  218. package/dist/ezui/p-f2e0acf5.entry.js +1 -0
  219. package/dist/ezui/{p-34d459e4.entry.js → p-f498f6b5.entry.js} +1 -1
  220. package/dist/ezui/{p-4af745e1.entry.js → p-fb27b98d.entry.js} +1 -1
  221. package/dist/ezui/{p-987185c4.entry.js → p-fc11f5b9.entry.js} +1 -1
  222. package/dist/ezui/{p-ef8bd3e8.entry.js → p-fc72aeb8.entry.js} +1 -1
  223. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +6 -0
  224. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +3 -0
  225. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  226. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
  227. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  228. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +75 -0
  229. package/dist/types/components/ez-image-input/ez-image-input.d.ts +1 -0
  230. package/dist/types/components/ez-popup/ez-popup.d.ts +1 -0
  231. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  232. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  233. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  234. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +1 -0
  235. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
  236. package/dist/types/components.d.ts +154 -6
  237. package/dist/types/utils/i18n/locales/en-us.d.ts +26 -3
  238. package/dist/types/utils/i18n/locales/es-es.d.ts +26 -3
  239. package/dist/types/utils/i18n/locales/pt-br.d.ts +26 -3
  240. package/dist/types/utils/i18n/translations.d.ts +78 -9
  241. package/package.json +5 -5
  242. package/react/components.d.ts +2 -0
  243. package/react/components.js +2 -0
  244. package/react/components.js.map +1 -1
  245. package/dist/ezui/p-0625743b.entry.js +0 -1
  246. package/dist/ezui/p-07fb22c3.entry.js +0 -1
  247. package/dist/ezui/p-288631d1.entry.js +0 -1
  248. package/dist/ezui/p-2a806303.js +0 -1
  249. package/dist/ezui/p-2de94faf.entry.js +0 -1
  250. package/dist/ezui/p-44183c39.entry.js +0 -1
  251. package/dist/ezui/p-619225ce.entry.js +0 -1
  252. package/dist/ezui/p-6a794336.js +0 -1
  253. package/dist/ezui/p-a0f51b99.entry.js +0 -1
  254. package/dist/ezui/p-a813a748.entry.js +0 -1
  255. package/dist/ezui/p-c0ae79fa.entry.js +0 -1
  256. package/dist/ezui/p-c178730b.js +0 -1
  257. package/dist/ezui/p-d2645bdf.entry.js +0 -1
  258. package/dist/ezui/p-f969b65d.entry.js +0 -1
  259. package/dist/ezui/p-ff4312d5.js +0 -1
@@ -123,7 +123,22 @@
123
123
  border-radius: calc(var(--ez-image-input--border-radius) - var(--ez-image-input--border-width));
124
124
  }
125
125
 
126
- ez-button {
126
+ .image-input__actions {
127
+ position: absolute;
128
+ top: var(--space--8);
129
+ right: var(--space--8);
130
+ display: flex;
131
+ flex-direction: column;
132
+ gap: var(--space--4);
133
+ opacity: 0;
134
+ transition: opacity 0.2s ease;
135
+ }
136
+
137
+ .image-input__container:hover .image-input__actions {
138
+ opacity: 1;
139
+ }
140
+
141
+ .image-input__remove-button {
127
142
  --ez-button--background-color: var(--ez-image-input--remove-button-bg);
128
143
  --ez-button--hover--background-color: var(--ez-image-input--remove-button-bg-hover);
129
144
  --ez-button--color: var(--ez-image-input--remove-button-color);
@@ -131,13 +146,14 @@ ez-button {
131
146
  --ez-button--hover--border: var(--ez-image-input--remove-button-border);
132
147
  }
133
148
 
134
- .image-input__remove-button {
135
- position: absolute;
136
- top: var(--space--8);
137
- right: var(--space--8);
138
- display: flex;
139
- align-items: center;
140
- justify-content: center;
149
+ .image-input__edit-button {
150
+ --ez-button--background-color: var(--ez-image-input--edit-button-bg);
151
+ --ez-button--hover--background-color: var(--ez-image-input--edit-button-bg-hover);
152
+ --ez-button--color: var(--ez-image-input--edit-button-color);
153
+ --ez-button--border: var(--ez-image-input--edit-button-border);
154
+ --ez-button--hover--border: var(--ez-image-input--edit-button-border);
155
+ --ez-button--left-icon--color: var(--ez-image-input--edit-button-color);
156
+ --ez-button--right-icon--color: var(--ez-image-input--edit-button-color);
141
157
  }
142
158
 
143
159
  .image-input__popup-content {
@@ -42,6 +42,11 @@ export class EzImageInput {
42
42
  }
43
43
  this.ezChange.emit('');
44
44
  };
45
+ this.handleEditImage = (event) => {
46
+ var _a;
47
+ event.stopPropagation();
48
+ (_a = this._inputElem) === null || _a === void 0 ? void 0 : _a.click();
49
+ };
45
50
  this.handleClickDropZone = () => {
46
51
  var _a;
47
52
  if (this.enabled && !this._hasImage) {
@@ -133,7 +138,7 @@ export class EzImageInput {
133
138
  'image-input__container--disabled': !this.enabled,
134
139
  'image-input__container--dragging': this._isDragging,
135
140
  'image-input__container--has-image': this._hasImage
136
- }, "data-enabled": this.enabled.toString(), "data-has-image": this._hasImage.toString(), onClick: this.handleClickDropZone, onDrop: this.handleDrop, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, role: "button", "aria-label": dropZoneLabel, tabindex: this.enabled ? 0 : -1 }, h("input", { ref: (el) => (this._inputElem = el), type: "file", accept: this.accept, name: this.name, disabled: !this.enabled, onChange: this.handleFileSelect, class: "image-input__file-input", "aria-hidden": "true" }), this._hasImage && this.value ? (h("div", { class: "image-input__preview" }, h("img", { src: this.value, alt: this.i18n('ez-image-input.imageAlt'), class: "image-input__image", onClick: this.handleImageClick }), this.enabled && (h("ez-button", { class: "image-input__remove-button", variant: "primary", type: "button", mode: "icon", size: "small", iconName: "trash-alt", onClick: this.handleRemoveImage, "aria-label": this.i18n('ez-image-input.removeImage'), title: this.i18n('ez-image-input.removeImage') })))) : (h("div", { class: "image-input__dropzone" }, h("ez-icon", { iconName: "image", size: "x-large" }), h("span", { class: "image-input__label" }, dropZoneLabel)))), h("ez-popup", { opened: this._showImagePopup, ezTitle: this.i18n('ez-image-input.imagePreview'), size: "large", heightMode: "auto", onEzPopupAction: this.handlePopupAction, onEzClosePopup: this.handleClosePopup }, h("div", { class: "image-input__popup-content" }, h("img", { src: this.value, alt: this.i18n('ez-image-input.imageAlt'), class: "image-input__popup-image" })))));
141
+ }, "data-enabled": this.enabled.toString(), "data-has-image": this._hasImage.toString(), onClick: this.handleClickDropZone, onDrop: this.handleDrop, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, role: "button", "aria-label": dropZoneLabel, tabindex: this.enabled ? 0 : -1 }, h("input", { ref: (el) => (this._inputElem = el), type: "file", accept: this.accept, name: this.name, disabled: !this.enabled, onChange: this.handleFileSelect, class: "image-input__file-input", "aria-hidden": "true" }), this._hasImage && this.value ? (h("div", { class: "image-input__preview" }, h("img", { src: this.value, alt: this.i18n('ez-image-input.imageAlt'), class: "image-input__image", onClick: this.handleImageClick }), this.enabled && (h("div", { class: "image-input__actions" }, h("ez-button", { class: "image-input__remove-button", variant: "primary", type: "button", mode: "icon", size: "small", iconName: "trash-alt", onClick: this.handleRemoveImage, "aria-label": this.i18n('ez-image-input.removeImage'), title: this.i18n('ez-image-input.removeImage') }), h("ez-button", { class: "image-input__edit-button", variant: "secondary", type: "button", mode: "icon", size: "small", iconName: "edit", onClick: this.handleEditImage, "aria-label": this.i18n('ez-image-input.editImage'), title: this.i18n('ez-image-input.editImage') }))))) : (h("div", { class: "image-input__dropzone" }, h("ez-icon", { iconName: "image", size: "x-large" }), h("span", { class: "image-input__label" }, dropZoneLabel)))), h("ez-popup", { opened: this._showImagePopup, ezTitle: this.i18n('ez-image-input.imagePreview'), size: "large", heightMode: "auto", onEzPopupAction: this.handlePopupAction, onEzClosePopup: this.handleClosePopup }, h("div", { class: "image-input__popup-content" }, h("img", { src: this.value, alt: this.i18n('ez-image-input.imageAlt'), class: "image-input__popup-image" })))));
137
142
  }
138
143
  static get is() { return "ez-image-input"; }
139
144
  static get encapsulation() { return "shadow"; }
@@ -49,10 +49,10 @@ export class EzPopup {
49
49
  }
50
50
  manageOverlay() {
51
51
  if (this.opened) {
52
- this._overlayId = FloatingManager.subscribeOverlayControl(this._popupRef);
52
+ this._overlayId = FloatingManager.subscribeOverlayControl(this._overlayRef);
53
53
  }
54
54
  else {
55
- FloatingManager.unsubscribeOverlayControl(this._popupRef || this._overlayId);
55
+ FloatingManager.unsubscribeOverlayControl(this._overlayRef || this._overlayId);
56
56
  }
57
57
  }
58
58
  popUpFocus() {
@@ -147,7 +147,7 @@ export class EzPopup {
147
147
  return this.footerButtons.slice(0, 3).map((buttonProps, index) => (h("ez-button", Object.assign({ key: index }, this.handleDefaultPropsButtonsByIndex(index), buttonProps))));
148
148
  }
149
149
  render() {
150
- return (h(Host, null, this.opened && (h("div", { class: "overlay", tabIndex: -1, onClick: this.handleAutoClose.bind(this) }, h("dialog", { ref: ref => this._popupRef = ref, class: this.getDialogClass() }, this.useHeader &&
150
+ return (h(Host, null, this.opened && (h("div", { class: "overlay", ref: ref => this._overlayRef = ref, tabIndex: -1, onClick: this.handleAutoClose.bind(this) }, h("dialog", { ref: ref => this._popupRef = ref, class: this.getDialogClass() }, this.useHeader &&
151
151
  h("header", { class: "popup__header" }, !!this.ezTitle && h("h1", { class: "popup__title" }, this.ezTitle), h("ez-button", { class: this.ezTitle ? "btn-close" : "btn-close btn-close--solo", variant: "tertiary", mode: "icon", iconName: "close", size: "small", onClick: this.closePopup.bind(this) })), h("main", { class: {
152
152
  "popup__expandable-content": true,
153
153
  "popup__overflow-y--auto": this.enabledScroll
@@ -0,0 +1,51 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .record-navigation__container {
6
+ display: flex;
7
+ align-items: center;
8
+ flex-grow: 1;
9
+ flex-shrink: 1;
10
+ justify-content: flex-end;
11
+ flex-wrap: nowrap;
12
+ }
13
+
14
+ .record-navigation__buttons-container {
15
+ display: flex;
16
+ gap: var(--space--8, 8px);
17
+ }
18
+
19
+ .record-navigation__container-label {
20
+ font-size: var(--font-size--default, 14px);
21
+ font-family: var(--font--pattern, 'Roboto');
22
+ color: var(--color--gray-600, #1C1D22);
23
+ text-shadow: 0 0 var(--color--gray-500, #494A4E), 0 0 1px transparent;
24
+ margin-right: var(--space--12, 12px);
25
+ display: flex;
26
+ align-items: center;
27
+ }
28
+
29
+ .record-navigation-contracted {
30
+ width: 100px;
31
+ }
32
+
33
+ .record-navigation-expanded {
34
+ min-width: 150px;
35
+ }
36
+
37
+ .record-navigation__label {
38
+ width: 100%;
39
+ white-space: nowrap;
40
+ }
41
+
42
+ .record-navigation__divider {
43
+ width: 3px;
44
+ height: 15px;
45
+ background-color: var(--color--gray-300, #C1C2C6);
46
+ margin-inline: var(--space--8, 8px);
47
+ }
48
+
49
+ .record-navigation-text-right {
50
+ flex-direction: row-reverse;
51
+ }
@@ -0,0 +1,246 @@
1
+ import { Action, ElementIDUtils } from '@sankhyalabs/core';
2
+ import { Fragment, Host, h } from '@stencil/core';
3
+ import initI18n from '../../utils/i18n';
4
+ export class EzRecordNavigation {
5
+ constructor() {
6
+ this._dataUnitInitialized = false;
7
+ this.leftButtonDisabled = undefined;
8
+ this.rightButtonDisabled = undefined;
9
+ this.dataUnit = undefined;
10
+ this.primaryKeys = undefined;
11
+ this.textPosition = 'right';
12
+ this.disabled = false;
13
+ }
14
+ /**
15
+ * Navega para a página anterior.
16
+ */
17
+ async previousRecord() {
18
+ if (!this.dataUnit) {
19
+ return;
20
+ }
21
+ await this.dataUnit.previousRecord();
22
+ }
23
+ /**
24
+ * Navega para a próxima página.
25
+ */
26
+ async nextRecord() {
27
+ if (!this.dataUnit) {
28
+ return;
29
+ }
30
+ await this.dataUnit.nextRecord();
31
+ }
32
+ onDataUnitChange() {
33
+ this.initializeDataUnit();
34
+ }
35
+ onDisabledChange() {
36
+ this.setStatusButtonPagination();
37
+ }
38
+ renderPageTitle() {
39
+ if (!this.primaryKeys) {
40
+ return null;
41
+ }
42
+ return this.primaryKeys.map((key, index) => {
43
+ var _a;
44
+ const fieldValue = this.dataUnit.getFieldValue(key);
45
+ const fieldLabel = (_a = this.dataUnit.getField(key)) === null || _a === void 0 ? void 0 : _a.label;
46
+ const isLast = index === this.primaryKeys.length - 1;
47
+ return (h(Fragment, null, h("ez-tooltip", { message: fieldLabel !== null && fieldLabel !== void 0 ? fieldLabel : fieldValue }, h("span", { class: "record-navigation__label", "aria-live": "polite", "aria-atomic": "true" }, fieldValue !== null && fieldValue !== void 0 ? fieldValue : '-')), !isLast && h("span", { class: "record-navigation__divider" })));
48
+ });
49
+ }
50
+ dataUnitObserver(action) {
51
+ switch (action.type) {
52
+ case Action.SELECTION_CHANGED:
53
+ case Action.PREVIOUS_SELECTED:
54
+ case Action.NEXT_SELECTED:
55
+ this.setStatusButtonPagination();
56
+ break;
57
+ default:
58
+ break;
59
+ }
60
+ }
61
+ getLeftButtonDisabledStatus() {
62
+ if (!this.dataUnit || this.disabled)
63
+ return true;
64
+ return !this.dataUnit.hasPrevious();
65
+ }
66
+ getRightButtonDisabledStatus() {
67
+ if (!this.dataUnit || this.disabled)
68
+ return true;
69
+ return !this.dataUnit.hasNext();
70
+ }
71
+ setStatusButtonPagination() {
72
+ this.leftButtonDisabled = this.getLeftButtonDisabledStatus();
73
+ this.rightButtonDisabled = this.getRightButtonDisabledStatus();
74
+ }
75
+ initializeDataUnit() {
76
+ if (!this.dataUnit || this._dataUnitInitialized) {
77
+ return;
78
+ }
79
+ this.setStatusButtonPagination();
80
+ this._dataUnitObserverBound = this.dataUnitObserver.bind(this);
81
+ this.dataUnit.subscribe(this._dataUnitObserverBound);
82
+ this._dataUnitInitialized = true;
83
+ }
84
+ addInfoId() {
85
+ if (this._element) {
86
+ ElementIDUtils.addIDInfo(this._element);
87
+ }
88
+ }
89
+ async connectedCallback() {
90
+ this.i18n = await initI18n();
91
+ this.initializeDataUnit();
92
+ }
93
+ componentDidLoad() {
94
+ this.addInfoId();
95
+ }
96
+ disconnectedCallback() {
97
+ if (this.dataUnit && this._dataUnitInitialized && this._dataUnitObserverBound) {
98
+ this.dataUnit.unsubscribe(this._dataUnitObserverBound);
99
+ }
100
+ }
101
+ render() {
102
+ return (h(Host, null, h("div", { class: {
103
+ "record-navigation__container": true,
104
+ "record-navigation-text-right": this.textPosition === 'right'
105
+ } }, h("div", { class: "record-navigation__container-label" }, this.renderPageTitle()), h("div", { id: "grid-record-navigation-tooltip", class: "record-navigation__buttons-container" }, h("ez-tooltip", { message: this.i18n("ez-record-navigation.previousRecord") }, h("ez-button", { iconName: "chevron-left", mode: "icon", isDisabled: this.leftButtonDisabled, onClick: () => this.previousRecord(), label: this.i18n("ez-record-navigation.previousRecord") })), h("ez-tooltip", { message: this.i18n("ez-record-navigation.nextRecord") }, h("ez-button", { iconName: "chevron-right", mode: "icon", isDisabled: this.rightButtonDisabled, onClick: () => this.nextRecord(), label: this.i18n("ez-record-navigation.nextRecord") }))))));
106
+ }
107
+ static get is() { return "ez-record-navigation"; }
108
+ static get encapsulation() { return "shadow"; }
109
+ static get originalStyleUrls() {
110
+ return {
111
+ "$": ["ez-record-navigation.css"]
112
+ };
113
+ }
114
+ static get styleUrls() {
115
+ return {
116
+ "$": ["ez-record-navigation.css"]
117
+ };
118
+ }
119
+ static get properties() {
120
+ return {
121
+ "dataUnit": {
122
+ "type": "unknown",
123
+ "mutable": false,
124
+ "complexType": {
125
+ "original": "DataUnit",
126
+ "resolved": "DataUnit",
127
+ "references": {
128
+ "DataUnit": {
129
+ "location": "import",
130
+ "path": "@sankhyalabs/core"
131
+ }
132
+ }
133
+ },
134
+ "required": false,
135
+ "optional": false,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": "DataUnit."
139
+ }
140
+ },
141
+ "primaryKeys": {
142
+ "type": "unknown",
143
+ "mutable": false,
144
+ "complexType": {
145
+ "original": "string[]",
146
+ "resolved": "string[]",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "Chaves prim\u00E1rias dos registros, usadas para visualizar o registro atual."
154
+ }
155
+ },
156
+ "textPosition": {
157
+ "type": "string",
158
+ "mutable": false,
159
+ "complexType": {
160
+ "original": "'left' | 'right'",
161
+ "resolved": "\"left\" | \"right\"",
162
+ "references": {}
163
+ },
164
+ "required": false,
165
+ "optional": false,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": ""
169
+ },
170
+ "attribute": "text-position",
171
+ "reflect": false,
172
+ "defaultValue": "'right'"
173
+ },
174
+ "disabled": {
175
+ "type": "boolean",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "boolean",
179
+ "resolved": "boolean",
180
+ "references": {}
181
+ },
182
+ "required": false,
183
+ "optional": false,
184
+ "docs": {
185
+ "tags": [],
186
+ "text": "Desabilita a navega\u00E7\u00E3o entre os registros."
187
+ },
188
+ "attribute": "disabled",
189
+ "reflect": false,
190
+ "defaultValue": "false"
191
+ }
192
+ };
193
+ }
194
+ static get states() {
195
+ return {
196
+ "leftButtonDisabled": {},
197
+ "rightButtonDisabled": {}
198
+ };
199
+ }
200
+ static get methods() {
201
+ return {
202
+ "previousRecord": {
203
+ "complexType": {
204
+ "signature": "() => Promise<void>",
205
+ "parameters": [],
206
+ "references": {
207
+ "Promise": {
208
+ "location": "global"
209
+ }
210
+ },
211
+ "return": "Promise<void>"
212
+ },
213
+ "docs": {
214
+ "text": "Navega para a p\u00E1gina anterior.",
215
+ "tags": []
216
+ }
217
+ },
218
+ "nextRecord": {
219
+ "complexType": {
220
+ "signature": "() => Promise<void>",
221
+ "parameters": [],
222
+ "references": {
223
+ "Promise": {
224
+ "location": "global"
225
+ }
226
+ },
227
+ "return": "Promise<void>"
228
+ },
229
+ "docs": {
230
+ "text": "Navega para a pr\u00F3xima p\u00E1gina.",
231
+ "tags": []
232
+ }
233
+ }
234
+ };
235
+ }
236
+ static get elementRef() { return "_element"; }
237
+ static get watchers() {
238
+ return [{
239
+ "propName": "dataUnit",
240
+ "methodName": "onDataUnitChange"
241
+ }, {
242
+ "propName": "disabled",
243
+ "methodName": "onDisabledChange"
244
+ }];
245
+ }
246
+ }
@@ -0,0 +1,5 @@
1
+ export var EzScrollNavigationMode;
2
+ (function (EzScrollNavigationMode) {
3
+ EzScrollNavigationMode["SCROLLBAR"] = "scrollbar";
4
+ EzScrollNavigationMode["BUTTONS"] = "buttons";
5
+ })(EzScrollNavigationMode || (EzScrollNavigationMode = {}));
@@ -1,6 +1,8 @@
1
1
  :host {
2
2
  /*@doc Define a cor de efeito de sombreado com componente.*/
3
3
  --ez-scroller--box-shadow-color: var(--background--body, #fafcff);
4
+ /*@doc Define o espaçamento entre os botões de navegação e o conteúdo.*/
5
+ --ez-scroller__nav-button--spacing: var(--space--8, 8px);
4
6
 
5
7
  /* scrollbar */
6
8
  /*@doc Define a cor da barra de rolagem do componente.*/
@@ -141,56 +143,160 @@
141
143
 
142
144
  .ez-scroller__wrapper--horizontal {
143
145
  flex-direction: row;
146
+ align-items: center;
147
+ gap: var(--ez-scroller__nav-button--spacing);
144
148
  }
145
149
 
146
150
  .ez-scroller__wrapper--vertical {
147
151
  flex-direction: column;
152
+ align-items: center;
153
+ gap: var(--ez-scroller__nav-button--spacing);
148
154
  }
149
155
 
150
- .ez-scroller__wrapper--shadow-start::before,
151
- .ez-scroller__wrapper--shadow-end::after {
156
+ .ez-scroller__wrapper--buttons-mode {
157
+ display: flex;
158
+ }
159
+
160
+ .ez-scroller__wrapper--buttons-mode.ez-scroller__wrapper--horizontal {
161
+ flex-direction: row;
162
+ }
163
+
164
+ .ez-scroller__wrapper--buttons-mode.ez-scroller__wrapper--vertical {
165
+ flex-direction: column;
166
+ }
167
+
168
+ /* Shadow effects - applied to wrapper when not in buttons mode */
169
+ .ez-scroller__wrapper:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before,
170
+ .ez-scroller__wrapper:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after {
152
171
  content: "";
153
172
  display: flex;
154
173
  position: absolute;
155
174
  z-index: 1;
156
175
  }
157
176
 
158
- .ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,
159
- .ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after {
177
+ .ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before,
178
+ .ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after {
160
179
  width: 24px;
161
180
  min-height: calc(100% - 10px);
162
181
  }
163
182
 
164
- .ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before {
183
+ .ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before {
165
184
  left: 0;
166
185
 
167
186
  /*public*/
168
187
  background: linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%);
169
188
  }
170
189
 
171
- .ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after {
190
+ .ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after {
172
191
  right: 0;
173
192
 
174
193
  /*public*/
175
194
  background: linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%);
176
195
  }
177
196
 
178
- .ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,
179
- .ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after {
197
+ .ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before,
198
+ .ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after {
180
199
  min-width: calc(100% - 10px);
181
200
  height: 24px;
182
201
  }
183
202
 
184
- .ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before {
203
+ .ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before {
185
204
  top: 0;
186
205
 
187
206
  /*public*/
188
207
  background: linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%);
189
208
  }
190
209
 
191
- .ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after {
210
+ .ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after {
192
211
  bottom: 0;
193
212
 
194
213
  /*public*/
195
214
  background: linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%);
196
- }
215
+ }
216
+
217
+ /* Navigation buttons */
218
+ .ez-scroller__container--buttons-mode::-webkit-scrollbar {
219
+ display: none;
220
+ }
221
+
222
+ .ez-scroller__container--buttons-mode {
223
+ scrollbar-width: none;
224
+ flex: 1;
225
+ min-width: 0;
226
+ position: relative;
227
+ }
228
+
229
+ .ez-scroller__nav-button {
230
+ /*@doc Define o tamanho do botão de navegação.*/
231
+ --ez-scroller__nav-button--size: var(--space--32, 32px);
232
+ /*@doc Define o raio da borda do botão de navegação.*/
233
+ --ez-scroller__nav-button--border-radius: var(--border--radius-24, 24px);
234
+ /*@doc Define a largura do gradiente ao lado do botão.*/
235
+ --ez-scroller__nav-button--gradient-width: 40px;
236
+
237
+ display: flex;
238
+ align-items: center;
239
+ justify-content: center;
240
+ border: none;
241
+ cursor: pointer;
242
+ flex-shrink: 0;
243
+ position: relative;
244
+ z-index: 2;
245
+
246
+ /*public*/
247
+ width: var(--ez-scroller__nav-button--size);
248
+ height: var(--ez-scroller__nav-button--size);
249
+ border-radius: var(--ez-scroller__nav-button--border-radius);
250
+ }
251
+
252
+ /* Gradient attached to previous button (left/top) */
253
+ .ez-scroller__nav-button--previous::after {
254
+ content: "";
255
+ position: absolute;
256
+ z-index: -1;
257
+ pointer-events: none;
258
+ }
259
+
260
+ .ez-scroller__wrapper--horizontal .ez-scroller__nav-button--previous::after {
261
+ left: 100%;
262
+ top: 0;
263
+ bottom: 0;
264
+ width: var(--ez-scroller__nav-button--gradient-width);
265
+ background: linear-gradient(to left, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%);
266
+ }
267
+
268
+ .ez-scroller__wrapper--vertical .ez-scroller__nav-button--previous::after {
269
+ top: 100%;
270
+ left: 0;
271
+ right: 0;
272
+ height: var(--ez-scroller__nav-button--gradient-width);
273
+ background: linear-gradient(to top, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%);
274
+ }
275
+
276
+ /* Gradient attached to next button (right/bottom) */
277
+ .ez-scroller__nav-button--next::before {
278
+ content: "";
279
+ position: absolute;
280
+ z-index: -1;
281
+ pointer-events: none;
282
+ }
283
+
284
+ .ez-scroller__wrapper--horizontal .ez-scroller__nav-button--next::before {
285
+ right: 100%;
286
+ top: 0;
287
+ bottom: 0;
288
+ width: var(--ez-scroller__nav-button--gradient-width);
289
+ background: linear-gradient(to right, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%);
290
+ }
291
+
292
+ .ez-scroller__wrapper--vertical .ez-scroller__nav-button--next::before {
293
+ bottom: 100%;
294
+ left: 0;
295
+ right: 0;
296
+ height: var(--ez-scroller__nav-button--gradient-width);
297
+ background: linear-gradient(to bottom, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%);
298
+ }
299
+
300
+ .ez-scroller__nav-button ez-icon {
301
+ pointer-events: none;
302
+ }