ekm-ui 0.4.68 → 0.4.69

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.
@@ -11,7 +11,7 @@ Browserslist: caniuse-lite is outdated. Please run:
11
11
  npx update-browserslist-db@latest
12
12
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 60578ms
14
+ DTS ⚡️ Build success in 62079ms
15
15
  DTS dist/index.d.ts 4.03 KB
16
16
  DTS dist/footer-heart-icon.d.ts 70.00 B
17
17
  DTS dist/accordion.d.ts 2.19 KB
@@ -96,7 +96,6 @@ DTS dist/featurePageComponents/mini-feature-block.d.ts 254.00 B
96
96
  DTS dist/file-picker/file-listing.d.ts 992.00 B
97
97
  DTS dist/product-picker/product-listing.d.ts 890.00 B
98
98
  "HiArchive", "HiCurrencyDollar", "HiInbox", "HiLogout", "HiOutlineTicket", "HiShoppingBag", "HiUserCircle", "HiUsers" and "HiViewGrid" are imported from external module "react-icons/hi" but never used in "dist/chunk-XXP5K6Y4.js".
99
- ESM dist/product-picker/product-modal.css 124.82 KB
100
99
  ESM dist/file-picker/file-picker.css 124.82 KB
101
100
  ESM dist/layout/layout.css 124.81 KB
102
101
  ESM dist/country-picker/country-modal.css 124.82 KB
@@ -105,19 +104,21 @@ ESM dist/table-result-block.css 124.83 KB
105
104
  ESM dist/index.css 124.81 KB
106
105
  ESM dist/drag-and-drop.css 124.82 KB
107
106
  ESM dist/card-payment-block.css 124.83 KB
108
- ESM dist/file-picker/file-picker.css.map 177.47 KB
109
- ESM dist/product-picker/product-modal.css.map 177.47 KB
107
+ ESM dist/product-picker/product-modal.css 124.82 KB
110
108
  ESM dist/layout/layout.css.map 177.47 KB
111
109
  ESM dist/country-picker/country-modal.css.map 177.47 KB
112
110
  ESM dist/stacked-list-item.css.map 177.47 KB
113
111
  ESM dist/table-result-block.css.map 177.47 KB
114
112
  ESM dist/index.css.map 177.47 KB
115
113
  ESM dist/drag-and-drop.css.map 177.47 KB
114
+ ESM dist/card-payment-block.css.map 177.47 KB
115
+ ESM dist/product-picker/product-modal.css.map 177.47 KB
116
+ ESM dist/file-picker/file-picker.css.map 177.47 KB
116
117
  ESM dist/chunk-SBGTFQOD.js 8.80 KB
117
118
  ESM dist/chunk-Z4LPO673.js 1.34 KB
119
+ ESM dist/toast/index.js 189.00 B
118
120
  ESM dist/table-header/table-header.js 284.00 B
119
121
  ESM dist/tooltip/tooltip.js 182.00 B
120
- ESM dist/toast/index.js 189.00 B
121
122
  ESM dist/nbui/nbui-footer.js 159.00 B
122
123
  ESM dist/nbui/nbui-page-layout.js 261.00 B
123
124
  ESM dist/pagination/pagination.js 157.00 B
@@ -127,87 +128,83 @@ ESM dist/search/search.js 180.00 B
127
128
  ESM dist/sidebar/sidebar.js 151.00 B
128
129
  ESM dist/sort/sort.js 176.00 B
129
130
  ESM dist/nbui/nbui-card-image.js 167.00 B
130
- ESM dist/card-payment-block.css.map 177.47 KB
131
131
  ESM dist/nbui/nbui-card-lg.js 164.00 B
132
132
  ESM dist/nbui/nbui-card-paragraphs-lg.js 186.00 B
133
133
  ESM dist/nbui/nbui-card-paragraphs.js 177.00 B
134
134
  ESM dist/nbui/nbui-card-sm.js 164.00 B
135
135
  ESM dist/nbui/nbui-card-table.js 167.00 B
136
136
  ESM dist/nbui/nbui-card.js 155.00 B
137
- ESM dist/nbui/nbui-container.js 165.00 B
138
137
  ESM dist/feature-cards/staff-pick-card.js 165.00 B
139
- ESM dist/featurePageComponents/mini-feature-block.js 804.00 B
138
+ ESM dist/nbui/nbui-container.js 165.00 B
140
139
  ESM dist/featurePageComponents/feature-page-group.js 171.00 B
141
- ESM dist/file-picker/file-listing.js 218.00 B
140
+ ESM dist/featurePageComponents/mini-feature-block.js 804.00 B
142
141
  ESM dist/file-picker/file-picker.js 2.46 KB
142
+ ESM dist/file-picker/file-listing.js 218.00 B
143
143
  ESM dist/layout/layout.js 2.45 KB
144
144
  ESM dist/navbar/navbar.js 180.00 B
145
- ESM dist/nbui/nbui-card-form.js 165.00 B
146
145
  ESM dist/video-dashboard-notification.js 189.00 B
146
+ ESM dist/nbui/nbui-card-form.js 165.00 B
147
147
  ESM dist/video-modal.js 156.00 B
148
148
  ESM dist/country-picker/country-listing.js 259.00 B
149
- ESM dist/country-picker/country-modal.js 2.46 KB
150
149
  ESM dist/cross-sell/cross-sell-carousel.js 297.00 B
150
+ ESM dist/country-picker/country-modal.js 2.46 KB
151
151
  ESM dist/cross-sell/serivce-callback-banner.js 243.00 B
152
152
  ESM dist/cross-sell/service-card.js 315.00 B
153
153
  ESM dist/feature-cards/feature-card.js 253.00 B
154
154
  ESM dist/spinner.js 149.00 B
155
155
  ESM dist/stacked-list-item.js 2.39 KB
156
156
  ESM dist/table-result-block.js 2.39 KB
157
- ESM dist/test-component.js 162.00 B
158
157
  ESM dist/text-row.js 180.00 B
158
+ ESM dist/test-component.js 162.00 B
159
159
  ESM dist/textinput.js 183.00 B
160
160
  ESM dist/textarea.js 181.00 B
161
- ESM dist/toggleswitch.js 189.00 B
162
- ESM dist/mini-feature-block.js 259.00 B
163
- ESM dist/modal.js 209.00 B
164
- ESM dist/no-results-block.js 165.00 B
165
161
  ESM dist/page-header.js 216.00 B
162
+ ESM dist/mini-feature-block.js 259.00 B
166
163
  ESM dist/pin-feature-button.js 229.00 B
167
164
  ESM dist/progress-bar.js 188.00 B
168
165
  ESM dist/radio.js 175.00 B
169
166
  ESM dist/select.js 177.00 B
170
167
  ESM dist/form-row.js 180.00 B
171
168
  ESM dist/image-thumbnail.js 164.00 B
169
+ ESM dist/index.js 4.31 KB
172
170
  ESM dist/input-addon.js 156.00 B
173
171
  ESM dist/input-copy.js 214.00 B
174
- ESM dist/index.js 4.31 KB
175
172
  ESM dist/label.js 145.00 B
176
173
  ESM dist/loading-button.js 192.00 B
177
174
  ESM dist/love-footer.js 156.00 B
178
- ESM dist/drag-and-drop.js 2.38 KB
179
175
  ESM dist/date-time-picker.js 285.00 B
180
- ESM dist/draggable-stacked-list-item.js 246.00 B
176
+ ESM dist/drag-and-drop.js 2.38 KB
181
177
  ESM dist/drawer.js 147.00 B
178
+ ESM dist/draggable-stacked-list-item.js 246.00 B
182
179
  ESM dist/dropdown.js 222.00 B
183
- ESM dist/fixed-alert.js 246.00 B
184
180
  ESM dist/ekm-logo.js 150.00 B
181
+ ESM dist/fixed-alert.js 246.00 B
185
182
  ESM dist/button.js 207.00 B
186
183
  ESM dist/card-payment-block.js 2.39 KB
187
184
  ESM dist/chunk-7V5FAXED.js 29.38 KB
188
- ESM dist/chunk-YZ2YZSNQ.js 2.37 KB
189
185
  ESM dist/footer-heart-icon.js 56.43 KB
186
+ ESM dist/chunk-YZ2YZSNQ.js 2.37 KB
190
187
  ESM dist/chunk-GVNUAH45.js 347.00 B
191
188
  ESM dist/chunk-JAR3LP2K.js 809.00 B
192
189
  ESM dist/chunk-EK5I26TX.js 6.72 KB
193
190
  ESM dist/chunk-22RUXGYW.js 4.46 KB
194
191
  ESM dist/chunk-LQKVFBLU.js 3.53 KB
195
192
  ESM dist/chunk-HVNLAQA6.js 1.81 KB
193
+ ESM dist/chunk-NF5KDPMG.js 75.66 KB
196
194
  ESM dist/chunk-HW7AZG2V.js 2.04 KB
197
195
  ESM dist/chunk-AN66H4D6.js 559.00 B
198
- ESM dist/chunk-6ZISXIJK.js 75.66 KB
199
- ESM dist/chunk-GWERJBUR.js 885.00 B
200
196
  ESM dist/chunk-I2DMRDYJ.js 1.29 KB
201
- ESM dist/chunk-FTVJMY65.js 885.00 B
197
+ ESM dist/chunk-GWERJBUR.js 885.00 B
202
198
  ESM dist/chunk-YXTGVTGL.js 633.00 B
199
+ ESM dist/chunk-FTVJMY65.js 885.00 B
203
200
  ESM dist/chunk-EZPRW5WN.js 2.72 KB
204
- ESM dist/chunk-7Q6OMA2A.js 782.00 B
205
201
  ESM dist/chunk-XKE3VK6Z.js 759.00 B
206
- ESM dist/chunk-FPXEE5TC.js 3.80 KB
207
- ESM dist/chunk-XABECXZS.js 1017.00 B
208
- ESM dist/chunk-XXP5K6Y4.js 10.39 KB
209
202
  ESM dist/chunk-RTRHNOTP.js 690.00 B
203
+ ESM dist/chunk-7Q6OMA2A.js 782.00 B
204
+ ESM dist/chunk-XABECXZS.js 1017.00 B
205
+ ESM dist/chunk-FPXEE5TC.js 3.80 KB
210
206
  ESM dist/chunk-LWTESXND.js 1.57 KB
207
+ ESM dist/chunk-XXP5K6Y4.js 10.39 KB
211
208
  ESM dist/chunk-LIXVY47P.js 1.20 KB
212
209
  ESM dist/chunk-Y5DEGGVQ.js 1.75 KB
213
210
  ESM dist/chunk-F7MTEILK.js 1.69 KB
@@ -216,34 +213,34 @@ ESM dist/chunk-DCVOMIPI.js 567.00 B
216
213
  ESM dist/chunk-SE2IYY2P.js 2.69 KB
217
214
  ESM dist/chunk-IJMS44H4.js 1.35 KB
218
215
  ESM dist/chunk-AO5TGD7T.js 1.44 KB
219
- ESM dist/chunk-WVAVR5V6.js 347.00 B
220
216
  ESM dist/chunk-E5EF4RHS.js 635.00 B
217
+ ESM dist/chunk-WVAVR5V6.js 347.00 B
218
+ ESM dist/toggleswitch.js 189.00 B
221
219
  ESM dist/chunk-QCHLLBHM.js 1.39 KB
222
- ESM dist/chunk-MKSPEQBS.js 764.00 B
223
- ESM dist/chunk-IV62JMW4.js 2.55 KB
220
+ ESM dist/modal.js 209.00 B
224
221
  ESM dist/chunk-AVTJXS4U.js 544.00 B
222
+ ESM dist/chunk-V52WKDZL.js 909.00 B
225
223
  ESM dist/chunk-SFEJDNIA.js 1.14 KB
226
- ESM dist/chunk-NNY7FGHZ.js 909.00 B
227
- ESM dist/chunk-X2MJVQTW.js 2.64 KB
224
+ ESM dist/chunk-OPRNU4ER.js 2.64 KB
228
225
  ESM dist/chunk-LMMFRNNG.js 1.10 KB
229
226
  ESM dist/chunk-R3QJRZTP.js 989.00 B
230
227
  ESM dist/chunk-Z44LYPKH.js 1003.00 B
231
228
  ESM dist/chunk-CNJDESTL.js 588.00 B
232
229
  ESM dist/chunk-W55BPRI4.js 894.00 B
233
- ESM dist/chunk-AY4JB2QV.js 4.95 KB
234
230
  ESM dist/chunk-UQ566F6W.js 3.32 KB
231
+ ESM dist/chunk-AY4JB2QV.js 4.95 KB
235
232
  ESM dist/chunk-ESJIQMQJ.js 738.00 B
236
233
  ESM dist/chunk-DL4PX4HA.js 1.50 KB
237
234
  ESM dist/chunk-TY6TW6AX.js 5.67 KB
238
235
  ESM dist/chunk-6TL5EZJH.js 1.31 KB
239
236
  ESM dist/chunk-NDDDT4TO.js 1.63 KB
240
237
  ESM dist/chunk-QYKN3JZ5.js 3.46 KB
241
- ESM dist/chunk-5Z7OC2TH.js 723.00 B
242
238
  ESM dist/chunk-SLIZ4TDR.js 1.68 KB
239
+ ESM dist/chunk-5Z7OC2TH.js 723.00 B
243
240
  ESM dist/card.js 173.00 B
244
241
  ESM dist/checkbox.js 211.00 B
245
- ESM dist/color-picker.js 188.00 B
246
242
  ESM dist/chunk-ANU7OAPA.js 1.08 KB
243
+ ESM dist/color-picker.js 188.00 B
247
244
  ESM dist/chunk-ISA6E23B.js 1.14 KB
248
245
  ESM dist/dashboard-notification.js 178.00 B
249
246
  ESM dist/chunk-OUR2CLV6.js 2.13 KB
@@ -255,31 +252,34 @@ ESM dist/chunk-F7K7HAXY.js 443.00 B
255
252
  ESM dist/date-time-component.js 291.00 B
256
253
  ESM dist/chunk-T3HFBJ37.js 5.25 KB
257
254
  ESM dist/chunk-4FSPYK2A.js 3.40 KB
258
- ESM dist/accordion.js 271.00 B
259
255
  ESM dist/chunk-AHD6UTU2.js 4.02 KB
260
- ESM dist/chunk-WLWG565K.js 2.61 KB
256
+ ESM dist/accordion.js 271.00 B
261
257
  ESM dist/account-manager.js 224.00 B
262
- ESM dist/chunk-GIZ3LLSA.js 1.16 KB
258
+ ESM dist/chunk-WLWG565K.js 2.61 KB
263
259
  ESM dist/chunk-ER5CL77P.js 588.00 B
264
- ESM dist/alert-banner.js 188.00 B
260
+ ESM dist/chunk-GIZ3LLSA.js 1.16 KB
265
261
  ESM dist/chunk-5SEJVYKM.js 3.01 KB
266
- ESM dist/alert.js 145.00 B
262
+ ESM dist/alert-banner.js 188.00 B
267
263
  ESM dist/chunk-2ATHCBLY.js 919.00 B
264
+ ESM dist/alert.js 145.00 B
268
265
  ESM dist/avatar.js 207.00 B
269
266
  ESM dist/chunk-2OPJLYW6.js 1.69 KB
270
267
  ESM dist/badge.js 205.00 B
271
268
  ESM dist/chunk-UJ5AEZKA.js 2.87 KB
272
269
  ESM dist/breadcrumb.js 227.00 B
273
- ESM dist/chunk-TRVGXTCI.js 1.58 KB
274
270
  ESM dist/chunk-TJMI4DH2.js 19.88 KB
275
- ESM dist/chunk-6LHL364H.js 15.70 KB
271
+ ESM dist/chunk-TRVGXTCI.js 1.58 KB
276
272
  ESM dist/button-group-item.js 167.00 B
273
+ ESM dist/no-results-block.js 165.00 B
277
274
  ESM dist/chunk-XYGVDZRO.js 696.00 B
275
+ ESM dist/chunk-MKSPEQBS.js 764.00 B
276
+ ESM dist/chunk-IV62JMW4.js 2.55 KB
277
+ ESM dist/chunk-6LHL364H.js 15.70 KB
278
278
  ESM dist/chunk-SBGTFQOD.js.map 15.87 KB
279
279
  ESM dist/chunk-Z4LPO673.js.map 71.00 B
280
+ ESM dist/toast/index.js.map 51.00 B
280
281
  ESM dist/table-header/table-header.js.map 51.00 B
281
282
  ESM dist/tooltip/tooltip.js.map 51.00 B
282
- ESM dist/toast/index.js.map 51.00 B
283
283
  ESM dist/nbui/nbui-footer.js.map 51.00 B
284
284
  ESM dist/nbui/nbui-page-layout.js.map 51.00 B
285
285
  ESM dist/pagination/pagination.js.map 51.00 B
@@ -295,59 +295,56 @@ ESM dist/nbui/nbui-card-paragraphs.js.map 51.00 B
295
295
  ESM dist/nbui/nbui-card-sm.js.map 51.00 B
296
296
  ESM dist/nbui/nbui-card-table.js.map 51.00 B
297
297
  ESM dist/nbui/nbui-card.js.map 51.00 B
298
- ESM dist/nbui/nbui-container.js.map 51.00 B
299
298
  ESM dist/feature-cards/staff-pick-card.js.map 51.00 B
299
+ ESM dist/nbui/nbui-container.js.map 51.00 B
300
300
  ESM dist/featurePageComponents/mini-feature-block.js.map 1.51 KB
301
+ ESM dist/file-picker/file-picker.js.map 51.00 B
301
302
  ESM dist/featurePageComponents/feature-page-group.js.map 51.00 B
302
303
  ESM dist/file-picker/file-listing.js.map 51.00 B
303
- ESM dist/file-picker/file-picker.js.map 51.00 B
304
304
  ESM dist/layout/layout.js.map 51.00 B
305
305
  ESM dist/navbar/navbar.js.map 51.00 B
306
- ESM dist/nbui/nbui-card-form.js.map 51.00 B
307
306
  ESM dist/video-dashboard-notification.js.map 51.00 B
307
+ ESM dist/nbui/nbui-card-form.js.map 51.00 B
308
308
  ESM dist/video-modal.js.map 51.00 B
309
309
  ESM dist/country-picker/country-listing.js.map 51.00 B
310
- ESM dist/country-picker/country-modal.js.map 51.00 B
311
310
  ESM dist/cross-sell/cross-sell-carousel.js.map 51.00 B
311
+ ESM dist/country-picker/country-modal.js.map 51.00 B
312
312
  ESM dist/cross-sell/serivce-callback-banner.js.map 51.00 B
313
313
  ESM dist/cross-sell/service-card.js.map 51.00 B
314
314
  ESM dist/feature-cards/feature-card.js.map 51.00 B
315
315
  ESM dist/spinner.js.map 51.00 B
316
316
  ESM dist/stacked-list-item.js.map 51.00 B
317
317
  ESM dist/table-result-block.js.map 51.00 B
318
- ESM dist/test-component.js.map 51.00 B
319
318
  ESM dist/text-row.js.map 51.00 B
319
+ ESM dist/test-component.js.map 51.00 B
320
320
  ESM dist/textinput.js.map 51.00 B
321
321
  ESM dist/textarea.js.map 51.00 B
322
- ESM dist/toggleswitch.js.map 51.00 B
323
- ESM dist/mini-feature-block.js.map 51.00 B
324
- ESM dist/modal.js.map 51.00 B
325
- ESM dist/no-results-block.js.map 51.00 B
326
322
  ESM dist/page-header.js.map 51.00 B
323
+ ESM dist/mini-feature-block.js.map 51.00 B
327
324
  ESM dist/pin-feature-button.js.map 51.00 B
328
325
  ESM dist/progress-bar.js.map 51.00 B
329
326
  ESM dist/radio.js.map 51.00 B
330
327
  ESM dist/select.js.map 51.00 B
331
328
  ESM dist/form-row.js.map 51.00 B
332
329
  ESM dist/image-thumbnail.js.map 51.00 B
330
+ ESM dist/index.js.map 51.00 B
333
331
  ESM dist/input-addon.js.map 51.00 B
334
332
  ESM dist/input-copy.js.map 51.00 B
335
- ESM dist/index.js.map 51.00 B
336
333
  ESM dist/label.js.map 51.00 B
337
334
  ESM dist/loading-button.js.map 51.00 B
338
335
  ESM dist/love-footer.js.map 51.00 B
339
- ESM dist/drag-and-drop.js.map 51.00 B
340
336
  ESM dist/date-time-picker.js.map 51.00 B
341
- ESM dist/draggable-stacked-list-item.js.map 51.00 B
337
+ ESM dist/drag-and-drop.js.map 51.00 B
342
338
  ESM dist/drawer.js.map 51.00 B
339
+ ESM dist/draggable-stacked-list-item.js.map 51.00 B
343
340
  ESM dist/dropdown.js.map 51.00 B
344
- ESM dist/fixed-alert.js.map 51.00 B
345
341
  ESM dist/ekm-logo.js.map 51.00 B
342
+ ESM dist/fixed-alert.js.map 51.00 B
346
343
  ESM dist/button.js.map 51.00 B
347
344
  ESM dist/card-payment-block.js.map 51.00 B
348
345
  ESM dist/chunk-7V5FAXED.js.map 81.52 KB
349
- ESM dist/chunk-YZ2YZSNQ.js.map 5.68 KB
350
346
  ESM dist/footer-heart-icon.js.map 57.05 KB
347
+ ESM dist/chunk-YZ2YZSNQ.js.map 5.68 KB
351
348
  ESM dist/chunk-GVNUAH45.js.map 525.00 B
352
349
  ESM dist/chunk-JAR3LP2K.js.map 1.89 KB
353
350
  ESM dist/chunk-EK5I26TX.js.map 14.11 KB
@@ -356,54 +353,52 @@ ESM dist/chunk-LQKVFBLU.js.map 10.01 KB
356
353
  ESM dist/chunk-HVNLAQA6.js.map 5.19 KB
357
354
  ESM dist/chunk-HW7AZG2V.js.map 4.63 KB
358
355
  ESM dist/chunk-AN66H4D6.js.map 873.00 B
359
- ESM dist/chunk-GWERJBUR.js.map 1.29 KB
360
356
  ESM dist/chunk-I2DMRDYJ.js.map 1.98 KB
361
- ESM dist/chunk-FTVJMY65.js.map 1.30 KB
357
+ ESM dist/chunk-GWERJBUR.js.map 1.29 KB
362
358
  ESM dist/chunk-YXTGVTGL.js.map 929.00 B
359
+ ESM dist/chunk-FTVJMY65.js.map 1.30 KB
363
360
  ESM dist/chunk-EZPRW5WN.js.map 4.23 KB
364
- ESM dist/chunk-7Q6OMA2A.js.map 1.28 KB
365
361
  ESM dist/chunk-XKE3VK6Z.js.map 1.08 KB
366
- ESM dist/chunk-FPXEE5TC.js.map 8.39 KB
367
- ESM dist/chunk-XABECXZS.js.map 1.77 KB
368
- ESM dist/chunk-XXP5K6Y4.js.map 24.62 KB
369
362
  ESM dist/chunk-RTRHNOTP.js.map 1.27 KB
363
+ ESM dist/chunk-7Q6OMA2A.js.map 1.28 KB
364
+ ESM dist/chunk-XABECXZS.js.map 1.77 KB
365
+ ESM dist/chunk-FPXEE5TC.js.map 8.39 KB
370
366
  ESM dist/chunk-LWTESXND.js.map 2.48 KB
367
+ ESM dist/chunk-XXP5K6Y4.js.map 24.62 KB
371
368
  ESM dist/chunk-LIXVY47P.js.map 2.16 KB
372
369
  ESM dist/chunk-Y5DEGGVQ.js.map 3.34 KB
373
370
  ESM dist/chunk-F7MTEILK.js.map 4.07 KB
374
371
  ESM dist/chunk-NGCAIS7M.js.map 5.72 KB
375
372
  ESM dist/chunk-DCVOMIPI.js.map 1.26 KB
376
- ESM dist/chunk-SE2IYY2P.js.map 7.35 KB
377
- ESM dist/chunk-IJMS44H4.js.map 2.92 KB
378
373
  ESM dist/chunk-AO5TGD7T.js.map 1.85 KB
379
- ESM dist/chunk-WVAVR5V6.js.map 762.00 B
380
374
  ESM dist/chunk-E5EF4RHS.js.map 1.30 KB
375
+ ESM dist/chunk-WVAVR5V6.js.map 762.00 B
376
+ ESM dist/toggleswitch.js.map 51.00 B
381
377
  ESM dist/chunk-QCHLLBHM.js.map 2.86 KB
382
- ESM dist/chunk-MKSPEQBS.js.map 1.57 KB
383
- ESM dist/chunk-IV62JMW4.js.map 5.58 KB
378
+ ESM dist/modal.js.map 51.00 B
384
379
  ESM dist/chunk-AVTJXS4U.js.map 1.06 KB
380
+ ESM dist/chunk-V52WKDZL.js.map 2.47 KB
385
381
  ESM dist/chunk-SFEJDNIA.js.map 2.56 KB
386
- ESM dist/chunk-NNY7FGHZ.js.map 2.47 KB
387
- ESM dist/chunk-X2MJVQTW.js.map 5.73 KB
382
+ ESM dist/chunk-OPRNU4ER.js.map 5.73 KB
388
383
  ESM dist/chunk-LMMFRNNG.js.map 2.51 KB
389
384
  ESM dist/chunk-R3QJRZTP.js.map 1.96 KB
390
385
  ESM dist/chunk-Z44LYPKH.js.map 1.91 KB
391
386
  ESM dist/chunk-CNJDESTL.js.map 1.16 KB
392
387
  ESM dist/chunk-W55BPRI4.js.map 2.25 KB
388
+ ESM dist/chunk-UQ566F6W.js.map 5.33 KB
393
389
  ESM dist/chunk-AY4JB2QV.js.map 9.53 KB
394
390
  ESM dist/chunk-ESJIQMQJ.js.map 1.20 KB
395
391
  ESM dist/chunk-DL4PX4HA.js.map 3.33 KB
396
- ESM dist/chunk-UQ566F6W.js.map 5.33 KB
397
392
  ESM dist/chunk-TY6TW6AX.js.map 15.80 KB
398
- ESM dist/chunk-6TL5EZJH.js.map 2.48 KB
399
393
  ESM dist/chunk-NDDDT4TO.js.map 3.64 KB
394
+ ESM dist/chunk-6TL5EZJH.js.map 2.48 KB
400
395
  ESM dist/chunk-QYKN3JZ5.js.map 8.04 KB
401
- ESM dist/chunk-5Z7OC2TH.js.map 1.48 KB
402
396
  ESM dist/chunk-SLIZ4TDR.js.map 2.43 KB
397
+ ESM dist/chunk-5Z7OC2TH.js.map 1.48 KB
403
398
  ESM dist/card.js.map 51.00 B
404
399
  ESM dist/checkbox.js.map 51.00 B
405
- ESM dist/color-picker.js.map 51.00 B
406
400
  ESM dist/chunk-ANU7OAPA.js.map 2.27 KB
401
+ ESM dist/color-picker.js.map 51.00 B
407
402
  ESM dist/chunk-ISA6E23B.js.map 3.32 KB
408
403
  ESM dist/dashboard-notification.js.map 51.00 B
409
404
  ESM dist/chunk-OUR2CLV6.js.map 5.25 KB
@@ -415,26 +410,31 @@ ESM dist/chunk-F7K7HAXY.js.map 773.00 B
415
410
  ESM dist/date-time-component.js.map 51.00 B
416
411
  ESM dist/chunk-T3HFBJ37.js.map 17.89 KB
417
412
  ESM dist/chunk-4FSPYK2A.js.map 21.34 KB
418
- ESM dist/accordion.js.map 51.00 B
419
413
  ESM dist/chunk-AHD6UTU2.js.map 7.74 KB
420
- ESM dist/chunk-WLWG565K.js.map 7.81 KB
414
+ ESM dist/accordion.js.map 51.00 B
421
415
  ESM dist/account-manager.js.map 51.00 B
422
- ESM dist/chunk-GIZ3LLSA.js.map 2.52 KB
416
+ ESM dist/chunk-WLWG565K.js.map 7.81 KB
423
417
  ESM dist/chunk-ER5CL77P.js.map 998.00 B
424
- ESM dist/alert-banner.js.map 51.00 B
418
+ ESM dist/chunk-GIZ3LLSA.js.map 2.52 KB
425
419
  ESM dist/chunk-5SEJVYKM.js.map 6.15 KB
426
- ESM dist/alert.js.map 51.00 B
420
+ ESM dist/alert-banner.js.map 51.00 B
427
421
  ESM dist/chunk-2ATHCBLY.js.map 2.14 KB
422
+ ESM dist/alert.js.map 51.00 B
428
423
  ESM dist/avatar.js.map 51.00 B
429
- ESM dist/chunk-2OPJLYW6.js.map 4.13 KB
430
424
  ESM dist/badge.js.map 51.00 B
425
+ ESM dist/chunk-2OPJLYW6.js.map 4.13 KB
431
426
  ESM dist/chunk-UJ5AEZKA.js.map 4.19 KB
432
427
  ESM dist/breadcrumb.js.map 51.00 B
428
+ ESM dist/chunk-IJMS44H4.js.map 2.92 KB
429
+ ESM dist/chunk-SE2IYY2P.js.map 7.35 KB
433
430
  ESM dist/chunk-TRVGXTCI.js.map 3.33 KB
434
- ESM dist/chunk-TJMI4DH2.js.map 117.04 KB
435
- ESM dist/chunk-6LHL364H.js.map 62.53 KB
436
431
  ESM dist/button-group-item.js.map 51.00 B
432
+ ESM dist/no-results-block.js.map 51.00 B
437
433
  ESM dist/chunk-XYGVDZRO.js.map 1.25 KB
438
- ESM dist/chunk-6ZISXIJK.js.map 711.41 KB
439
- ESM ⚡️ Build success in 71579ms
440
- Done in 72.44s.
434
+ ESM dist/chunk-TJMI4DH2.js.map 117.04 KB
435
+ ESM dist/chunk-MKSPEQBS.js.map 1.57 KB
436
+ ESM dist/chunk-IV62JMW4.js.map 5.58 KB
437
+ ESM dist/chunk-6LHL364H.js.map 62.53 KB
438
+ ESM dist/chunk-NF5KDPMG.js.map 711.41 KB
439
+ ESM ⚡️ Build success in 72181ms
440
+ Done in 72.83s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ekm-ui
2
2
 
3
+ ## 0.4.69
4
+
5
+ ### Patch Changes
6
+
7
+ - e87c99c5: EKM-1188-Lower z-index on tool tip
8
+
3
9
  ## 0.4.68
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  export { h as CardPaymentBlock } from './chunk-7V5FAXED.js';
2
- import './chunk-6ZISXIJK.js';
2
+ import './chunk-NF5KDPMG.js';
3
3
  import './chunk-YZ2YZSNQ.js';
4
4
  import './chunk-GVNUAH45.js';
5
5
  import './chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
37
37
  import './chunk-IV62JMW4.js';
38
38
  import './chunk-AVTJXS4U.js';
39
39
  import './chunk-SFEJDNIA.js';
40
- import './chunk-NNY7FGHZ.js';
41
- import './chunk-X2MJVQTW.js';
40
+ import './chunk-V52WKDZL.js';
41
+ import './chunk-OPRNU4ER.js';
42
42
  import './chunk-LMMFRNNG.js';
43
43
  import './chunk-R3QJRZTP.js';
44
44
  import './chunk-Z44LYPKH.js';
@@ -1,4 +1,4 @@
1
- import { a as a$2 } from './chunk-X2MJVQTW.js';
1
+ import { a as a$2 } from './chunk-OPRNU4ER.js';
2
2
  import { a as a$1 } from './chunk-ANU7OAPA.js';
3
3
  import { a } from './chunk-6LHL364H.js';
4
4
  import { d, e, c } from './chunk-Z4LPO673.js';
@@ -40,4 +40,4 @@ lodash/lodash.js:
40
40
 
41
41
  export { xo as a };
42
42
  //# sourceMappingURL=out.js.map
43
- //# sourceMappingURL=chunk-6ZISXIJK.js.map
43
+ //# sourceMappingURL=chunk-NF5KDPMG.js.map
@@ -4,8 +4,8 @@ import h from 'clsx';
4
4
  import { useRef, useEffect } from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
7
- var t=e(a(),1);function w({children:l,content:s,tooltipPos:p,width:o,additionalClasses:n,contentAdditionalClasses:b,hideToolTip:c=!1}){let a=useRef(),f=useRef(),i=()=>{if(f.current&&a.current){let r=f.current.getBoundingClientRect(),e=a.current.getBoundingClientRect();["top","right","bottom","left"].find(x=>{switch(x){case"top":return r.top>=e.height;case"right":return window.innerWidth-r.right>=e.width;case"bottom":return window.innerHeight-r.bottom>=e.height;case"left":return r.left>=e.width;default:return !1}});}};return useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i);}),[]),jsxs("div",{className:`group relative block w-fit ${n||""}`,ref:f,children:[l,jsx("div",{className:h(`absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${c?"":"group-hover:visible group-hover:opacity-100"} dark:bg-gray-700`,{top:"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center",right:"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left",bottom:"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center",left:"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left"}[p],b),ref:a,style:Number.isInteger(o)&&o>0?{width:`${o}px`}:{},children:s})]})}w.propTypes={children:t.default.node.isRequired,content:t.default.node.isRequired,tooltipPos:t.default.oneOf(["top","right","bottom","left"]).isRequired,width:t.default.number,additionalClasses:t.default.string,contentAdditionalClasses:t.default.string,hideToolTip:t.default.bool};
7
+ var t=e(a(),1);function w({children:l,content:s,tooltipPos:p,width:o,additionalClasses:n,contentAdditionalClasses:b,hideToolTip:c=!1}){let a=useRef(),f=useRef(),i=()=>{if(f.current&&a.current){let r=f.current.getBoundingClientRect(),e=a.current.getBoundingClientRect();["top","right","bottom","left"].find(x=>{switch(x){case"top":return r.top>=e.height;case"right":return window.innerWidth-r.right>=e.width;case"bottom":return window.innerHeight-r.bottom>=e.height;case"left":return r.left>=e.width;default:return !1}});}};return useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i);}),[]),jsxs("div",{className:`group relative block w-fit ${n||""}`,ref:f,children:[l,jsx("div",{className:h(`absolute z-20 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${c?"":"group-hover:visible group-hover:opacity-100"} dark:bg-gray-700`,{top:"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center",right:"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left",bottom:"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center",left:"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left"}[p],b),ref:a,style:Number.isInteger(o)&&o>0?{width:`${o}px`}:{},children:s})]})}w.propTypes={children:t.default.node.isRequired,content:t.default.node.isRequired,tooltipPos:t.default.oneOf(["top","right","bottom","left"]).isRequired,width:t.default.number,additionalClasses:t.default.string,contentAdditionalClasses:t.default.string,hideToolTip:t.default.bool};
8
8
 
9
9
  export { w as a };
10
10
  //# sourceMappingURL=out.js.map
11
- //# sourceMappingURL=chunk-X2MJVQTW.js.map
11
+ //# sourceMappingURL=chunk-OPRNU4ER.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/tooltip/tooltip.tsx"],"names":["import_prop_types","clsx","useEffect","useRef","jsx","jsxs","ToolTip","children","content","tooltipPos","width","additionalClasses","contentAdditionalClasses","hideToolTip","tooltipRef","childRef","updateTooltipPosition","childRect","tooltipRect","newPosition","pos","PropTypes"],"mappings":"gFAGA,IAAAA,EAAsB,SAFtB,OAAOC,MAAU,OACjB,OAAS,aAAAC,EAAW,UAAAC,MAAc,QA0C9B,OAEE,OAAAC,EAFF,QAAAC,MAAA,oBAvCG,SAASC,EAAQ,CAAE,SAAAC,EAAU,QAAAC,EAAS,WAAAC,EAAY,MAAAC,EAAO,kBAAAC,EAC9D,yBAAAC,EAA0B,YAAAC,EAAc,EAAK,EAAG,CAChD,IAAMC,EAAaX,EAAO,EACpBY,EAAWZ,EAAO,EAElBa,EAAwB,IAAM,CAClC,GAAID,EAAS,SAAWD,EAAW,QAAS,CAC1C,IAAMG,EAAYF,EAAS,QAAQ,sBAAsB,EACnDG,EAAcJ,EAAW,QAAQ,sBAAsB,EAIvDK,EAHY,CAAC,MAAO,QAAS,SAAU,MAAM,EAGrB,KAAMC,GAAQ,CAC1C,OAAQA,EAAK,CACX,IAAK,MACH,OAAOH,EAAU,KAAOC,EAAY,OACtC,IAAK,QACH,OAAO,OAAO,WAAaD,EAAU,OAASC,EAAY,MAC5D,IAAK,SACH,OAAO,OAAO,YAAcD,EAAU,QAAUC,EAAY,OAC9D,IAAK,OACH,OAAOD,EAAU,MAAQC,EAAY,MACvC,QACE,MAAO,EACX,CACF,CAAC,EAEL,EAEA,OAAAhB,EAAU,KACRc,EAAsB,EACtB,OAAO,iBAAiB,SAAUA,CAAqB,EAEhD,IAAM,CACX,OAAO,oBAAoB,SAAUA,CAAqB,CAC5D,GACC,CAAC,CAAC,EAGHX,EAAC,OAAI,UAAW,8BAA8BM,GAAwC,KAAM,IAAKI,EAC9F,UAAAR,EACDH,EAAC,OACC,UAAWH,EACT,sKAAsKY,EAAc,GAAK,iEACzL,CACE,IAAK,yQACL,MACE,qQACF,OACE,uQACF,KAAM,sQACR,EAAEJ,CAAU,EAEZG,CACF,EACA,IAAKE,EACL,MAAO,OAAO,UAAUJ,CAAK,GAAKA,EAAQ,EAAK,CAAE,MAAO,GAAGA,KAAU,EAAI,CAAC,EAEzE,SAAAF,EACH,GACF,CAEJ,CAEAF,EAAQ,UAAY,CAElB,SAAU,EAAAe,QAAU,KAAK,WAEzB,QAAS,EAAAA,QAAU,KAAK,WAExB,WAAY,EAAAA,QAAU,MAAM,CAAC,MAAO,QAAS,SAAU,MAAM,CAAC,EAAE,WAEhE,MAAO,EAAAA,QAAU,OAEjB,kBAAmB,EAAAA,QAAU,OAE7B,yBAA0B,EAAAA,QAAU,OAEpC,YAAa,EAAAA,QAAU,IACzB","sourcesContent":["//@ts-nocheck\nimport clsx from \"clsx\";\nimport { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport function ToolTip({ children, content, tooltipPos, width, additionalClasses,\n contentAdditionalClasses, hideToolTip = false}) {\n const tooltipRef = useRef();\n const childRef = useRef();\n\n const updateTooltipPosition = () => {\n if (childRef.current && tooltipRef.current) {\n const childRect = childRef.current.getBoundingClientRect();\n const tooltipRect = tooltipRef.current.getBoundingClientRect();\n const positions = [\"top\", \"right\", \"bottom\", \"left\"];\n\n // Find a position where the tooltip fits\n const newPosition = positions.find((pos) => {\n switch (pos) {\n case \"top\":\n return childRect.top >= tooltipRect.height;\n case \"right\":\n return window.innerWidth - childRect.right >= tooltipRect.width;\n case \"bottom\":\n return window.innerHeight - childRect.bottom >= tooltipRect.height;\n case \"left\":\n return childRect.left >= tooltipRect.width;\n default:\n return false;\n }\n });\n }\n };\n\n useEffect(() => {\n updateTooltipPosition();\n window.addEventListener(\"resize\", updateTooltipPosition);\n\n return () => {\n window.removeEventListener(\"resize\", updateTooltipPosition);\n };\n }, []);\n\n return (\n <div className={`group relative block w-fit ${additionalClasses ? additionalClasses : ''}`} ref={childRef}>\n {children}\n <div\n className={clsx(\n `absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${hideToolTip ? '' : 'group-hover:visible group-hover:opacity-100'} dark:bg-gray-700`,\n {\n top: \"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center\",\n right:\n \"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left\",\n bottom:\n \"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center\",\n left: \"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left\",\n }[tooltipPos],\n // takes the tooltip Positon and adds the relevant classes to the tooltip box to adjust the position of the box to the child element.\n contentAdditionalClasses,\n )}\n ref={tooltipRef}\n style={Number.isInteger(width) && width > 0 ? { width: `${width}px` } : {}}\n >\n {content}\n </div>\n </div>\n );\n}\n\nToolTip.propTypes = {\n /** Target element of the tooltip */\n children: PropTypes.node.isRequired,\n /** Content to display in the tooltip */\n content: PropTypes.node.isRequired,\n /** String to determine the size of the badge. \"xs, sm\" */\n tooltipPos: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]).isRequired,\n /** width of tooltip in pixels. Otherwise w-fit is used. */\n width: PropTypes.number,\n /** Additional classes to add to div that surrounds children */\n additionalClasses: PropTypes.string,\n /** Additional classes to add to content div */\n contentAdditionalClasses: PropTypes.string,\n //** Stops tool tip being displayed on hover */\n hideToolTip: PropTypes.bool,\n};\n"]}
1
+ {"version":3,"sources":["../src/tooltip/tooltip.tsx"],"names":["import_prop_types","clsx","useEffect","useRef","jsx","jsxs","ToolTip","children","content","tooltipPos","width","additionalClasses","contentAdditionalClasses","hideToolTip","tooltipRef","childRef","updateTooltipPosition","childRect","tooltipRect","newPosition","pos","PropTypes"],"mappings":"gFAGA,IAAAA,EAAsB,SAFtB,OAAOC,MAAU,OACjB,OAAS,aAAAC,EAAW,UAAAC,MAAc,QA0C9B,OAEE,OAAAC,EAFF,QAAAC,MAAA,oBAvCG,SAASC,EAAQ,CAAE,SAAAC,EAAU,QAAAC,EAAS,WAAAC,EAAY,MAAAC,EAAO,kBAAAC,EAC9D,yBAAAC,EAA0B,YAAAC,EAAc,EAAK,EAAG,CAChD,IAAMC,EAAaX,EAAO,EACpBY,EAAWZ,EAAO,EAElBa,EAAwB,IAAM,CAClC,GAAID,EAAS,SAAWD,EAAW,QAAS,CAC1C,IAAMG,EAAYF,EAAS,QAAQ,sBAAsB,EACnDG,EAAcJ,EAAW,QAAQ,sBAAsB,EAIvDK,EAHY,CAAC,MAAO,QAAS,SAAU,MAAM,EAGrB,KAAMC,GAAQ,CAC1C,OAAQA,EAAK,CACX,IAAK,MACH,OAAOH,EAAU,KAAOC,EAAY,OACtC,IAAK,QACH,OAAO,OAAO,WAAaD,EAAU,OAASC,EAAY,MAC5D,IAAK,SACH,OAAO,OAAO,YAAcD,EAAU,QAAUC,EAAY,OAC9D,IAAK,OACH,OAAOD,EAAU,MAAQC,EAAY,MACvC,QACE,MAAO,EACX,CACF,CAAC,EAEL,EAEA,OAAAhB,EAAU,KACRc,EAAsB,EACtB,OAAO,iBAAiB,SAAUA,CAAqB,EAEhD,IAAM,CACX,OAAO,oBAAoB,SAAUA,CAAqB,CAC5D,GACC,CAAC,CAAC,EAGHX,EAAC,OAAI,UAAW,8BAA8BM,GAAwC,KAAM,IAAKI,EAC9F,UAAAR,EACDH,EAAC,OACC,UAAWH,EACT,sKAAsKY,EAAc,GAAK,iEACzL,CACE,IAAK,yQACL,MACE,qQACF,OACE,uQACF,KAAM,sQACR,EAAEJ,CAAU,EAEZG,CACF,EACA,IAAKE,EACL,MAAO,OAAO,UAAUJ,CAAK,GAAKA,EAAQ,EAAK,CAAE,MAAO,GAAGA,KAAU,EAAI,CAAC,EAEzE,SAAAF,EACH,GACF,CAEJ,CAEAF,EAAQ,UAAY,CAElB,SAAU,EAAAe,QAAU,KAAK,WAEzB,QAAS,EAAAA,QAAU,KAAK,WAExB,WAAY,EAAAA,QAAU,MAAM,CAAC,MAAO,QAAS,SAAU,MAAM,CAAC,EAAE,WAEhE,MAAO,EAAAA,QAAU,OAEjB,kBAAmB,EAAAA,QAAU,OAE7B,yBAA0B,EAAAA,QAAU,OAEpC,YAAa,EAAAA,QAAU,IACzB","sourcesContent":["//@ts-nocheck\nimport clsx from \"clsx\";\nimport { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport function ToolTip({ children, content, tooltipPos, width, additionalClasses,\n contentAdditionalClasses, hideToolTip = false}) {\n const tooltipRef = useRef();\n const childRef = useRef();\n\n const updateTooltipPosition = () => {\n if (childRef.current && tooltipRef.current) {\n const childRect = childRef.current.getBoundingClientRect();\n const tooltipRect = tooltipRef.current.getBoundingClientRect();\n const positions = [\"top\", \"right\", \"bottom\", \"left\"];\n\n // Find a position where the tooltip fits\n const newPosition = positions.find((pos) => {\n switch (pos) {\n case \"top\":\n return childRect.top >= tooltipRect.height;\n case \"right\":\n return window.innerWidth - childRect.right >= tooltipRect.width;\n case \"bottom\":\n return window.innerHeight - childRect.bottom >= tooltipRect.height;\n case \"left\":\n return childRect.left >= tooltipRect.width;\n default:\n return false;\n }\n });\n }\n };\n\n useEffect(() => {\n updateTooltipPosition();\n window.addEventListener(\"resize\", updateTooltipPosition);\n\n return () => {\n window.removeEventListener(\"resize\", updateTooltipPosition);\n };\n }, []);\n\n return (\n <div className={`group relative block w-fit ${additionalClasses ? additionalClasses : ''}`} ref={childRef}>\n {children}\n <div\n className={clsx(\n `absolute z-20 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${hideToolTip ? '' : 'group-hover:visible group-hover:opacity-100'} dark:bg-gray-700`,\n {\n top: \"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center\",\n right:\n \"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left\",\n bottom:\n \"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center\",\n left: \"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left\",\n }[tooltipPos],\n // takes the tooltip Positon and adds the relevant classes to the tooltip box to adjust the position of the box to the child element.\n contentAdditionalClasses,\n )}\n ref={tooltipRef}\n style={Number.isInteger(width) && width > 0 ? { width: `${width}px` } : {}}\n >\n {content}\n </div>\n </div>\n );\n}\n\nToolTip.propTypes = {\n /** Target element of the tooltip */\n children: PropTypes.node.isRequired,\n /** Content to display in the tooltip */\n content: PropTypes.node.isRequired,\n /** String to determine the size of the badge. \"xs, sm\" */\n tooltipPos: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]).isRequired,\n /** width of tooltip in pixels. Otherwise w-fit is used. */\n width: PropTypes.number,\n /** Additional classes to add to div that surrounds children */\n additionalClasses: PropTypes.string,\n /** Additional classes to add to content div */\n contentAdditionalClasses: PropTypes.string,\n //** Stops tool tip being displayed on hover */\n hideToolTip: PropTypes.bool,\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { a } from './chunk-X2MJVQTW.js';
1
+ import { a } from './chunk-OPRNU4ER.js';
2
2
  import { LuPinOff, LuPin } from 'react-icons/lu';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -6,4 +6,4 @@ function b({featureCode:t,pinnedFeatures:o,isLoading:c,handleClick:r}){let e=(o|
6
6
 
7
7
  export { b as a };
8
8
  //# sourceMappingURL=out.js.map
9
- //# sourceMappingURL=chunk-NNY7FGHZ.js.map
9
+ //# sourceMappingURL=chunk-V52WKDZL.js.map
@@ -1,5 +1,5 @@
1
1
  export { g as CountryPicker } from '../chunk-7V5FAXED.js';
2
- import '../chunk-6ZISXIJK.js';
2
+ import '../chunk-NF5KDPMG.js';
3
3
  import '../chunk-YZ2YZSNQ.js';
4
4
  import '../chunk-GVNUAH45.js';
5
5
  import '../chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
37
37
  import '../chunk-IV62JMW4.js';
38
38
  import '../chunk-AVTJXS4U.js';
39
39
  import '../chunk-SFEJDNIA.js';
40
- import '../chunk-NNY7FGHZ.js';
41
- import '../chunk-X2MJVQTW.js';
40
+ import '../chunk-V52WKDZL.js';
41
+ import '../chunk-OPRNU4ER.js';
42
42
  import '../chunk-LMMFRNNG.js';
43
43
  import '../chunk-R3QJRZTP.js';
44
44
  import '../chunk-Z44LYPKH.js';
@@ -1,5 +1,5 @@
1
1
  export { c as DragAndDrop } from './chunk-7V5FAXED.js';
2
- import './chunk-6ZISXIJK.js';
2
+ import './chunk-NF5KDPMG.js';
3
3
  import './chunk-YZ2YZSNQ.js';
4
4
  import './chunk-GVNUAH45.js';
5
5
  import './chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
37
37
  import './chunk-IV62JMW4.js';
38
38
  import './chunk-AVTJXS4U.js';
39
39
  import './chunk-SFEJDNIA.js';
40
- import './chunk-NNY7FGHZ.js';
41
- import './chunk-X2MJVQTW.js';
40
+ import './chunk-V52WKDZL.js';
41
+ import './chunk-OPRNU4ER.js';
42
42
  import './chunk-LMMFRNNG.js';
43
43
  import './chunk-R3QJRZTP.js';
44
44
  import './chunk-Z44LYPKH.js';
@@ -1,5 +1,5 @@
1
1
  export { d as FilePicker } from '../chunk-7V5FAXED.js';
2
- import '../chunk-6ZISXIJK.js';
2
+ import '../chunk-NF5KDPMG.js';
3
3
  import '../chunk-YZ2YZSNQ.js';
4
4
  import '../chunk-GVNUAH45.js';
5
5
  import '../chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
37
37
  import '../chunk-IV62JMW4.js';
38
38
  import '../chunk-AVTJXS4U.js';
39
39
  import '../chunk-SFEJDNIA.js';
40
- import '../chunk-NNY7FGHZ.js';
41
- import '../chunk-X2MJVQTW.js';
40
+ import '../chunk-V52WKDZL.js';
41
+ import '../chunk-OPRNU4ER.js';
42
42
  import '../chunk-LMMFRNNG.js';
43
43
  import '../chunk-R3QJRZTP.js';
44
44
  import '../chunk-Z44LYPKH.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { h as CardPaymentBlock, g as CountryPicker, c as DragAndDrop, d as FilePicker, b as Layout, f as ProductPicker, a as StackedListItem, e as TableResultBlock } from './chunk-7V5FAXED.js';
2
- export { a as TableHeader } from './chunk-6ZISXIJK.js';
2
+ export { a as TableHeader } from './chunk-NF5KDPMG.js';
3
3
  export { b as ToastProvider, c as useToast } from './chunk-YZ2YZSNQ.js';
4
4
  export { a as NBUI_Footer } from './chunk-GVNUAH45.js';
5
5
  export { a as NBUI_Page_Layout } from './chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ export { a as MiniFeatureBlock } from './chunk-MKSPEQBS.js';
37
37
  export { a as Modal } from './chunk-IV62JMW4.js';
38
38
  export { a as NoResultsBlock } from './chunk-AVTJXS4U.js';
39
39
  export { a as PageHeader } from './chunk-SFEJDNIA.js';
40
- export { a as PinFeatureButton } from './chunk-NNY7FGHZ.js';
41
- export { a as ToolTip } from './chunk-X2MJVQTW.js';
40
+ export { a as PinFeatureButton } from './chunk-V52WKDZL.js';
41
+ export { a as ToolTip } from './chunk-OPRNU4ER.js';
42
42
  export { a as ProgressBar } from './chunk-LMMFRNNG.js';
43
43
  export { a as Radio } from './chunk-R3QJRZTP.js';
44
44
  export { a as ImageThumbnail } from './chunk-Z44LYPKH.js';
@@ -1,5 +1,5 @@
1
1
  export { b as Layout } from '../chunk-7V5FAXED.js';
2
- import '../chunk-6ZISXIJK.js';
2
+ import '../chunk-NF5KDPMG.js';
3
3
  import '../chunk-YZ2YZSNQ.js';
4
4
  import '../chunk-GVNUAH45.js';
5
5
  import '../chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
37
37
  import '../chunk-IV62JMW4.js';
38
38
  import '../chunk-AVTJXS4U.js';
39
39
  import '../chunk-SFEJDNIA.js';
40
- import '../chunk-NNY7FGHZ.js';
41
- import '../chunk-X2MJVQTW.js';
40
+ import '../chunk-V52WKDZL.js';
41
+ import '../chunk-OPRNU4ER.js';
42
42
  import '../chunk-LMMFRNNG.js';
43
43
  import '../chunk-R3QJRZTP.js';
44
44
  import '../chunk-Z44LYPKH.js';
@@ -1,5 +1,5 @@
1
- export { a as PinFeatureButton } from './chunk-NNY7FGHZ.js';
2
- import './chunk-X2MJVQTW.js';
1
+ export { a as PinFeatureButton } from './chunk-V52WKDZL.js';
2
+ import './chunk-OPRNU4ER.js';
3
3
  import './chunk-6LHL364H.js';
4
4
  import './chunk-Z4LPO673.js';
5
5
  //# sourceMappingURL=out.js.map
@@ -1,5 +1,5 @@
1
1
  export { f as ProductPicker } from '../chunk-7V5FAXED.js';
2
- import '../chunk-6ZISXIJK.js';
2
+ import '../chunk-NF5KDPMG.js';
3
3
  import '../chunk-YZ2YZSNQ.js';
4
4
  import '../chunk-GVNUAH45.js';
5
5
  import '../chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
37
37
  import '../chunk-IV62JMW4.js';
38
38
  import '../chunk-AVTJXS4U.js';
39
39
  import '../chunk-SFEJDNIA.js';
40
- import '../chunk-NNY7FGHZ.js';
41
- import '../chunk-X2MJVQTW.js';
40
+ import '../chunk-V52WKDZL.js';
41
+ import '../chunk-OPRNU4ER.js';
42
42
  import '../chunk-LMMFRNNG.js';
43
43
  import '../chunk-R3QJRZTP.js';
44
44
  import '../chunk-Z44LYPKH.js';
@@ -1,5 +1,5 @@
1
1
  export { a as StackedListItem } from './chunk-7V5FAXED.js';
2
- import './chunk-6ZISXIJK.js';
2
+ import './chunk-NF5KDPMG.js';
3
3
  import './chunk-YZ2YZSNQ.js';
4
4
  import './chunk-GVNUAH45.js';
5
5
  import './chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
37
37
  import './chunk-IV62JMW4.js';
38
38
  import './chunk-AVTJXS4U.js';
39
39
  import './chunk-SFEJDNIA.js';
40
- import './chunk-NNY7FGHZ.js';
41
- import './chunk-X2MJVQTW.js';
40
+ import './chunk-V52WKDZL.js';
41
+ import './chunk-OPRNU4ER.js';
42
42
  import './chunk-LMMFRNNG.js';
43
43
  import './chunk-R3QJRZTP.js';
44
44
  import './chunk-Z44LYPKH.js';
@@ -1,5 +1,5 @@
1
- export { a as TableHeader } from '../chunk-6ZISXIJK.js';
2
- import '../chunk-X2MJVQTW.js';
1
+ export { a as TableHeader } from '../chunk-NF5KDPMG.js';
2
+ import '../chunk-OPRNU4ER.js';
3
3
  import '../chunk-ANU7OAPA.js';
4
4
  import '../chunk-TJMI4DH2.js';
5
5
  import '../chunk-6LHL364H.js';
@@ -1,5 +1,5 @@
1
1
  export { e as TableResultBlock } from './chunk-7V5FAXED.js';
2
- import './chunk-6ZISXIJK.js';
2
+ import './chunk-NF5KDPMG.js';
3
3
  import './chunk-YZ2YZSNQ.js';
4
4
  import './chunk-GVNUAH45.js';
5
5
  import './chunk-JAR3LP2K.js';
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
37
37
  import './chunk-IV62JMW4.js';
38
38
  import './chunk-AVTJXS4U.js';
39
39
  import './chunk-SFEJDNIA.js';
40
- import './chunk-NNY7FGHZ.js';
41
- import './chunk-X2MJVQTW.js';
40
+ import './chunk-V52WKDZL.js';
41
+ import './chunk-OPRNU4ER.js';
42
42
  import './chunk-LMMFRNNG.js';
43
43
  import './chunk-R3QJRZTP.js';
44
44
  import './chunk-Z44LYPKH.js';
@@ -1,4 +1,4 @@
1
- export { a as ToolTip } from '../chunk-X2MJVQTW.js';
1
+ export { a as ToolTip } from '../chunk-OPRNU4ER.js';
2
2
  import '../chunk-6LHL364H.js';
3
3
  import '../chunk-Z4LPO673.js';
4
4
  //# sourceMappingURL=out.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ekm-ui",
3
- "version": "0.4.68",
3
+ "version": "0.4.69",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
@@ -46,7 +46,7 @@ export function ToolTip({ children, content, tooltipPos, width, additionalClasse
46
46
  {children}
47
47
  <div
48
48
  className={clsx(
49
- `absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${hideToolTip ? '' : 'group-hover:visible group-hover:opacity-100'} dark:bg-gray-700`,
49
+ `absolute z-20 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${hideToolTip ? '' : 'group-hover:visible group-hover:opacity-100'} dark:bg-gray-700`,
50
50
  {
51
51
  top: "bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center",
52
52
  right: